Simulation Instruments

Home›All functions›Sound

Sound

Simulation Instrument Studio 1

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()
Photo slot: shots/sound_add.png

sound_play

Simulation Instrument Studio 1

Definition

sound_play(sound_id)

Remarks

Play a sound once.

Parameters

NameDescription
sound_idId returned by the call that created the object.

Example

No sample instrument calls this yet.

sound_play(sound_id)
Photo slot: shots/sound_play.png

sound_loop

Simulation Instrument Studio 1

Definition

sound_loop(sound_id)

Remarks

Play a sound forever.

Parameters

NameDescription
sound_idId returned by the call that created the object.

Example

No sample instrument calls this yet.

sound_loop(sound_id)
Photo slot: shots/sound_loop.png

sound_volume

Simulation Instrument Studio 1

Definition

sound_volume(sound_id)

Remarks

Change volume of a sound.

Parameters

NameDescription
sound_idId returned by the call that created the object.

Example

No sample instrument calls this yet.

sound_volume(sound_id)
Photo slot: shots/sound_volume.png

sound_stop

Simulation Instrument Studio 1

Definition

sound_stop(sound_id)

Remarks

Stop playing a sound.

Parameters

NameDescription
sound_idId returned by the call that created the object.

Example

No sample instrument calls this yet.

sound_stop(sound_id)
Photo slot: shots/sound_stop.png