1
0
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:
Leland Lucius
2015-04-07 22:10:17 -05:00
parent f88b27e6d8
commit 9fb0ce5b82
358 changed files with 26327 additions and 7043 deletions

View File

@@ -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))
)