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

12 lines
279 B
Plaintext

(RECIP-ALG
(NAME "recip")
(ARGUMENTS ("sound_type" "s1"))
(STATE ("double" "scale" "(1.0 / s1->scale)"))
(INTERNAL-SCALING s1)
(CONSTANT "scale")
(START (MIN s1))
(INNER-LOOP "output = (sample_type) (scale / s1)")
(TERMINATE (MIN s1))
(LOGICAL-STOP (MIN s1))
)