bng syntax rules & poc
This commit is contained in:
parent
903e3ebc64
commit
9ed583e4e4
4 changed files with 138 additions and 0 deletions
44
poc/poc.yml
Normal file
44
poc/poc.yml
Normal file
|
@ -0,0 +1,44 @@
|
|||
# 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
|
Loading…
Add table
Add a link
Reference in a new issue