public class MinimController
extends java.lang.Object
Constructor and Description |
---|
MinimController(ddf.minim.AudioPlayer player,
int beatsPerMinute,
int rowsPerBeat) |
Modifier and Type | Method and Description |
---|---|
void |
addEventListener(moonlander.library.ControllerListener listener) |
double |
getCurrentRow() |
double |
getCurrentTime() |
boolean |
isPlaying() |
void |
pause() |
void |
play() |
void |
removeEventListener(moonlander.library.ControllerListener listener) |
void |
setCurrentRow(double row,
boolean silent) |
void |
update() |
public MinimController(ddf.minim.AudioPlayer player, int beatsPerMinute, int rowsPerBeat)
public void update()
public void pause()
public void play()
public void addEventListener(moonlander.library.ControllerListener listener)
public void removeEventListener(moonlander.library.ControllerListener listener)
public double getCurrentRow()
public double getCurrentTime()
public void setCurrentRow(double row, boolean silent)
row
- new row valuesilent
- to suppress notificationspublic boolean isPlaying()
Processing library Moonlander by Antti Hirvonen. (c) 2018