Skip to content

Commit f933a8f

Browse files
committed
Add example implementation of sakura
1 parent 9e68ce8 commit f933a8f

File tree

2 files changed

+68
-1
lines changed

2 files changed

+68
-1
lines changed

sakura.synthia

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
setBPM(80)
2+
i= tone.sin
3+
4+
5+
6+
stream base {
7+
i.play(A[5], crotchet)
8+
i.play(A[5], crotchet)
9+
i.play(B[5], minim)
10+
i.play(A[5], crotchet)
11+
i.play(A[5], crotchet)
12+
i.play(B[5], minim)
13+
i.play(A[5], crotchet)
14+
i.play(B[5], crotchet)
15+
i.play(C[6], crotchet)
16+
i.play(B[5], crotchet)
17+
i.play(A[5], crotchet)
18+
i.play(B[5], quaver)
19+
i.play(A[5], quaver)
20+
i.play(F[5], minim)
21+
22+
i.play(E[5], crotchet)
23+
i.play(C[5], crotchet)
24+
i.play(E[5], crotchet)
25+
i.play(F[5], crotchet)
26+
i.play(E[5], crotchet)
27+
i.play(E[5], quaver)
28+
i.play(C[5], quaver)
29+
i.play(B[4], minim)
30+
i.play(A[5], crotchet)
31+
i.play(B[5], crotchet)
32+
i.play(C[6], crotchet)
33+
i.play(B[5], crotchet)
34+
i.play(A[5], crotchet)
35+
i.play(B[5], quaver)
36+
i.play(A[5], quaver)
37+
i.play(F[5], minim)
38+
39+
i.play(E[5], crotchet)
40+
i.play(C[5], crotchet)
41+
i.play(E[5], crotchet)
42+
i.play(F[5], crotchet)
43+
i.play(E[5], crotchet)
44+
i.play(E[5], quaver)
45+
i.play(C[5], quaver)
46+
i.play(B[4], minim)
47+
i.play(A[5], crotchet)
48+
i.play(A[5], crotchet)
49+
i.play(B[5], minim)
50+
i.play(A[5], crotchet)
51+
i.play(A[5], crotchet)
52+
i.play(B[5], minim)
53+
54+
i.play(E[5], crotchet)
55+
i.play(F[5], crotchet)
56+
i.play(B[5], quaver)
57+
i.play(A[5], quaver)
58+
i.play(F[5], crotchet)
59+
i.play(E[5], minim)
60+
}

twinkle.synthia

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,15 @@ stream base {
77
i.play(C[5], crotchet)
88
i.play(C[5], crotchet)
99
i.play(G[5], crotchet)
10-
i.play(G[5].sharp, crotchet)
10+
i.play(G[5], crotchet)
1111
i.play(A[5], crotchet)
1212
i.play(A[5], crotchet)
1313
i.play(G[5], minim)
14+
i.play(F[5], crotchet)
15+
i.play(F[5], crotchet)
16+
i.play(E[5], crotchet)
17+
i.play(E[5], crotchet)
18+
i.play(D[5], crotchet)
19+
i.play(D[5], crotchet)
20+
i.play(C[5], minim)
1421
}

0 commit comments

Comments
 (0)