mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-13 16:16:33 +01:00
Move library tree where it belongs
This commit is contained in:
9
lib-src/libnyquist/nyquist/tran/sqrt.alg
Normal file
9
lib-src/libnyquist/nyquist/tran/sqrt.alg
Normal file
@@ -0,0 +1,9 @@
|
||||
(SQRT-ALG
|
||||
(NAME "sqrt")
|
||||
(ARGUMENTS ("sound_type" "input"))
|
||||
(ALWAYS-SCALE input)
|
||||
(START (MIN input))
|
||||
(INNER-LOOP "{ sample_type i = input; if (i < 0) i = 0; output = (sample_type) sqrt(i); }")
|
||||
(TERMINATE (MIN input))
|
||||
(LOGICAL-STOP (MIN input))
|
||||
)
|
||||
Reference in New Issue
Block a user