switch signal expression option to -i / --instrument
This commit is contained in:
parent
56b0e234c7
commit
1ef7e89ae0
1 changed files with 4 additions and 4 deletions
|
@ -2,7 +2,7 @@ A flexible music programming language powered by math.
|
||||||
|
|
||||||
usage:
|
usage:
|
||||||
|
|
||||||
blip [play [FILENAME | -c SHEET_MUSIC] [-e EXPR] [-l EXPR] -n NOTE[,...] [-v CHAR=VALUE] | export [FILENAME | -c SHEET_MUSIC] [-e EXPR] [-l EXPR] -n NOTE[,...] [-v CHAR=VALUE] [-f FORMAT] [-o FILENAME] | help [syntax | examples | example <n> | formats]]
|
blip [play [FILENAME | -c SHEET_MUSIC] [-i EXPR] [-l EXPR] -n NOTE[,...] [-v CHAR=VALUE] | export [FILENAME | -c SHEET_MUSIC] [-i EXPR] [-l EXPR] -n NOTE[,...] [-v CHAR=VALUE] [-f FORMAT] [-o FILENAME] | help [syntax | examples | example <n> | formats]]
|
||||||
|
|
||||||
|
|
||||||
modes:
|
modes:
|
||||||
|
@ -13,7 +13,7 @@ modes:
|
||||||
sheet music to read instead of reading a file
|
sheet music to read instead of reading a file
|
||||||
-n NOTE[,...], --notes NOTE[,...]
|
-n NOTE[,...], --notes NOTE[,...]
|
||||||
available notes: a list of comma-separated alphabetical note names
|
available notes: a list of comma-separated alphabetical note names
|
||||||
-e EXPR, --expression EXPR
|
-i EXPR, --instrument EXPR
|
||||||
signal expression (instrument) to generate music samples (you can use the floating-point number t for the current time in seconds, n for the indice of the currently playing note in the list of available notes starting with 0 and N for the number of available notes) [default: "sin(2*PI*(442+442*((n+1)/N))*t)"]
|
signal expression (instrument) to generate music samples (you can use the floating-point number t for the current time in seconds, n for the indice of the currently playing note in the list of available notes starting with 0 and N for the number of available notes) [default: "sin(2*PI*(442+442*((n+1)/N))*t)"]
|
||||||
-l EXPR, --length EXPR
|
-l EXPR, --length EXPR
|
||||||
expression to generate note length in seconds [default: "2^(2-log_2(l))*(60/T)"]
|
expression to generate note length in seconds [default: "2^(2-log_2(l))*(60/T)"]
|
||||||
|
@ -31,7 +31,7 @@ modes:
|
||||||
sheet music to read instead of reading a file
|
sheet music to read instead of reading a file
|
||||||
-n NOTE[,...], --notes NOTE[,...]
|
-n NOTE[,...], --notes NOTE[,...]
|
||||||
available notes: a list of comma-separated alphabetical note names
|
available notes: a list of comma-separated alphabetical note names
|
||||||
-e EXPR, --expression EXPR
|
-i EXPR, --instrument EXPR
|
||||||
signal expression (instrument) to generate music samples (you can use the floating-point number t for the current time in seconds, n for the indice of the currently playing note in the list of available notes starting with 0 and N for the number of available notes) [default: "sin(2*PI*(442+442*((n+1)/N))*t)"]
|
signal expression (instrument) to generate music samples (you can use the floating-point number t for the current time in seconds, n for the indice of the currently playing note in the list of available notes starting with 0 and N for the number of available notes) [default: "sin(2*PI*(442+442*((n+1)/N))*t)"]
|
||||||
-l EXPR, --length EXPR
|
-l EXPR, --length EXPR
|
||||||
expression to generate note length in seconds [default: "2^(2-log_2(l))*(60/T)"]
|
expression to generate note length in seconds [default: "2^(2-log_2(l))*(60/T)"]
|
||||||
|
@ -46,7 +46,7 @@ modes:
|
||||||
see "help formats"
|
see "help formats"
|
||||||
-o, --output FILENAME
|
-o, --output FILENAME
|
||||||
output file [default: standard out]
|
output file [default: standard out]
|
||||||
|
|
||||||
help - help menu
|
help - help menu
|
||||||
syntax
|
syntax
|
||||||
show a help message about expression and sheet music syntax
|
show a help message about expression and sheet music syntax
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue