Fandom

Rawbots Wiki

Speaker

46pages on
this wiki
Add New Page
Comments0 Share
Speaker
Speaker
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

UsageEdit

Example of a valid sample: http://cd.textfiles.com/10000soundssongs/WAV/ALARM.WAV

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.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.