Public Member Functions | |
VisSound (Node n, Vector3f pos) | |
void | trigger (boolean looping) |
Package Functions | |
void | renderSelf () |
Package Attributes | |
final int | SAMPLE_STEP = 150 |
short[] | samples |
int | ringpos = 0 |
final int | RING_LENGTH = 100 |
final short[] | ring = new short[RING_LENGTH] |
Definition at line 21 of file VisSound.java.
org.hfbk.vis.visnode.VisSound.VisSound | ( | Node | n, | |
Vector3f | pos | |||
) |
void org.hfbk.vis.visnode.VisSound.renderSelf | ( | ) | [package, virtual] |
implement this to actually render this node itself. also used to update a node's state.
things not seen also do not update. this is sometimes akward, sometimes useful, eg. a movie not seen does not advance
Reimplemented from org.hfbk.vis.visnode.Sound.
Definition at line 37 of file VisSound.java.
References org.hfbk.vis.visnode.VisSound.ring, org.hfbk.vis.visnode.VisSound.RING_LENGTH, org.hfbk.vis.visnode.VisSound.ringpos, org.hfbk.vis.visnode.VisSound.SAMPLE_STEP, org.hfbk.vis.visnode.VisSound.samples, and org.hfbk.vis.visnode.Sound.source.
void org.hfbk.vis.visnode.VisSound.trigger | ( | boolean | looping | ) |
tigger sound
looping | if to play as loop |
Reimplemented from org.hfbk.vis.visnode.Sound.
Definition at line 74 of file VisSound.java.
References org.hfbk.vis.visnode.Sound.buffer, org.hfbk.vis.visnode.VisSound.SAMPLE_STEP, org.hfbk.vis.visnode.VisSound.samples, org.hfbk.vis.visnode.Sound.source, and org.hfbk.vis.visnode.Sound.wavfile.
final int org.hfbk.vis.visnode.VisSound.SAMPLE_STEP = 150 [package] |
Definition at line 23 of file VisSound.java.
Referenced by org.hfbk.vis.visnode.VisSound.renderSelf(), and org.hfbk.vis.visnode.VisSound.trigger().
short [] org.hfbk.vis.visnode.VisSound.samples [package] |
Definition at line 24 of file VisSound.java.
Referenced by org.hfbk.vis.visnode.VisSound.renderSelf(), and org.hfbk.vis.visnode.VisSound.trigger().
int org.hfbk.vis.visnode.VisSound.ringpos = 0 [package] |
Definition at line 26 of file VisSound.java.
Referenced by org.hfbk.vis.visnode.VisSound.renderSelf().
final int org.hfbk.vis.visnode.VisSound.RING_LENGTH = 100 [package] |
Definition at line 27 of file VisSound.java.
Referenced by org.hfbk.vis.visnode.VisSound.renderSelf().
final short [] org.hfbk.vis.visnode.VisSound.ring = new short[RING_LENGTH] [package] |
Definition at line 29 of file VisSound.java.
Referenced by org.hfbk.vis.visnode.VisSound.renderSelf().