-
Notifications
You must be signed in to change notification settings - Fork 0
Sound module
syeyoung edited this page Jul 16, 2020
·
1 revision
Sound module contains blocks defined in sound tab. Not to be confused with music module
Sound module can be imported via
Require "Sound";
Sound::stopAll() : Stop all sounds
Sound::startPlay(name: Text) : start playing sound name.
Sound::addPitchEffect(effect: Text) : add to pitch effect
Sound::getVolume() : get Volume (Expression only)
Sound::playWait(name: Text) : start playing sound name and wait until play finishes
Sound::addPanEffect(effect: Text) : add to pan effect
Sound::setVolume(volume: Text) : set volume to volume
Sound::setPanEffect(effect: Text) : set pan effect
Sound::setPitchEffect(effect: Text) : set pitch effect
Sound::clearEffects() : clear all sound effects
Sound::addVolume(volume: Text) : add to volume
N/A