Beispiel #1
0
Reverb::Reverb() {

	params.room_size = 0.8;
	params.damp = 0.5;
	params.dry = 1.0;
	params.wet = 0.0;
	params.mix_rate = 44100;
	params.extra_spread_base = 0;
	params.extra_spread = 1.0;
	params.predelay = 150;
	params.predelay_fb = 0.4;
	params.hpf = 0;
	hpf_h1 = 0;
	hpf_h2 = 0;

	input_buffer = memnew_arr(float, INPUT_BUFFER_MAX_SIZE);
	echo_buffer = 0;

	configure_buffers();
	update_parameters();
}
Beispiel #2
0
void Reverb::set_extra_spread_base(float p_sec) {

	params.extra_spread_base=p_sec;
	configure_buffers();
}
Beispiel #3
0
void Reverb::set_mix_rate(float p_mix_rate) {

	params.mix_rate=p_mix_rate;
	configure_buffers();
}