mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-06 14:52:34 +02:00
20 lines
533 B
Plaintext
20 lines
533 B
Plaintext
(STKREV-ALG
|
|
(NAME "stkrev")
|
|
(ARGUMENTS ("int" "rev_type")("sound_type" "s1")("time_type" "trev")("double" "mix")("rate_type" "sr"))
|
|
(STATE ("struct stkEffect *" "myrv" "initStkEffect(rev_type, trev, round(sr));
|
|
stkEffectSetMix(susp->myrv, mix)"))
|
|
(START (MIN s1))
|
|
(TERMINATE (MIN s1))
|
|
(LOGICAL-STOP (MIN s1))
|
|
(NOT-IN-INNER-LOOP "myrv" "trev")
|
|
(SAMPLE-RATE "sr")
|
|
(SUPPORT-FUNCTIONS "
|
|
#include \"stkint.h\"
|
|
")
|
|
(INNER-LOOP "
|
|
output = (sample_type) (stkEffectTick(myrv, s1))
|
|
")
|
|
(FINALIZATION "
|
|
deleteStkEffect(susp->myrv);
|
|
")
|
|
) |