new/reworked audio plugins ported from hv72 compressor/multi/reverb, glyph workaround...
[goodguy/cinelerra.git] / cinelerra-5.1 / guicast / units.h
index 7456b662de9e5c62a38696fc86af14a5f4fd8fbf..7e2243ef498b673f29798760756a55a1f0be38fb 100644 (file)
@@ -32,6 +32,8 @@
 #define INFINITYGAIN -96
 #define MAXGAIN 50
 #define TOTALFREQS 1024
+// slots per octave
+#define OCTAVE 105
 #define TOTAL_TIMEFORMATS 7
 
 // h:mm:ss.sss
@@ -125,7 +127,8 @@ public:
 // return index of frequency
        int fromfreq();
        static int fromfreq(int index);
-
+       static double tofreq_f(double index);
+       static double fromfreq_f(double freq);
 // increment frequency by one
        Freq& operator++();
        Freq& operator--();