|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--tinyvm.rcx.Sound
RCX sound routines.
| Method Summary | |
static void |
beep()
Beeps once. |
static void |
beepSequence()
Beeps twice. |
static void |
buzz()
Low buzz. |
static void |
playTone(int aFrequency,
int aDuration)
Plays a tone, given its frequency and duration. |
static void |
systemSound(boolean aQueued,
int aCode)
Play a system sound. |
static void |
twoBeeps()
Beeps twice. |
| Methods inherited from class java.lang.Object |
getClass,
toString |
| Method Detail |
public static void systemSound(boolean aQueued,
int aCode)
| aCode | Resulting Sound |
|---|---|
| 0 | short beep |
| 1 | double beep |
| 2 | descending arpeggio |
| 3 | ascending arpeggio |
| 4 | long, low beep |
| 5 | quick ascending arpeggio |
public static void beep()
aQueued - Whether the sound is queued.public static void twoBeeps()
aQueued - Whether the sound is queued.public static void beepSequence()
aQueued - Whether the sound is queued.public static void buzz()
aQueued - Whether the sound is queued.
public static void playTone(int aFrequency,
int aDuration)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||