projects
/
goodguy
/
cinelerra.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add auto next/prev tab (alt-a), update shortcuts, fix keyframe paste track tabbing...
[goodguy/cinelerra.git]
/
cinelerra-5.1
/
guicast
/
units.h
diff --git
a/cinelerra-5.1/guicast/units.h
b/cinelerra-5.1/guicast/units.h
index 7456b662de9e5c62a38696fc86af14a5f4fd8fbf..7e2243ef498b673f29798760756a55a1f0be38fb 100644
(file)
--- a/
cinelerra-5.1/guicast/units.h
+++ b/
cinelerra-5.1/guicast/units.h
@@
-32,6
+32,8
@@
#define INFINITYGAIN -96
#define MAXGAIN 50
#define TOTALFREQS 1024
#define INFINITYGAIN -96
#define MAXGAIN 50
#define TOTALFREQS 1024
+// slots per octave
+#define OCTAVE 105
#define TOTAL_TIMEFORMATS 7
// h:mm:ss.sss
#define TOTAL_TIMEFORMATS 7
// h:mm:ss.sss
@@
-125,7
+127,8
@@
public:
// return index of frequency
int fromfreq();
static int fromfreq(int index);
// 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--();
// increment frequency by one
Freq& operator++();
Freq& operator--();