HydrogenAudio

Hydrogenaudio Forum => General Audio => Topic started by: RevMarzikins on 2008-03-05 03:53:59

Title: How do I stop Timidity from adding extra seconds to WAV outputs?
Post by: RevMarzikins on 2008-03-05 03:53:59
I'm using the Windows version of Timidity++, right, and I've noticed lately that it insists on including the fading/reverbing out of the last instrument in the WAVE file I'm trying to make, thus adding some extra seconds to the end.  I feel this doesn't go well with MIDI files that were designed mainly to loop around.

I've tried possibly every command line option and GUI option known to man, but to no overall avail.  I don't know if it's to do with the soundfont or the patches I use, but then Winamp seems to correctly end the MIDI file abruptly like I want Timidity to do.  I tried SynthFont and that appears to only reduce the fadeout slightly, rather than get rid of it altogether.


Is there a special version of Timidity I need to be using?  I was trying the TWSynth build from Sourceforge.jp.


I appreciate everyone's efforts, cheers.
Title: How do I stop Timidity from adding extra seconds to WAV outputs?
Post by: RevMarzikins on 2008-03-09 15:58:10
Something tells me that this is an impossible mission - am I right? =P
Title: How do I stop Timidity from adding extra seconds to WAV outputs?
Post by: Bourne on 2008-03-09 16:18:40
-
Title: How do I stop Timidity from adding extra seconds to WAV outputs?
Post by: RevMarzikins on 2008-05-05 03:53:36
????
Title: How do I stop Timidity from adding extra seconds to WAV outputs?
Post by: j7n on 2008-05-05 04:15:17
You will have to "cross-mix" any digital audio loops, wouldn't you? Music players indeed close the MIDI device as soon as the last event has been sent, and it sounds like crap if the arranger hasn't put silence at the end.

I've never used Timidity, but perhaps you can put allNotesOff (ctrl 123) and allSoundOff (ctrl 120) in the end of your files and maybe will instruct Timidity to cut the file.
Title: How do I stop Timidity from adding extra seconds to WAV outputs?
Post by: RevMarzikins on 2008-05-05 17:03:51
Is there any chance you could give me a dummy's guide on how to "cross-mix" and/or use allNotesOff/allSoundOff etc please?  I'm not very experienced in MIDI in that manner. =[
Title: How do I stop Timidity from adding extra seconds to WAV outputs?
Post by: j7n on 2008-05-05 18:17:24
I meant that the reverb trail is essential and shouldn't be cut off. Perhaps the reason why regular players don't allow the last note to decay correctly is that they have no clue about what's being output by the synthesizer at any given moment. Peter Pawlowski's Winamp plugin can be configured to wait a fixed amount of seconds.

After you render your file using Timidity it's digital audio now and has nothing to do with MIDI.

AllNotesOff is an example of MIDI controller messages (http://en.wikipedia.org/wiki/MIDI_controller#MIDI_controllers_in_the_data_stream). They are used to change the volume and panning of each channel, control the reverb amount, and similar. The way you record and edit MIDI messages differs from one software product to another. It's no point in explaining how do I do it in Cakewalk.