MusicRest
Details
- MusicRest represents a single musical rest whose defining property is its duration.
- MusicRest represents a musical rest (silence) whose defining property is its duration.
- The duration d can be specified using:
-
duration a MusicDuration object namedDuration a string representing a named duration (e.g. "Eighth") dur a number representing a fraction of a whole note beats a "Beats" Quantity - For a music rest object obj, the following properties can be obtained using obj["prop"]:
-
"Duration" note duration as MusicDuration - The association properties can contain the following keys:
-
"Duration" note duration - For a music note object obj, any of the above properties can be obtained using obj["prop"]. Use obj["PropertyAssociation"] to retrieve the values of all available properties.
Examples
open all close allBasic Examples (3)
Construct the music rest with a specified duration:
MusicRest[1 / 2]Construct the music rest with properties specified in an Association:
MusicRest[<|"Duration" -> "Eighth"|>]Construct the music rest with default properties inherited from another MusicRest:
m = MusicRest[1 / 2]MusicRest[m, <||>]Scope (2)
List and retrieve all available properties:
MusicRest[1 / 4]["Properties"]MusicRest[1 / 4]["PropertyAssociation"]Construct the music rest from MusicDuration:
MusicRest[MusicDuration[1 / 4]]Properties & Relations (2)
A MusicRest object is returned by MusicNote if no pitch is specified:
MusicNote[None]An empty MusicMeasure is automatically populated with a MusicRest of appropriate duration:
MusicMeasure[MusicTimeSignature[3, 4]]["NoteList"]Related Guides
History
Text
Wolfram Research (2026), MusicRest, Wolfram Language function, https://reference.wolfram.com/language/ref/MusicRest.html.
CMS
Wolfram Language. 2026. "MusicRest." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/MusicRest.html.
APA
Wolfram Language. (2026). MusicRest. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/MusicRest.html
BibTeX
@misc{reference.wolfram_2026_musicrest, author="Wolfram Research", title="{MusicRest}", year="2026", howpublished="\url{https://reference.wolfram.com/language/ref/MusicRest.html}", note=[Accessed: 12-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_musicrest, organization={Wolfram Research}, title={MusicRest}, year={2026}, url={https://reference.wolfram.com/language/ref/MusicRest.html}, note=[Accessed: 12-June-2026]}