full path and file name, e.g. C:\mysounds\sound.mp3
true on success
Adds a sound to the sound list.
full path and file name, e.g. C:\mysounds\sound.mp3
Optional
index: numberThe index to add the sound to in the default category.
true on success
Adds a sound to the sound list.
full path and file name, e.g. C:\mysounds\sound.mp3
The category to add the sound to.
The index to add the sound to.
true on success
Get a category identified by its index. Use getCategories to get the index.
includes all sound entries associated to that category
base64 encoded PNG
xml formatted category list
Get a category identified by its index. Use getCategoriesJSON to get the index.
includes all sound entries of each category into the response
base64 encoded PNGs
category list
Protected
openLet Soundpad play a random sound from a particular category.
set to -1 to play a random sound from the currently selected category or use #getCategories(boolean, boolean) to find the index of a category.
set to true to play on speakers so you hear it.
set to true to play on microphone so others hear it.
true on success
Play a sound by index.
Get the index by calling getSoundlist first.
true on success
Play a sound by index.
Get the index by calling getSoundlist first.
set to true to play on speakers so you hear it.
set to true to play on microphone so others hear it.
true on success
Let Soundpad play a sound from a particular category.
set to -1 to play a sound from the currently selected category or use getCategories to find the index of a category.
it's not the index as used in playSound, but the position in the category, e.g. 5 = 5th sound in the category.
set to true to play on speakers so you hear it.
set to true to play on microphone so others hear it.
true on success
Remove a category identified by its index. Use getCategories to get the index.
The index of the category to be removed.
true on success
Select the category identified by its index. Use getCategories to get the index.
The index of the category to be selected.
true on success
Start recording of the microphone. Method might fail if the speakers are currently being recorded. This call is handled the same way as if a recording is started by hotkeys, which means a notification sound is played. This is the default behavior, but the notification sound can be turned off in Soundpad.
true if recording was started or was already running
Start recording of the speakers. Method might fail if the microphone is currently being recorded. This call is handled the same way as if a recording is started by hotkeys, which means a notification sound is played. This is the default behavior, but the notification sound can be turned off in Soundpad.
true if recording was started or was already running
The status to wait for (default: STOPPED)
The interval to poll the status (default: 100ms)
A promise that resolves when the status is reached
Adds a sound to the sound list.