SoundPlay
supported on
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" NumBuffers='4' BufferSize='250' Bits='8' Channels='1' Device='0' Samplerate='22050' />
Classic encoding
IOSensor {
type "SoundPlay"
NumBuffers "4"
BufferSize "250"
Bits "8"
Channels "1"
Device "0"
Samplerate "22050"
}
Interface
Filter: X3D only | Avalon only | All
| id | Name | DataType | PartType | Default | ValueType | Description |
|---|---|---|---|---|---|---|
| Device | SFString | initializeOnly | 0 | A number starting at 0 specifying the device the SoundCapture Node should operate. | ||
| Samplerate | SFString | initializeOnly | 22050 | |||
| Bits | SFString | initializeOnly | 8 | |||
| Channels | SFString | initializeOnly | 1 | |||
| BufferSize | SFString | initializeOnly | 250 | |||
| NumBuffers | SFString | initializeOnly | 4 |
