11 #ifndef MATH_H_INCLUDED
12 #define MATH_H_INCLUDED
14 #include "../headers/types.hpp"
20 Flt API MidiToFreq(Flt note);
21 Flt API FreqToMidi(Flt freq);
27 clip& set(Flt low, Flt high);
28 clip& setLow(Flt low);
29 clip& setHigh(Flt high);
30 clip() : low(-1.0f), high(1.0f) {}
33 AUDIOBUFFER & operator()(AUDIOBUFFER & in);
45 AUDIOBUFFER & operator()(AUDIOBUFFER & in);
55 AUDIOBUFFER & operator()(AUDIOBUFFER & in);
65 AUDIOBUFFER & operator()(AUDIOBUFFER & in);
73 AUDIOBUFFER & operator()(AUDIOBUFFER & in);
81 AUDIOBUFFER & operator()(AUDIOBUFFER & in);
89 AUDIOBUFFER & operator()(AUDIOBUFFER & in);
97 AUDIOBUFFER & operator()(AUDIOBUFFER & in);
105 AUDIOBUFFER & operator()(AUDIOBUFFER & in);
113 AUDIOBUFFER & operator()(AUDIOBUFFER & in);
121 AUDIOBUFFER & operator()(AUDIOBUFFER & in1, AUDIOBUFFER & in2);
129 AUDIOBUFFER & operator()(AUDIOBUFFER & in);
137 AUDIOBUFFER & operator()(AUDIOBUFFER & in1, AUDIOBUFFER & in2);
145 AUDIOBUFFER & operator()(AUDIOBUFFER & in);
152 #endif // MATH_H_INCLUDED