instantreality 1.0

SoundPlay

supported on WIN32LinuxDarwin

Plays sound samples.

Please check out the tutorial on input/output streams for further information on how to use devices. Due to technical reasons the input and output fields of a device can only be determined at runtime and therefore do not appear in this interface description. Use the "Web Interface Device Management" entry in the "Help" menu of a running InstantPlayer to determine available input and output fields of a device.

Inheritance

Code

XML encoding
<IOSensor type="SoundPlay" Device='0'
Samplerate='22050'
Bits='8'
Channels='1'
BufferSize='250'
NumBuffers='4'
 />
Classic encoding
IOSensor {
	type "SoundPlay"
	Device "0"
	Samplerate "22050"
	Bits "8"
	Channels "1"
	BufferSize "250"
	NumBuffers "4"
}

Interface

Filter: X3D only | Avalon only | All
id Name DataType PartType Default ValueType Description
SFString Bits SFString initializeOnly 8
SFString BufferSize SFString initializeOnly 250
SFString Channels SFString initializeOnly 1
SFString Device SFString initializeOnly 0 A number starting at 0 specifying the device the SoundPlay Node should operate.
SFString NumBuffers SFString initializeOnly 4
SFString Samplerate SFString initializeOnly 22050