1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-16 16:10:06 +02:00
2010-01-24 09:19:39 +00:00

20 lines
528 B
Plaintext

(STKPITSHIFT-ALG
(NAME "stkpitshift")
(ARGUMENTS ("sound_type" "s1")("double" "shift")("double" "mix")("rate_type" "sr"))
(STATE ("struct stkEffect *" "mych" "initStkPitShift(shift, round(sr));
stkEffectSetMix(susp->mych, mix)"))
(START (MIN s1))
(TERMINATE (MIN s1))
(LOGICAL-STOP (MIN s1))
(NOT-IN-INNER-LOOP "mych" "shift" "mix" "sr")
(SAMPLE-RATE "sr")
(SUPPORT-FUNCTIONS "
#include \"stkint.h\"
")
(INNER-LOOP "
output = (sample_type) (stkEffectTick(mych, s1))
")
(FINALIZATION "
deleteStkEffect(susp->mych);
")
)