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:
9
lib-src/libnyquist/nyquist/tran/abs.alg
Normal file
9
lib-src/libnyquist/nyquist/tran/abs.alg
Normal file
@@ -0,0 +1,9 @@
|
||||
(ABS-ALG
|
||||
(NAME "abs")
|
||||
(ARGUMENTS ("sound_type" "input"))
|
||||
(ALWAYS-SCALE input)
|
||||
(START (MIN input))
|
||||
(INNER-LOOP "{ sample_type s = input; sample_type o = s; if (o < 0.0) o = -o; output = o; }")
|
||||
(TERMINATE (MIN input))
|
||||
(LOGICAL-STOP (MIN input))
|
||||
)
|
||||
Reference in New Issue
Block a user