Play Sound: Difference between revisions

Jump to navigation Jump to search
m ({{EventNavBox}})
 
Line 60: Line 60:
== Trivia ==
== Trivia ==


{{Navbox
{{EventNavBox}}
| name  = Template:EventNavBox
| title = Events
| listclass = hlist
 
| group1 = Sound Tab
| list1  = {{Navbox|child
  | list1 =
* [[Play Song]]
* [[Set Crotchets Per Bar]]
* [[Play Sound]]
* [[Set Beats Per Minute]]
* [[Set Clap Sounds]]
* [[Set Heart Explode Volume]]
* [[Set Heart Explosion Interval]]
* [[Say Ready, Get, Set, Go!]]
* [[Set Game Sound]]
* [[Set Beat Sound]]
* [[Set Counting Sound]]
* [[Comment]]
}}
| group2 = Gameplay Tab
| list2  = {{Navbox|child
  | list1 =
* [[Add Classic Beat]]
* [[Set Beat Modifiers]]
* [[Add Freetime Beat]]
* [[Pulse Freetime Beat]]
* [[Add Oneshot Beat]]
* [[Set Oneshot Wave]]
}}
| group3 = VFX Tab
| list3  = {{Navbox|child
  | list1 =
* [[Set Theme]]
* [[Set VFX Preset]]
* [[Set Background]]
* [[Set Foreground]]
* [[Set Speed]]
* [[Flash]]
* [[Custom Flash]]
* [[Move Camera]]
* [[Hide Row]]
* [[Move Row]]
* [[Play Expression (Row)]]
* [[Paint Rows]]
* [[Bass Drop]]
* [[Shake Screen]]
* [[Flip Screen]]
* [[Invert Colors]]
* [[Pulse Camera]]
* [[Text Explosion]]
* [[Show Dialogue]]
* [[Show Status Sign]]
* [[Floating Text]]
* [[Change Players' Rows]]
* [[Finish Level]]
* [[Comment]]
* [[Stutter]]
* [[Show Hands]]
* [[Paint Hands]]
* [[Assign Hands]]
* [[Set Playstyle]]
* [[Tag Action]]
* [[Call Custom Method]]
* [[Window Dance (Event)]]
}}
| group4 = Decoration Tab
| list4  = {{Navbox|child
  | list1 =
* [[Move Sprite]]
* [[Paint Sprite]]
* [[Play Expression (Sprite)]]
* [[Show/Hide]]
* [[Comment]]
}}
| group5 = Rooms Tab
| list5  = {{Navbox|child
  | list1 =
* [[Show Rooms Horizontally]]
* [[Move Room]]
* [[Reorder Rooms]]
* [[Mask Room]]
* [[Fade Room]]
* [[Set Rooms Perspective]]
* [[Comment]]
}}
}}

Latest revision as of 06:07, 24 October 2024

Play Sound
Screenshot of the Event Icon Play Sound
TabSounds
TypePlaySound
Originr1
ShortcutS


Play Sound is an event in the Sounds tab that plays a sound.

Usage

Properties
Setting Type Description
Sound Dropdown (Enum) Sound to play. If "Custom," the Sound name text box appears.
Sound name Text Box (String) Filename of the sound. Allows internal filenames. Only appears if "Sound" is "Custom."
Sound settings Popup Settings of the sound. Includes volume, pitch, pan, and offset.
Sound type Dropdown (Enum) Type of sound. Can be a Cue, Music, Beat, Hit, or Other sound.

Sound settings

Setting Type Description
Volume Slider with Text Box (Number) Volume of the sound. Ranges from 0% to 300%.
Pitch Slider with Text Box (Number) Pitch of the sound. Ranges from 0% to 300%.
Pan Slider with Text Box (Number) Panning of the sound. Ranges from -100% to 100%.

Surgery

{ "bar": X, "y": X, "type": "PlaySound", "sound": {"filename": "OttoActivate", "volume": 0, "pitch": 0, "pan": 0}, "customSoundType": "CueSound" }

filename (string | enum)
Sound filename or enum name. Allows internal filenames.

volume (integer) (optional)
Goes from 0 to 300.

pitch (integer) (optional)
Goes from 0 to 300.

pan (integer) (optional)
Goes from -100 to 100.

customSoundType (enum)
Type of sound. Can be "CueSound", "MusicSound", "BeatSound", "HitSound", or "OtherSound".

History

Trivia