[SCM] calf/master: + Benchmark: add more nasty compressor settings, add multichorus benchmarking
js at users.alioth.debian.org
js at users.alioth.debian.org
Tue May 7 15:38:40 UTC 2013
The following commit has been merged in the master branch:
commit 07f8f19792bd225437395857e93870e43031d655
Author: Krzysztof Foltman <wdev at foltman.com>
Date: Wed Nov 26 22:23:40 2008 +0000
+ Benchmark: add more nasty compressor settings, add multichorus benchmarking
diff --git a/src/benchmark.cpp b/src/benchmark.cpp
index 6b75df7..dd70d82 100644
--- a/src/benchmark.cpp
+++ b/src/benchmark.cpp
@@ -257,16 +257,33 @@ void get_default_effect_params<calf_plugins::flanger_audio_module>(float params[
}
template<>
-void get_default_effect_params<calf_plugins::compressor_audio_module>(float params[5], uint32_t &sr)
+void get_default_effect_params<calf_plugins::compressor_audio_module>(float params[], uint32_t &sr)
{
typedef calf_plugins::compressor_audio_module mod;
- params[mod::param_threshold] = 0.01;
+ params[mod::param_threshold] = 10;
params[mod::param_ratio] = 2;
params[mod::param_attack] = 0.1;
params[mod::param_release] = 100;
params[mod::param_makeup] = 1;
- params[mod::param_knee] = 1;
+ params[mod::param_stereo_link] = 1;
+ params[mod::param_detection] = 0;
+ params[mod::param_knee] = 40000;
params[mod::param_bypass] = 0;
+ params[mod::param_aweighting] = 1;
+ sr = 44100;
+}
+
+template<>
+void get_default_effect_params<calf_plugins::multichorus_audio_module>(float params[], uint32_t &sr)
+{
+ typedef calf_plugins::multichorus_audio_module mod;
+ params[mod::par_delay] = 10;
+ params[mod::par_depth] = 10;
+ params[mod::par_rate] = 1;
+ params[mod::par_voices] = 6;
+ params[mod::par_stereo] = 180;
+ params[mod::par_vphase] = 20;
+ params[mod::par_amount] = 0.9;
sr = 44100;
}
@@ -320,6 +337,7 @@ void effect_test()
dsp::do_simple_benchmark<effect_benchmark<calf_plugins::reverb_audio_module> >(5, 1000);
dsp::do_simple_benchmark<effect_benchmark<calf_plugins::filter_audio_module> >(5, 10000);
dsp::do_simple_benchmark<effect_benchmark<calf_plugins::compressor_audio_module> >(5, 10000);
+ dsp::do_simple_benchmark<effect_benchmark<calf_plugins::multichorus_audio_module> >(5, 10000);
}
#else
--
calf audio plugins packaging
More information about the pkg-multimedia-commits
mailing list