mirror of
https://github.com/cookiengineer/audacity
synced 2026-01-19 15:06:07 +01:00
Update Nyquist to v3.09.
This commit is contained in:
@@ -1,11 +1,14 @@
|
||||
(MAXV-ALG
|
||||
(NAME "maxv")
|
||||
(ARGUMENTS ("sound_type" "s1") ("sound_type" "s2"))
|
||||
(ALWAYS-SCALE s1 s2)
|
||||
(SAMPLE-RATE (MAX s1 s2))
|
||||
(COMMUTATIVE (s1 s2))
|
||||
(START (MAX s1 s2))
|
||||
(INNER-LOOP "double x1 = s1;
|
||||
double x2 = s2;
|
||||
output = (sample_type) (x1 > x2 ? x1 : x2)")
|
||||
(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))
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user