| | |
| | | } |
| | | |
| | | void reverb_wrapper_init(void **p, int channels, int frame_size, int sample_rate, double room_size, double wetdry_ratio, double reverb_time, double pre_delay, |
| | | double high_damp_freq, double high_ratio, double diffusion, double density, double hpf, double lpf |
| | | ) |
| | | double high_damp_freq, double high_ratio, double diffusion, double density, double hpf, double lpf |
| | | ) |
| | | { |
| | | ReverbUI ui = {room_size, wetdry_ratio, reverb_time, pre_delay, high_damp_freq, high_ratio, diffusion, density, hpf, lpf}; |
| | | c_t.sample_rate = sample_rate; |
| | |
| | | } |
| | | |
| | | |
| | | void reverb_wrapper_process(void *p, int sample_rate, double room_size, double wetdry_ratio, double reverb_time, double pre_delay, |
| | | double high_damp_freq, double high_ratio, double diffusion, double density, double hpf, double lpf, |
| | | void reverb_wrapper_process(void *p,/* int sample_rate, double room_size, double wetdry_ratio, double reverb_time, double pre_delay, |
| | | double high_damp_freq, double high_ratio, double diffusion, double density, double hpf, double lpf,*/ |
| | | float *src, float *dst) |
| | | { |
| | | int i; |
| | |
| | | |
| | | reverb_process(p, x, y); |
| | | |
| | | ReverbUI uip = {room_size, wetdry_ratio, reverb_time, pre_delay, high_damp_freq, high_ratio, diffusion, density, hpf, lpf}; |
| | | /*ReverbUI uip = {room_size, wetdry_ratio, reverb_time, pre_delay, high_damp_freq, high_ratio, diffusion, density, hpf, lpf}; |
| | | params_chg(&c_t, &t_t, &e_t, &l_t, &eq_t, &uip); |
| | | |
| | | Reverb params = {ch, n, {sample_rate, c_t.dry, c_t.early, c_t.late, c_t.input_mix_on, c_t.high_cut_on, c_t.low_cut_on, c_t.input_mix, c_t.high_cut, c_t.low_cut, c_t.cross_seed}, |
| | |
| | | {eq_t.low_shelf_on, eq_t.high_shelf_on, eq_t.low_pass_on, eq_t.low_shelf_freq, eq_t.low_shelf_gain, eq_t.high_shelf_freq, eq_t.high_shelf_gain, eq_t.low_pass_freq}, |
| | | }; |
| | | |
| | | reverb_params_set(¶ms); |
| | | reverb_params_set(¶ms);*/ |
| | | |
| | | } |
| | | |
| | |
| | | } |
| | | |
| | | |
| | | void reverb_wrapper_process(void *p, int sample_rate, double dry, double early, double late, int input_mix_on, int hight_cut_on, // 6 |
| | | void reverb_wrapper_process(void *p,/* int sample_rate, double dry, double early, double late, int input_mix_on, int hight_cut_on, // 6 |
| | | int low_cut_on, double input_mix, double high_cut_freq, double low_cut_freq, double cross_seed, int taps_on, double taps_count, double taps_pre_delay, double taps_decay, double taps_length, int early_difus_on, double early_difus_count, double early_difus_delay, // 13 |
| | | double early_difus_feedback, double early_difus_mod_amt, double early_difus_mod_rate, int late_mode, int late_reflect_on, double late_line_count, double late_line_size, double late_line_mod_amt, double late_line_decay, double late_line_mod_rate, double late_difus_count, double late_difus_delay, // 12 |
| | | double late_difus_feedback, double late_difus_mod_amt, double late_difus_mod_rate, int eq_low_shelf_on, int eq_high_shelf_on, int eq_low_pass_on, double eq_low_shelf_freq, double eq_low_shelf_gain, double eq_high_shelf_freq, double eq_high_shelf_gain, double eq_low_pass_freq, |
| | | double late_difus_feedback, double late_difus_mod_amt, double late_difus_mod_rate, int eq_low_shelf_on, int eq_high_shelf_on, int eq_low_pass_on, double eq_low_shelf_freq, double eq_low_shelf_gain, double eq_high_shelf_freq, double eq_high_shelf_gain, double eq_low_pass_freq,*/ |
| | | float *src, float *dst) |
| | | { |
| | | int i; |
| | |
| | | |
| | | reverb_process(p, x, y); |
| | | |
| | | Reverb params = {ch, n, {sample_rate, dry, early, late, input_mix_on, hight_cut_on, low_cut_on, input_mix, high_cut_freq, low_cut_freq, cross_seed}, |
| | | {taps_on, taps_count, taps_pre_delay, taps_decay, taps_length}, |
| | | {early_difus_on, early_difus_count, early_difus_delay, early_difus_feedback, early_difus_mod_amt, early_difus_mod_rate}, |
| | | {late_mode, late_reflect_on, late_line_count, late_line_size, late_line_mod_amt, late_line_mod_rate}, |
| | | {eq_low_shelf_on, eq_high_shelf_on, eq_low_pass_on, eq_low_shelf_freq, eq_low_shelf_gain, eq_high_shelf_freq, eq_high_shelf_gain, eq_low_pass_freq}, |
| | | }; |
| | | reverb_params_set(¶ms); |
| | | //Reverb params = {ch, n, {sample_rate, dry, early, late, input_mix_on, hight_cut_on, low_cut_on, input_mix, high_cut_freq, low_cut_freq, cross_seed}, |
| | | // {taps_on, taps_count, taps_pre_delay, taps_decay, taps_length}, |
| | | // {early_difus_on, early_difus_count, early_difus_delay, early_difus_feedback, early_difus_mod_amt, early_difus_mod_rate}, |
| | | // {late_mode, late_reflect_on, late_line_count, late_line_size, late_line_mod_amt, late_line_mod_rate}, |
| | | // {eq_low_shelf_on, eq_high_shelf_on, eq_low_pass_on, eq_low_shelf_freq, eq_low_shelf_gain, eq_high_shelf_freq, eq_high_shelf_gain, eq_low_pass_freq}, |
| | | // }; |
| | | //reverb_params_set(¶ms); |
| | | |
| | | } |
| | | |