mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-28 16:20:12 +01:00
Update Nyquist to v3.09.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
(INSTRMANDOLIN-ALG
|
||||
(NAME "mandolin")
|
||||
(ARGUMENTS ("time_type" "t0")("double" "freq") ("time_type" "d")
|
||||
("double" "body_size")("double" "detune")("rate_type" "sr"))
|
||||
(ARGUMENTS ("time_type" "t0") ("double" "freq") ("time_type" "d")
|
||||
("double" "body_size") ("double" "detune") ("rate_type" "sr"))
|
||||
(STATE ("struct instr *" "mymand" "initInstrument(MANDOLIN, round(sr));
|
||||
controlChange(susp->mymand, 1, detune);
|
||||
controlChange(susp->mymand, 2, MAND_CONTROL_CHANGE_CONST * body_size);")
|
||||
@@ -9,17 +9,8 @@
|
||||
(NOT-IN-INNER-LOOP "freq" "temp_ret_value" "body_size" "detune")
|
||||
(SAMPLE-RATE "sr")
|
||||
(TERMINATE (after "d"))
|
||||
(INNER-LOOP "
|
||||
output = (sample_type) tick(mymand)")
|
||||
(SUPPORT-HEADER "
|
||||
#define MAND_CONTROL_CHANGE_CONST 128
|
||||
")
|
||||
(SUPPORT-FUNCTIONS "
|
||||
#include \"instr.h\"
|
||||
|
||||
")
|
||||
(FINALIZATION "
|
||||
deleteInstrument(susp->mymand);
|
||||
")
|
||||
(INNER-LOOP "output = (sample_type) tick(mymand)")
|
||||
(SUPPORT-HEADER "#define MAND_CONTROL_CHANGE_CONST 128\n")
|
||||
(SUPPORT-FUNCTIONS "#include \"instr.h\"\n")
|
||||
(FINALIZATION " deleteInstrument(susp->mymand);\n")
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user