Connections 1
Mass 1
Dimensions 1x1x0.5
Restitution 0.5
Friction 1

(Inherits from bot part)

Used to play sound samples.

(May also be used to play text-to-speech samples and microphone intputs in future versions)

Input/Output Description Data Type
>source Sample URL string
>format Supports .wav and .ogg only atm enumeration
>volume 0-1 decimal
>play Numeric true or false (-1 = loop) decimal


Example of a valid sample:

The >format needs to match the file's format, otherwhise it wont be handled correctly.

Samples can be played only once, on each false to true change of >play, or in a loop, by setting it to -1.