Notify Sound
v1.0.0Design 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.
| Parameter | Type | Description |
|---|---|---|
layers * | array | Layers play together, each from its own Start after. Leave out any field at its default. Up to 16 layers. |
duration | number | Note 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. |
effect | object | One effect over the whole sound. |
name | string | Name. 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.
| Parameter | Type | Description |
|---|---|---|
link * | string | A 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.
| Parameter | Type | Description |
|---|---|---|
group | string | Only this group, with each sound described. |
query | string | Search 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.
| Parameter | Type | Description |
|---|---|---|
name * | string | Sound name, e.g. "Tri-Tone". |
group | string | Group 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.