Skip to content

Commit

Permalink
foobar
Browse files Browse the repository at this point in the history
  • Loading branch information
Louis Sobel committed Apr 3, 2012
1 parent 780a90b commit 10e00f8
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
2 changes: 1 addition & 1 deletion sample_abc/fur_elise.abc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ V:1
V:2
M:3/8
L:1/16
Q:400
Q:200
K:Am
V:1
e^d|:e^deB=dc|A2 z CEA|B2 z E^GB|c2 z Ee^d|
Expand Down
14 changes: 13 additions & 1 deletion src/player/ABCParserTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -496,6 +496,17 @@ public void multiWithLeftAndMore() {
//basic headers put us in C
l.readLine("|: z C E G c G E C |[1 [C8E8G8] :|[2 CDEFGABc ||: aaaa_aaaa :|");

ABCEnvironment e = ABCParser.parse(l.tokens);
//print(e);
//play(e);
}

@Test
public void weirdTest() {
Lexer l = getBasicHeaderLexer();
//basic headers put us in C
l.readLine("e/g/c'/b/ a/g/f/e/ d/g/f/d/|e/f/e/^d/ e/B/e/d/ e/B/e/d/|e3 Be^d|e3 Be z|");

for (ABCToken t : l.tokens) {
print(t);
}
Expand All @@ -504,7 +515,6 @@ public void multiWithLeftAndMore() {
play(e);
}


//repeat, multi, left
//repeat, multi, beginning of peice
//repeat, multi, section
Expand All @@ -528,4 +538,6 @@ public void multiWithLeftAndMore() {
//and i guess all the error cases too!!!! FUCK
//gah. thats a lot of work.



}
2 changes: 1 addition & 1 deletion src/player/ABCPlayerTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public void barbieGirl() {

@Test
public void yesterDay() {
printAndPlay("sample_abc/yesterday.abc");
//printAndPlay("sample_abc/yesterday.abc");
}

@Test
Expand Down

0 comments on commit 10e00f8

Please sign in to comment.