44 lines
986 B
YAML
44 lines
986 B
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]
|
|
{1-cos((PI*x)/2),acced}
|
|
abbc!o5cc!v15feed!l4fedd!t60hdd
|
|
# rest: .
|
|
# pizz.: '°
|
|
# volume: +-
|
|
# length: /\
|
|
# octave: ><
|
|
# comment?: ;,
|
|
# start here: ':'
|
|
# glissando: {EXPR, score}
|
|
# loop: ()
|
|
# loop with count: (COUNT, score)
|
|
# tuple: []
|
|
# modifier: !
|
|
# volume modifier prefix: v
|
|
# octave modifier prefix: o
|
|
# length modifier prefix: l
|
|
# tempo modifier prefix: t
|