mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-25 15:53:52 +02:00
Update Nyquist to v3.09.
This commit is contained in:
@@ -11,7 +11,6 @@
|
||||
(LOGICAL-STOP (MIN s1 hz)) ;; gain width))
|
||||
(SAMPLE-RATE (MAX s1))
|
||||
(INTERNAL-SCALING s1)
|
||||
(INLINE-INTERPOLATION T)
|
||||
(ALWAYS-SCALE hz)
|
||||
(STEP-FUNCTION hz gain width)
|
||||
(STATE ("double" "scale1" "s1->scale")
|
||||
@@ -48,9 +47,9 @@
|
||||
(FORCE-INTO-REGISTER recompute)
|
||||
(STEP-FUNCTION hz) ;; gain width)
|
||||
(CONSTANT "w1" "sw" "cw" "J" "g" "b0" "b1" "b2" "b3" "a0" "a1" "a2")
|
||||
(INNER-LOOP-LOCALS "double z0;")
|
||||
(INNER-LOOP " z0 = s + a1*z1 + a2*z2;
|
||||
output = (sample_type) (z0*b0 + z1*b1 + z2*b2);
|
||||
z2 = z1; z1 = z0;")
|
||||
(INNER-LOOP-LOCALS " double z0;")
|
||||
(INNER-LOOP "z0 = s + a1*z1 + a2*z2;
|
||||
output = (sample_type) (z0*b0 + z1*b1 + z2*b2);
|
||||
z2 = z1; z1 = z0")
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user