/* ============================================================================== This is an automatically generated file created by the Jucer! Creation date: 31 Mar 2014 12:38:24pm Be careful when adding custom code to these files, as only the code within the "//[xyz]" and "//[/xyz]" sections will be retained when the file is loaded and re-saved. Jucer version: 1.12 ------------------------------------------------------------------------------ The Jucer is part of the JUCE library - "Jules' Utility Class Extensions" Copyright 2004-6 by Raw Material Software ltd. ============================================================================== */ #ifndef __JUCER_HEADER_JAYSYNTHAUDIOPROCESSOREDITOR_JAYSYNTHAUDIOPROCESSOREDITOR_1F0BC626__ #define __JUCER_HEADER_JAYSYNTHAUDIOPROCESSOREDITOR_JAYSYNTHAUDIOPROCESSOREDITOR_1F0BC626__ //[Headers] -- You can add your own extra header files here -- #include "../JuceLibraryCode/JuceHeader.h" #include "PluginProcessor.h" #include "ButtonLED.h" #include "MidiCC_PopUp.h" #include "VelKey_PopUp.h" //[/Headers] #include "ButtonLED.h" //============================================================================== /** //[Comments] An auto-generated component, created by the Jucer. Describe your class and how it works here! //[/Comments] */ class JaySynthAudioProcessorEditor : public AudioProcessorEditor, public Timer, public ButtonListener, public ActionListener, public MidiCC_PopUp_Listener, public VelKey_PopUp_Listener, public SliderListener, public LabelListener, public ComboBoxListener { public: //============================================================================== JaySynthAudioProcessorEditor (JaySynthAudioProcessor* ownerFilter, bool has_wt); ~JaySynthAudioProcessorEditor(); //============================================================================== //[UserMethods] -- You can add your own custom methods in this section. void timerCallback(); void update_sliders(); void paramUpdate(int paramID, bool doHostUpdate); void buttonClicked (Button* buttonThatWasClicked); void mouseDoubleClick (const MouseEvent &m); void mouseDown (const MouseEvent &m); void changeListenerCallback (ChangeBroadcaster* source); void actionListenerCallback (const String &message); void MidiCC_PopUp_event(int event); void VelKey_PopUp_event(int event); void MidiCC_PopUp_show(Component *componentThatWasClicked); void VelKey_PopUp_show(Component *componentThatWasClicked); int ModSrc0_findByName(String name); int ModSrc1_findByName(String name); int ModSrcOP_findByName(String name); int ModSrc1_CB_getIndex(int srcID, int opID); //[/UserMethods] void paint (Graphics& g); void resized(); void sliderValueChanged (Slider* sliderThatWasMoved); void labelTextChanged (Label* labelThatHasChanged); void comboBoxChanged (ComboBox* comboBoxThatHasChanged); // Binary resources: static const char* led_23_red_png; static const int led_23_red_pngSize; static const char* led_23_red1_png; static const int led_23_red1_pngSize; //============================================================================== juce_UseDebuggingNewOperator private: //[UserVariables] -- You can add your own custom variables in this section. JaySynthAudioProcessor* getProcessor() const { return static_cast (getAudioProcessor()); } TooltipWindow *m_tooltipWindow; MidiCC_PopUp *m_MidiCC_PopUp; VelKey_PopUp *m_VelKey_PopUp; String m_mod_src0_names[VOICE_NUM_MOD_SOURCES_0]; String m_mod_src1_names[VOICE_NUM_MOD_SOURCES_1]; String m_mod_src_op_names[VOICE_NUM_MOD_OPS]; String m_mod_src0_cb_names[VOICE_NUM_MOD_SOURCES_0]; String m_mod_src1_cb_names[(VOICE_NUM_MOD_SOURCES_1-1)*VOICE_NUM_MOD_OPS + 1]; //[/UserVariables] //============================================================================== Label* m_label_colon; Slider* m_slider_master_volume; Slider* m_slider_vcf_f; Slider* m_slider_vcf_q; Slider* m_slider_osc0_det; Slider* m_slider_osc1_det; Slider* m_slider_osc0_transpose; Slider* m_slider_osc1_transpose; Slider* m_slider_vca_env_attack; Slider* m_slider_vca_env_decay; Slider* m_slider_vca_env_release; Slider* m_slider_vca_env_sustain; Slider* m_slider_vcf_env_attack; Slider* m_slider_vcf_env_decay; Slider* m_slider_vcf_env_release; Slider* m_slider_vcf_env_sustain; Slider* m_slider_vcf_env_amount; Label* m_label_vcf_env_attack; Label* m_label_vcf_f; Label* m_label_vca_env_attack; Label* m_label_vca_env_decay; Label* m_label_vca_env_sustain; Label* m_label_vca_env_release; Label* m_label_vcf_env_decay; Label* m_label_vcf_env_sustain; Label* m_label_vcf_env_release; Label* m_label_vcf_q; Label* m_label_vcf_env_amount; Label* m_label_master_volume; Label* m_label_osc0_transpose; Label* m_label_osc1_transpose; Label* m_label_osc0_det; Label* m_label_osc1_det; Slider* m_slider_vca_env_amount; Label* m_label_vca_env_amount; Slider* m_slider_osc0_dutycycle; Slider* m_slider_osc1_dutycycle; Label* m_label_osc0_dutycycle; Label* m_label_osc1_dutycycle; Slider* m_slider_lfo0_speed; Slider* m_slider_osc1_fm_amt0; Slider* m_slider_osc0_fm_amt0; Label* m_label_lfo0_speed; Label* m_label_osc0_fm_amt0; Label* m_label_osc1_fm_amt0; Slider* m_slider_vcf_f_amt0; Label* m_label_vcf_f_amt0; Slider* m_slider_lfo1_speed; Label* m_label_lfo1_speed; ComboBox* m_comboBox_osc0_shape; ComboBox* m_comboBox_osc1_shape; ComboBox* m_comboBox_lfo0_shape; ComboBox* m_comboBox_lfo1_shape; Slider* m_slider_lfo2_speed; Slider* m_slider_lfo3_speed; ComboBox* m_comboBox_lfo2_shape; ComboBox* m_comboBox_lfo3_shape; Label* m_label_lfo2_speed; Label* m_label_lfo3_speed; ComboBox* m_comboBox_vcf_f_src0; ComboBox* m_comboBox_osc0_fm_src0; ComboBox* m_comboBox_osc1_fm_src0; Slider* m_slider_vca_am_amt0; Label* m_label_vca_am_amt0; ComboBox* m_comboBox_vca_am_src0; Slider* m_slider_vca_pan_amt0; Label* m_label_vca_pan_amt0; ComboBox* m_comboBox_vca_pan_src0; Label* m_label_synth_name; Label* m_label_synth_version; ComboBox* m_comboBox_vcf_type; Slider* m_slider_lfo1_smooth; Label* m_label_lfo1_smooth; Slider* m_slider_lfo0_smooth; Label* m_label_lfo0_smooth; Slider* m_slider_lfo2_smooth; Label* m_label_lfo2_smooth; Slider* m_slider_lfo3_smooth; Label* m_label_lfo3_smooth; Slider* m_slider_osc0_pwm_amt0; Label* m_label_osc0_pwm_amt0; Slider* m_slider_osc1_pwm_amt0; Label* m_label_osc1_pwm_amt0; ComboBox* m_comboBox_osc0_pwm_src0; ComboBox* m_comboBox_osc1_pwm_src0; Slider* m_slider_osc0_level; Label* m_label_osc0_level; Slider* m_slider_osc1_level; Label* m_label_osc1_level; Slider* m_slider_noise_level; Label* m_label_noise_level; ComboBox* m_comboBox_noise_shape; ButtonLED* m_btn_noise_enable_led; ButtonLED* m_btn_osc0_enable; ButtonLED* m_btn_osc1_enable; Label* m_label_patch_name; TextButton* m_button_patch_incr; TextButton* m_button_patch_decr; Label* m_label_patch_number; Label* m_label_osc1_pb_min; Label* m_label_osc1_pb_max; Label* m_label_osc0_pb_max; Label* m_label_osc0_pb_min; Slider* m_slider_master_tune; Label* m_label_master_tune; ToggleButton* m_button_humanize_enable; ComboBox* m_comboBox_vcf_order; Slider* m_slider_portamento_time; Label* m_label_portamento_time; ToggleButton* m_button_unisono_enable; Slider* m_slider_humanize_var_vco; Slider* m_slider_voice_pan_spread; Label* m_label_voice_pan_spread; Slider* m_slider_humanize_var_vcf; Slider* m_slider_humanize_var_env; Label* m_label_unisono_num_voices; ToggleButton* m_button_osc0_restart_enable; ToggleButton* m_button_osc1_restart_enable; ToggleButton* m_button_mono_enable; ComboBox* m_comboBox_osc1_fm_src1; ComboBox* m_comboBox_osc1_pwm_src1; ComboBox* m_comboBox_osc0_fm_src1; ComboBox* m_comboBox_osc0_pwm_src1; ComboBox* m_comboBox_osc1_am_src0; ComboBox* m_comboBox_osc1_am_src1; Slider* m_slider_osc1_am_amt0; Label* m_label_osc1_am_amt0; ComboBox* m_comboBox_osc0_am_src0; ComboBox* m_comboBox_osc0_am_src1; Slider* m_slider_osc0_am_amt0; Label* m_label_osc0_am_amt0; Slider* m_slider_env2_attack; Slider* m_slider_env2_decay; Slider* m_slider_env2_release; Slider* m_slider_env2_sustain; Label* m_label_env2_attack; Label* m_label_env2_decay; Label* m_label_env2_sustain; Label* m_label_env2_release; Slider* m_slider_env3_attack; Slider* m_slider_env3_decay; Slider* m_slider_env3_release; Slider* m_slider_env3_sustain; Label* m_label_env3_attack; Label* m_label_env3_decay; Label* m_label_env3_sustain; Label* m_label_env3_release; ComboBox* m_comboBox_vcf_f_src1; Slider* m_slider_vcf_q_amt0; Label* m_label_vcf_q_amt0; ComboBox* m_comboBox_vcf_q_src0; ComboBox* m_comboBox_vcf_q_src1; Label* m_label_humanize_var_vco; Label* m_label_humanize_var_vcf; Label* m_label_humanize_var_env; ButtonLED* m_btn_limiter_led; Label* m_label_limiter_led; Slider* m_slider_lfo0_delay; Label* m_label_lfo0_delay; Slider* m_slider_lfo0_attack; Label* m_label_lfo0_attack; Slider* m_slider_lfo1_delay; Label* m_label_lfo1_delay; Slider* m_slider_lfo1_attack; Label* m_label_lfo1_attack; Slider* m_slider_lfo2_delay; Label* m_label_lfo2_delay; Slider* m_slider_lfo2_attack; Label* m_label_lfo2_attack; Slider* m_slider_lfo3_delay; Label* m_label_lfo3_delay; Slider* m_slider_lfo3_attack; Label* m_label_lfo3_attack; ToggleButton* m_button_lfo0_restart_enable; ToggleButton* m_button_lfo0_individual_enable; Slider* m_slider_lfo0_symmetry; Label* m_label_lfo0_symmetry; Slider* m_slider_lfo1_symmetry; Label* m_label_lfo1_symmetry; ToggleButton* m_button_lfo1_restart_enable; ToggleButton* m_button_lfo1_individual_enable; ToggleButton* m_button_lfo2_restart_enable; ToggleButton* m_button_lfo2_individual_enable; Slider* m_slider_lfo2_symmetry; Label* m_label_lfo2_symmetry; Slider* m_slider_lfo3_symmetry; Label* m_label_lfo3_symmetry; ToggleButton* m_button_lfo3_restart_enable; ToggleButton* m_button_lfo3_individual_enable; Slider* m_slider_osc0_fm_amt1; Label* m_label_osc0_fm_amt1; Slider* m_slider_osc0_pwm_amt1; Label* m_label_osc0_pwm_amt1; Slider* m_slider_osc0_am_amt1; Label* m_label_osc0_am_amt1; Slider* m_slider_osc1_fm_amt1; Label* m_label_osc1_fm_amt1; Slider* m_slider_osc1_pwm_amt1; Label* m_label_osc1_pwm_amt1; Slider* m_slider_osc1_am_amt1; Label* m_label_osc1_am_amt1; Slider* m_slider_vcf_f_amt1; Label* m_label_vcf_f_amt1; Slider* m_slider_vcf_q_amt1; Label* m_label_vcf_q_amt1; ToggleButton* m_button_mono_retrigger; Label* m_label_max_num_voices; Label* m_label_num_voices_playing; //============================================================================== // (prevent copy constructor and operator= being generated..) JaySynthAudioProcessorEditor (const JaySynthAudioProcessorEditor&); const JaySynthAudioProcessorEditor& operator= (const JaySynthAudioProcessorEditor&); }; #endif // __JUCER_HEADER_JAYSYNTHAUDIOPROCESSOREDITOR_JAYSYNTHAUDIOPROCESSOREDITOR_1F0BC626__