SoundVolume

SoundVolume

is an option to Sound and SoundNote and related functions that specifies the relative volume of the sound produced.

Details

  • SoundVolume->v specifies that a sound should be rendered at a fraction v of its default volume.
  • SoundVolume specifications in nested Sound objects are multiplied.
  • SoundVolume in the outermost sound construct refers to sound volume relative to the default volume level on your computer system.
  • Effective SoundVolume values larger than 1 may lead to distorted sounds.

Examples

open allclose all

Basic Examples  (1)

Play two notes, at 1/4 volume and full volume:

Scope  (3)

SoundVolume works with any instrument:

SoundVolume works with percussion:

Nested uses of SoundVolume are multiplied:

Applications  (1)

Play a sequence of progressively louder notes:

Wolfram Research (2007), SoundVolume, Wolfram Language function, https://reference.wolfram.com/language/ref/SoundVolume.html.

Text

Wolfram Research (2007), SoundVolume, Wolfram Language function, https://reference.wolfram.com/language/ref/SoundVolume.html.

CMS

Wolfram Language. 2007. "SoundVolume." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/SoundVolume.html.

APA

Wolfram Language. (2007). SoundVolume. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/SoundVolume.html

BibTeX

@misc{reference.wolfram_2023_soundvolume, author="Wolfram Research", title="{SoundVolume}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/SoundVolume.html}", note=[Accessed: 28-March-2024 ]}

BibLaTeX

@online{reference.wolfram_2023_soundvolume, organization={Wolfram Research}, title={SoundVolume}, year={2007}, url={https://reference.wolfram.com/language/ref/SoundVolume.html}, note=[Accessed: 28-March-2024 ]}