ApplesauceOS
Read Markdown ↗Download .md

playSound

Play a system sound.

js
playSound(soundId)

Arguments

ArgumentTypeMeaning
soundIdnumberSystem sound identifier; 1304 is used by playSystemAlarm.

Returns

No return value (undefined).

Example

js
playSound(1304);

All JavaScript APIs · Automation playbook