1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-28 16:23:49 +01:00

Move library tree where it belongs

This commit is contained in:
ra
2010-01-24 09:19:39 +00:00
parent e74978ba77
commit 58caf78a86
6020 changed files with 2790154 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
(ATONEV-ALG
(NAME "atonev")
(ARGUMENTS ("sound_type" "s1") ("sound_type" "hz"))
(INLINE-INTERPOLATION T)
(LINEAR hz)
(ALWAYS-SCALE hz)
(START (MAX s1 hz))
(TERMINATE (MIN s1 hz))
(LOGICAL-STOP (MIN s1))
(STATE ("double" "cc" "0.0")
("double" "prev" "0.0;
hz->scale = (sample_type) (hz->scale * (PI2 / s1->sr))"))
(LINEAR s1)
(SAMPLE-RATE (MAX s1))
(STEP-FUNCTION hz)
(DEPENDS ("bb" "hz" "2.0 - cos(hz)" TEMP "register double")
("cc" "hz" "bb - sqrt((bb * bb) - 1.0)"))
(CONSTANT "cc")
(INNER-LOOP-LOCALS " double current;
")
(INNER-LOOP "current = s1;
prev = cc * (prev + current);
output = (sample_type) prev;
prev -= current;")
)