Heilan X3D Browser

AudioInput

Type

ChildNode.

Description

Node allowing you to stream audio into a scene from a soundcard.

Attributes

channel SFInt32 (input) Which channel of the audio input to use (use the --enumerateSoundcards command line flag to determine which values are valid).

Example Use


<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE X3D>
<X3D profile="Full">
	<Scene>
		<Transform translation='-2 0 0'>
			<Shape>
				<Appearance>
					<Material diffuseColor='1 0 0'/>
				</Appearance>
				<Box/>
			</Shape>
			<AudioInput channel='0'/>
		</Transform>
	</Scene>
</X3D>