Permalink
Browse files

Melody

  • Loading branch information...
1 parent b3edd70 commit 934dddc0a5e25a4b516d457d2e71c588e714f9ce @furiouswheat furiouswheat committed May 18, 2012
Showing with 10 additions and 0 deletions.
  1. +10 −0 src/com/flexymind/alpha/player/Melody.java
@@ -1,6 +1,16 @@
package com.flexymind.alpha.player;
+import com.flexymind.alpha.parsers.MIDIParser;
+import java.io.File;
+import java.util.List;
+
+
public class Melody {
+ public List<MidiNote> melodyNotes;
+
+ public Melody(File melodyFile){
+ melodyNotes = MIDIParser.parse(melodyFile);
+ }
}

0 comments on commit 934dddc

Please sign in to comment.