X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Fsynthesizer%2Fsynthesizer.h;h=d8d10bd3070602d49799ae1c49ccb989f669afc6;hb=07af5297688e2f888e0a309eab76293093a003bb;hp=3529ce9e8a2139cf79d32429ce8a965c036408f1;hpb=7fd85fb66168f6b518c5f2d73e04036e87faa0e1;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/plugins/synthesizer/synthesizer.h b/cinelerra-5.1/plugins/synthesizer/synthesizer.h index 3529ce9e..d8d10bd3 100644 --- a/cinelerra-5.1/plugins/synthesizer/synthesizer.h +++ b/cinelerra-5.1/plugins/synthesizer/synthesizer.h @@ -28,12 +28,10 @@ #include "guicast.h" #include "mutex.h" #include "pluginaclient.h" +#include "synthesizer.inc" #include "vframe.inc" -class Synth; -class SynthWindow; - // Frequency table for piano float keyboard_freqs[] = { @@ -109,12 +107,11 @@ float keyboard_freqs[] = #define MAX_FREQS 16 #define TOTALOSCILLATORS 1 -#define OSCILLATORHEIGHT 40 #define TOTALNOTES ((int)(sizeof(keyboard_freqs) / sizeof(float))) #define MIDDLE_C 24 #define FIRST_TITLE (MIDDLE_C - 12) #define LAST_TITLE (MIDDLE_C + 12) -#define MARGIN 10 +#define MARGIN yS(10) #define SINE 0 #define SAWTOOTH 1