mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-05 14:18:53 +02:00
10 lines
259 B
Plaintext
10 lines
259 B
Plaintext
(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))
|
|
)
|