instantreality 1.0

SoundCapture

supported on WIN32LinuxDarwin

Captures 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="SoundCapture" NumBuffers='4'
Channels='1'
BufferSize='250'
Bits='8'
Samplerate='22050'
Device='0'
 />
Classic encoding
IOSensor {
	type "SoundCapture"
	NumBuffers "4"
	Channels "1"
	BufferSize "250"
	Bits "8"
	Samplerate "22050"
	Device "0"
}

Interface

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