Notify Sound

v1.0.0
io.github.botmonster/notify-sound Checked 3 days ago Published 1 month ago

Design notification sounds from layered tones and get an editor link to play and download.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

create_sound Create a sound

Build a notification sound from your own layer design and get an editor link for it. The link opens the sound in the editor, where the user plays, tweaks and downloads it. Returns the link, the stored sound and warnings for any value that was out of range, rounded or ignored. Read get_sound_guide first.

ParameterTypeDescription
layers *arrayLayers play together, each from its own Start after. Leave out any field at its default. Up to 16 layers.
durationnumberNote length. How long each note is held, shared by every layer and every repeat. Unit: s. Range 0.003 to 5, step 0.001, default 0.1.
effectobjectOne effect over the whole sound.
namestringName. Sound name, up to 32 characters.

read_sound Read a share link

Turn a share link (or the code after #s=) back into the sound design, to change it and call create_sound again.

ParameterTypeDescription
link *stringA share link, "#s=..." or the bare code.

list_library_sounds List built-in sounds

List the built-in sounds by group, or search them by name. Without arguments it lists every group with its sound names. Use a close built-in sound as a starting point.

ParameterTypeDescription
groupstringOnly this group, with each sound described.
querystringSearch sound names, e.g. "bell" or "coin".

get_library_sound Get a built-in sound

Get the full design of a built-in sound and its editor link, to use as a starting point for create_sound.

ParameterTypeDescription
name *stringSound name, e.g. "Tri-Tone".
groupstringGroup to look in, when a name is in more than one.

get_sound_guide Sound design guide

How sounds are built: layers, envelope, pitch, timing, noise, levels and effects, with example designs. Read it once before designing.