![]() |
When playback is interrupted or transitions to a new component, notes are normally cancelled by an invalidation. Similarly, if playback of the segment containing a segment is interrupted while the wave is playing, or transitions to another segment before the wave ends, playback of the wave is halted abruptly.
DirectMusic Producer provides settings in many components so you can control whether a note or wave is cut off abruptly, or is allowed to complete its full duration.
For example, in a transition from one segment to another, if the first segment contains a long note, the note is normally cut off if the transition occurs during the note. Choosing the Don't Cut Off option for the note lets the note play its full value, even though the transition to the next segment has already begun.
When a segment plays to its end, any waves that extend beyond the end of the segment are allowed to finish. For example, if a wave that is 30 seconds in length is inserted at the beginning of a segment that ends after only 10 seconds, the wave will normally continue to play 20 seconds beyond the end of the segment. However, if playback of the segment is interrupted, or there is a transition to another segment, playback of the wave is halted abruptly. You can use the Don't Cut Off option to prevent this from happening.
An option for Don't Cut Off appears in the following places:
If a note or wave is not cut off while it has controller curves affecting it, the controller curve can continue to be in effect depending on settings you choose in the Reset tab for the curve. See Reset Curves.