49 lines
1.1 KiB
YAML
49 lines
1.1 KiB
YAML
# 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:
|
|
aabc.
|
|
'rt°y
|
|
+d+d+d---
|
|
/ff/f\\
|
|
ab>c<ba
|
|
;this is a comment (or lyrics whatever),
|
|
s:df
|
|
(3deff)
|
|
(deff)
|
|
[ffe]
|
|
{l 1-cos((PI*x)/2),acced}
|
|
abbc!o5cc!v15feed!l4fedd!t60hdd
|
|
# 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
|