|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.vwp.sound.mod.modplay.Scope
public final class Scope
Some fake ascii scopes... It doesn't really consider the actual volume of each channel, it just has a trigger and a gradual falloff.
Field Summary | |
---|---|
com.vwp.sound.mod.modplay.Scope.EventDispatcher |
dispatcher
|
Constructor Summary | |
---|---|
Scope(int channels,
int delay)
create a scope with channels channels. |
Method Summary | |
---|---|
java.lang.String |
getAllChannels()
get a string representation of the scopes. |
char |
getChannel(int channel)
get the character representing the current intencity value of a channel. |
void |
next()
decrease the intensity value in all scopes. |
void |
poke(int channel)
"poke" a channel, causing it's intensity value to be set to the max. |
void |
stop()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public com.vwp.sound.mod.modplay.Scope.EventDispatcher dispatcher
Constructor Detail |
---|
public Scope(int channels, int delay)
channels
channels. The delay
value is necessary
in cases where there is a noticable delay from the audio data is sent to the sound system
until it appears at the speakers. 200ms seems to be a appropriate value for the java sound
system (in addition to any buffers in the program itself of course).
channels
- delay
- Method Detail |
---|
public void next()
public void poke(int channel)
channel
- public char getChannel(int channel)
channel
-
public java.lang.String getAllChannels()
public void stop()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |