Package javaforce.media
Interface Music.Listener
- Enclosing class:
Music
public static interface Music.Listener
-
Method Summary
Modifier and TypeMethodDescriptionvoidTriggered when the song ends (even if repeating)voidmusicRow(int sequence, int pattern, int row) Triggered as the music moves to each row.voidmusicSamples(short[] samples) Triggered each time a chunk of samples is going to be played.
-
Method Details
-
musicEnded
void musicEnded()Triggered when the song ends (even if repeating) -
musicSamples
void musicSamples(short[] samples) Triggered each time a chunk of samples is going to be played. Use to apply effects, etc. -
musicRow
void musicRow(int sequence, int pattern, int row) Triggered as the music moves to each row.
-