Interface Music.Listener

Enclosing class:
Music

public static interface Music.Listener
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Triggered when the song ends (even if repeating)
    void
    musicRow(int sequence, int pattern, int row)
    Triggered as the music moves to each row.
    void
    musicSamples(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.