Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Melody

  • Loading branch information...
commit 934dddc0a5e25a4b516d457d2e71c588e714f9ce 1 parent b3edd70
@furiouswheat furiouswheat authored
Showing with 10 additions and 0 deletions.
  1. +10 −0 src/com/flexymind/alpha/player/Melody.java
View
10 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);
+ }
}
Please sign in to comment.
Something went wrong with that request. Please try again.