NoteWorthy Composer Forum

Forums => General Discussion => Topic started by: Mike Wiering on 2005-01-18 03:24 PM

Title: Adding a rest at the end of a midi file
Post by: Mike Wiering on 2005-01-18 03:24 PM
Hi, I don't know if this is meant to work like this, but whenever I add a rest at the end of a piece, it disappears when I export a midi file.

The reason I'ld like to be able to add a rest at the end is that many MIDI players suddenly stop all sound after playing the last note, so the notes don't fade out like they normally do.
Title: Re: Adding a rest at the end of a midi file
Post by: NoteWorthy Online on 2005-01-18 03:57 PM
A MIDI file contains performance data. A rest is actually the absence of any performance data. If you want to add some trailing time at the end of your MIDI performance, you have to add some kind of performable MIDI event. For example, you could add a Breath Control message using an MPC, and simply send a value of 0 for the controller. Unless the MIDI player is very smart and figures out that there is no reason to wait at the end of the piece (since there aren't any notes left playing), this should do the trick.
Title: Re: Adding a rest at the end of a midi file
Post by: NoteWorthy Online on 2005-01-18 03:59 PM
Here is an example. Simply add this to the end of one staff in your piece, and a whole note of time will be added to the end of the staff:

Code: [Select · Download]
!NoteWorthyComposerClip(2.0,Single)
|MPC|Controller:bc|Style:Absolute|TimeRes:Half|SweepRes:8|Pt1:0,0|Pt2:2,0|Pos:9|Wide:Y
!NoteWorthyComposerClip-End
Title: Re: Adding a rest at the end of a midi file
Post by: Norm on 2005-01-19 04:27 AM
I just add one measure of rest before the music starts, and one measure after the music ends.  Then I put a tempo indication after the last measure.