Blame view

VRGNYMusicLights/Sources/MusicPath.java 601 Bytes
742429d1   pfrison   VRGNYMusicLight b...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
  
  public class MusicPath {
  	private static final int VERTICAL_DOWN = 0;
  	private static final int VERTICAL_UP = 1;
  	private static final int HORIZONTAL_DOWN = 2;
  	private static final int HORIZONTAL_UP = 3;
  	private static final int DIAGONAL_TOP_RIGHT_DOWN_LEFT = 4;
  	private static final int DIAGONAL_TOP_LEFT_DOWN_RIGHT = 5;
  	private static final int CENTER_OUT = 6;
  	private static final int CENTER_IN = 7;
  	
  	private int animation;
  	
  	public MusicPath(int animation) {
  		this.animation = animation;
  	}
  	
  	// TODO transform music according to animation
  	// what format ? int[nled][pattern] (ms) ?
  }