Heilan X3D Browser



ParentNode, to be used with a child AudioClip node.


A cube (the size of which is controlled by the amplitude envelope of the accompanying AudioClip) which fires off smaller cubes when it detects transients in the AudioClip's audio.


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.

pulseWait SFInt32 (input) The number of transients to wait before first firing off the smaller cubes.

waitPoint SFFloat (input) Time (in seconds) at which the cube should start firing off the smaller cubes.

waitFraction SFFloat (input) To be connected to a TimeSensor, and used with waitPoint to let the cube know what the current time is.

Example Use

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

		<Transform translation="0.0 0.0 -8.0 ">
			<PulseCubes DEF="pulses" waitPoint="0.5" minFront="20.0 " maxFront="40.0 " minBack="20.0 " maxBack="40.0 ">
					<Material diffuseColor="1.0 0.0 0.0"/>
				<AudioClip url="/home/niall/music/concertPiece/oldSounds/HeartbeatSoundTemp.wav"/>

		<TimeSensor DEF="timer" cycleInterval="20.0" loop="TRUE"/>

		<ROUTE fromNode="timer" fromField="fraction_changed" toNode="pulses" toField="waitFraction"/>