MusicRest
MusicRest[]
MusicRest[duration]
MusicRest[properties]represents a period of musical silence. duration accepts the same forms as MusicDuration.
MusicRest[1/8]The defining property is "Duration":
rest = MusicRest[MusicDuration["Quarter"]];
rest["Duration"]Playback
Inside Sound, a rest advances the musical timeline without producing a note:
Sound[{
MusicNote["C4", 1/4],
MusicRest[1/4],
MusicNote["G4", 1/2]
}]Rests count toward the displayed event count and total duration, but do not create piano-roll rectangles.
See the Wolfram Language reference for the complete symbolic API.