|
|
@ -72,12 +72,29 @@ class Dexed |
|
|
|
Controllers controllers; |
|
|
|
Controllers controllers; |
|
|
|
VoiceStatus voiceStatus; |
|
|
|
VoiceStatus voiceStatus; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
uint8_t data[173] = { |
|
|
|
|
|
|
|
95, 29, 20, 50, 99, 95, 00, 00, 41, 00, 19, 00, 00, 03, 00, 06, 79, 00, 01, 00, 14, // OP6 eg_rate_1-4, level_1-4, kbd_lev_scl_brk_pt, kbd_lev_scl_lft_depth, kbd_lev_scl_rht_depth, kbd_lev_scl_lft_curve, kbd_lev_scl_rht_curve, kbd_rate_scaling, amp_mod_sensitivity, key_vel_sensitivity, operator_output_level, osc_mode, osc_freq_coarse, osc_freq_fine, osc_detune
|
|
|
|
|
|
|
|
95, 20, 20, 50, 99, 95, 00, 00, 00, 00, 00, 00, 00, 03, 00, 00, 99, 00, 01, 00, 00, // OP5
|
|
|
|
|
|
|
|
95, 29, 20, 50, 99, 95, 00, 00, 00, 00, 00, 00, 00, 03, 00, 06, 89, 00, 01, 00, 07, // OP4
|
|
|
|
|
|
|
|
95, 20, 20, 50, 99, 95, 00, 00, 00, 00, 00, 00, 00, 03, 00, 02, 99, 00, 01, 00, 07, // OP3
|
|
|
|
|
|
|
|
95, 50, 35, 78, 99, 75, 00, 00, 00, 00, 00, 00, 00, 03, 00, 07, 58, 00, 14, 00, 07, // OP2
|
|
|
|
|
|
|
|
96, 25, 25, 67, 99, 75, 00, 00, 00, 00, 00, 00, 00, 03, 00, 02, 99, 00, 01, 00, 10, // OP1
|
|
|
|
|
|
|
|
94, 67, 95, 60, 50, 50, 50, 50, // 4 * pitch EG rates, 4 *pitch EG level
|
|
|
|
|
|
|
|
04, 06, 00, // algorithm, feedback, osc sync
|
|
|
|
|
|
|
|
34, 33, 00, 00, 00, 04, // lfo speed, lfo delay, lfo pitch_mod_depth, lfo_amp_mod_depth, lfo_sync, lfo_waveform
|
|
|
|
|
|
|
|
03, 24, // pitch_mod_sensitivity, transpose
|
|
|
|
|
|
|
|
00, 00, 00, 00, 00, 00, 00, 00, 00, 00, // 10 * char for name
|
|
|
|
|
|
|
|
01, 00, 99, 00, 99, 00, 99, 00, 99, 00, // pitch_bend_range, pitch_bend_step, mod_wheel_range, mod_wheel_assign, foot_ctrl_range, foot_ctrl_assign, breath_ctrl_range, breath_ctrl_assign, aftertouch_range, aftertouch_assign
|
|
|
|
|
|
|
|
00, // master tune
|
|
|
|
|
|
|
|
01, 01, 01, 01, 01, 01, // OP1-6 enable
|
|
|
|
|
|
|
|
16 // number of voices
|
|
|
|
|
|
|
|
}; // FM-Piano
|
|
|
|
|
|
|
|
|
|
|
|
protected: |
|
|
|
protected: |
|
|
|
//void onParam(uint8_t param_num,float param_val);
|
|
|
|
//void onParam(uint8_t param_num,float param_val);
|
|
|
|
void keyup(uint8_t pitch); |
|
|
|
void keyup(uint8_t pitch); |
|
|
|
void keydown(uint8_t pitch, uint8_t velo); |
|
|
|
void keydown(uint8_t pitch, uint8_t velo); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static const uint8_t MAX_ACTIVE_NOTES = 16; |
|
|
|
static const uint8_t MAX_ACTIVE_NOTES = 16; |
|
|
|
uint8_t max_notes = MAX_ACTIVE_NOTES; |
|
|
|
uint8_t max_notes = MAX_ACTIVE_NOTES; |
|
|
|
ProcessorVoice voices[MAX_ACTIVE_NOTES]; |
|
|
|
ProcessorVoice voices[MAX_ACTIVE_NOTES]; |
|
|
@ -91,28 +108,11 @@ class Dexed |
|
|
|
EngineMkI* engineMkI; |
|
|
|
EngineMkI* engineMkI; |
|
|
|
EngineOpl* engineOpl; |
|
|
|
EngineOpl* engineOpl; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private: |
|
|
|
private: |
|
|
|
uint8_t _k_rate_counter; |
|
|
|
uint8_t _k_rate_counter; |
|
|
|
uint8_t _param_change_counter; |
|
|
|
uint8_t _param_change_counter; |
|
|
|
|
|
|
|
|
|
|
|
uint8_t data[173] = { |
|
|
|
|
|
|
|
95, 29, 20, 50, 99, 95, 00, 00, 41, 00, 19, 00, 00, 03, 00, 06, 79, 00, 01, 00, 14, // OP6 eg_rate_1-4, level_1-4, kbd_lev_scl_brk_pt, kbd_lev_scl_lft_depth, kbd_lev_scl_rht_depth, kbd_lev_scl_lft_curve, kbd_lev_scl_rht_curve, kbd_rate_scaling, amp_mod_sensitivity, key_vel_sensitivity, operator_output_level, osc_mode, osc_freq_coarse, osc_freq_fine, osc_detune
|
|
|
|
|
|
|
|
95, 20, 20, 50, 99, 95, 00, 00, 00, 00, 00, 00, 00, 03, 00, 00, 99, 00, 01, 00, 00, // OP5
|
|
|
|
|
|
|
|
95, 29, 20, 50, 99, 95, 00, 00, 00, 00, 00, 00, 00, 03, 00, 06, 89, 00, 01, 00, 07, // OP4
|
|
|
|
|
|
|
|
95, 20, 20, 50, 99, 95, 00, 00, 00, 00, 00, 00, 00, 03, 00, 02, 99, 00, 01, 00, 07, // OP3
|
|
|
|
|
|
|
|
95, 50, 35, 78, 99, 75, 00, 00, 00, 00, 00, 00, 00, 03, 00, 07, 58, 00, 14, 00, 07, // OP2
|
|
|
|
|
|
|
|
96, 25, 25, 67, 99, 75, 00, 00, 00, 00, 00, 00, 00, 03, 00, 02, 99, 00, 01, 00, 10, // OP1
|
|
|
|
|
|
|
|
94, 67, 95, 60, 50, 50, 50, 50, // 4 * pitch EG rates, 4 *pitch EG level
|
|
|
|
|
|
|
|
04, 06, 00, // algorithm, feedback, osc sync
|
|
|
|
|
|
|
|
34, 33, 00, 00, 00, 04, // lfo speed, lfo delay, lfo pitch_mod_depth, lfo_amp_mod_depth, lfo_sync, lfo_waveform
|
|
|
|
|
|
|
|
03, 24, // pitch_mod_sensitivity, transpose
|
|
|
|
|
|
|
|
00, 00, 00, 00, 00, 00, 00, 00, 00, 00, // 10 * char for name
|
|
|
|
|
|
|
|
01, 00, 99, 00, 99, 00, 99, 00, 99, 00, // pitch_bend_range, pitch_bend_step, mod_wheel_range, mod_wheel_assign, foot_ctrl_range, foot_ctrl_assign, breath_ctrl_range, breath_ctrl_assign, aftertouch_range, aftertouch_assign
|
|
|
|
|
|
|
|
00, // master tune
|
|
|
|
|
|
|
|
01, 01, 01, 01, 01, 01, // OP1-6 enable
|
|
|
|
|
|
|
|
16 // number of voices
|
|
|
|
|
|
|
|
}; // INIT
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
#endif // PLUGINPROCESSOR_H_INCLUDED
|
|
|
|
#endif // PLUGINPROCESSOR_H_INCLUDED
|
|
|
|