From e5c592151d77e10a367b5188ed46520b9cbcbff2 Mon Sep 17 00:00:00 2001 From: dronus Date: Tue, 27 Mar 2018 18:15:07 +0200 Subject: [PATCH] Renamed octave() to octaveControl() making this filter a drop-in replacement for Teensy Audio's State Variable Filter. --- filter_moog_f32.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/filter_moog_f32.h b/filter_moog_f32.h index 65b16e5..30ab716 100644 --- a/filter_moog_f32.h +++ b/filter_moog_f32.h @@ -52,7 +52,7 @@ public: frequency(1000); resonance(1); drive(1); - octave(1); + octaveControl(1); y_a = 0; y_b = 0; y_c = 0; @@ -72,7 +72,7 @@ public: else if (qi > 5.0) qi = 5.0; q=qi; } - void octave(float n) { + void octaveControl(float n) { if (n < 0.0) n = 0.0; else if (n > 6.9999) n = 6.9999; oct=n;