Heilan X3D Browser

SimpleFilterCube

Type

ParentNode, to be used with a child AudioClip node.

Description

A cube which periodically grows and shrinks. The size of the cube controls the cutoff frequency of a filter applied to the audio of the AudioClip.

Attributes

maxBack SFFloat (input) The same as Sound's maxBack attribute.

maxFront SFFloat (input) The same as Sound's maxFront attribute.

minBack SFFloat (input) The same as Sound's minBack attribute.

minFront SFFloat (input) The same as Sound's minFront attribute.

Example Use

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE X3D>
<X3D profile="Full">
	<Scene>
		<NavigationInfo type="ANY"/>

		<Transform translation="0.0 0.0 -8.0 ">
			<SimpleFilterCube minFront="10.0" maxFront="100.0" minBack="10.0" maxBack="100.0">
				<Appearance>
					<Material diffuseColor="1.0 0.0 0.0"/>
				</Appearance>
				<AudioClip url="/home/niall/music/samples/thing.wav"/>
			</SimpleFilterCube>
		</Transform>
	</Scene>
</X3D>