sound_add
Simulation Instrument Studio 1
Definition
sound_id = sound_add(filename, volume)
Remarks
Loads a new sound (WAV only).
Example
No sample instrument calls this yet.
sound_add()

Home›All functions›Sound
Simulation Instrument Studio 1
Simulation Instrument Studio 1
sound_id = sound_add(filename, volume)
Loads a new sound (WAV only).
No sample instrument calls this yet.
sound_add()

Simulation Instrument Studio 1
sound_play(sound_id)
Play a sound once.
| Name | Description |
|---|---|
sound_id | Id returned by the call that created the object. |
No sample instrument calls this yet.
sound_play(sound_id)

Simulation Instrument Studio 1
sound_loop(sound_id)
Play a sound forever.
| Name | Description |
|---|---|
sound_id | Id returned by the call that created the object. |
No sample instrument calls this yet.
sound_loop(sound_id)

Simulation Instrument Studio 1
sound_volume(sound_id)
Change volume of a sound.
| Name | Description |
|---|---|
sound_id | Id returned by the call that created the object. |
No sample instrument calls this yet.
sound_volume(sound_id)

Simulation Instrument Studio 1
sound_stop(sound_id)
Stop playing a sound.
| Name | Description |
|---|---|
sound_id | Id returned by the call that created the object. |
No sample instrument calls this yet.
sound_stop(sound_id)
