Music.java 370 Bytes

public class Music {
	private MusicPattern pattern;
	private MusicPath path;
	private long startDelai; // in ms
	private long length; // in ms

	public Music(MusicPattern pattern, MusicPath path, long startDelai, long length) {
		this.pattern = pattern;
		this.path = path;
		this.startDelai = startDelai;
		this.length = length;
		
		//call MusicPath transform()
	}
}