Skip to content

stop()

Stop the sample playing.

Parameters

Once an object audiosample has been created, you can use the following functions:

audiosample.stop()
audiosample.stop(voice)

Parameter Type Default Description
voice int 0 Which voice to stop, from 0 to one less than the number of voices.