1
0
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:
Leland Lucius
2015-04-07 22:10:17 -05:00
parent f88b27e6d8
commit 9fb0ce5b82
358 changed files with 26327 additions and 7043 deletions

View File

@@ -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")
)