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

12 lines
287 B
Plaintext

(MAXV-ALG
(NAME "maxv")
(ARGUMENTS ("sound_type" "s1") ("sound_type" "s2"))
(ALWAYS-SCALE s1 s2)
(START (MAX s1 s2))
(INNER-LOOP "double x1 = s1;
double x2 = s2;
output = (sample_type) (x1 > x2 ? x1 : x2)")
(TERMINATE (MIN s1 s2))
(LOGICAL-STOP (MIN s1 s2))
)