1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-04-30 15:49:41 +02:00
2015-04-07 22:10:17 -05:00

15 lines
327 B
Plaintext

(MAXV-ALG
(NAME "maxv")
(ARGUMENTS ("sound_type" "s1") ("sound_type" "s2"))
(SAMPLE-RATE (MAX s1 s2))
(COMMUTATIVE (s1 s2))
(START (MAX s1 s2))
(INNER-LOOP "{
\t\tdouble x1 = s1;
\t\tdouble x2 = s2;
\t\toutput = (sample_type) (x1 > x2 ? x1 : x2);
\t }")
(TERMINATE (MIN s1 s2))
(LOGICAL-STOP (MIN s1 s2))
)