randomize Sound

Make a new sound similar to the original one but with some variations.

500005002550randomize
JavaScript
function music.randomizeSound(sound: music.SoundEffect): music.SoundEffect;
Python
def music.randomize_sound(sound: SoundEffect): music.SoundEffect

The resulting sound effect will randomize some of the parameters of the original sound effect to create differences from the original sound.

Parameters

Returns

  • a new sound-effect with some differences from the oringal sound.

Example

Randomize and play a sine wave sound effect.

500002550500randomizeplayuntil doneon start

See also

play, create sound effect