2024-10-02 15:22:47 +00:00
|
|
|
# fixed
|
|
|
|
instruments:
|
|
|
|
# instrument name
|
|
|
|
sine:
|
|
|
|
# fixed
|
|
|
|
expr: sin(2*PI*f*t) # instrument formula (f is the frequency in Hertz, t is the time in seconds)
|
|
|
|
square:
|
|
|
|
expr: v*abs(sin(2*PI*f*t))
|
|
|
|
# fixed
|
|
|
|
vars:
|
|
|
|
# name of the variable
|
|
|
|
v: 1 # initial value of the variable
|
|
|
|
channels:
|
|
|
|
melody:
|
|
|
|
instr: sine
|
|
|
|
score:
|
2024-10-31 04:21:24 +00:00
|
|
|
notes: cCdDefFgGaAb
|
2024-11-09 22:18:25 +00:00
|
|
|
sheet: |
|
2024-10-31 04:21:24 +00:00
|
|
|
aabc.
|
2024-10-31 18:42:23 +00:00
|
|
|
'ab°A
|
2024-10-31 04:21:24 +00:00
|
|
|
+d+d+d---
|
|
|
|
/ff/f\\
|
|
|
|
ab>c<ba
|
|
|
|
;this is a comment (or lyrics whatever),
|
2024-10-31 18:42:23 +00:00
|
|
|
C:CC
|
2024-10-31 04:21:24 +00:00
|
|
|
(3deff)
|
|
|
|
(deff)
|
|
|
|
[ffe]
|
|
|
|
{l 1-cos((PI*x)/2),acced}
|
2024-10-31 18:42:23 +00:00
|
|
|
abbc!o5cc!v15feed!l4fedd!t60Gdd
|
2024-11-09 22:18:25 +00:00
|
|
|
|
|
|
|
; syntax :
|
|
|
|
rest: .
|
|
|
|
pizz.: '°
|
|
|
|
volume: +-
|
|
|
|
length: /\
|
|
|
|
octave: ><
|
|
|
|
comment?: ;,
|
|
|
|
start here: ':'
|
|
|
|
slope: {MODIFIER EXPR, score}
|
|
|
|
note modifier prefix: n
|
|
|
|
volume modifier prefix: v
|
|
|
|
octave modifier prefix: o
|
|
|
|
length modifier prefix: l
|
|
|
|
tempo modifier prefix: t
|
|
|
|
loop: ()
|
|
|
|
loop with count: (COUNT, score)
|
|
|
|
tuple: []
|
|
|
|
modifier: !
|
|
|
|
volume modifier prefix: v
|
|
|
|
octave modifier prefix: o
|
|
|
|
length modifier prefix: l
|
|
|
|
tempo modifier prefix: t,
|