mirror of
https://github.com/cookiengineer/audacity
synced 2025-04-30 15:49:41 +02:00
13 lines
298 B
Plaintext
13 lines
298 B
Plaintext
(ABS-ALG
|
|
(NAME "abs")
|
|
(ARGUMENTS ("sound_type" "input"))
|
|
(linear 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))
|
|
)
|