Skip to content

Commit

Permalink
some parameter tuning
Browse files Browse the repository at this point in the history
  • Loading branch information
corrados committed Dec 12, 2021
1 parent 8aef66c commit a3d9a1e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions algorithm/signalsandsettings.m
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@
pad.first_peak_diff_thresh_db = 8;
pad.mask_time_decay_fact_db = 15;
pad.scan_time_ms = 2.5;
pad.pre_scan_time_ms = 3;
pad.decay_est_delay_ms = 8;
pad.decay_est_len_ms = 3;
pad.pre_scan_time_ms = 2.5;
pad.decay_est_delay_ms = 7;
pad.decay_est_len_ms = 4;
pad.decay_est_fact_db = 16;
pad.decay_fact_db = 1;
pad.decay_len_ms1 = 0; % not used
Expand Down
6 changes: 3 additions & 3 deletions edrumulus.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -308,9 +308,9 @@ void Edrumulus::Pad::set_pad_type ( const Epadtype new_pad_type )
pad_settings.first_peak_diff_thresh_db = 8.0f; // pad specific parameter: allowed difference between first peak and later peak in scan time
pad_settings.mask_time_decay_fact_db = 15.0f; // pad specific parameter: during mask time decay factor for maximum peak in scan time
pad_settings.scan_time_ms = 2.5f; // pad specific parameter: scan time after first detected peak
pad_settings.pre_scan_time_ms = 3.0f; // pad specific parameter: pre-scan time to search for first peak
pad_settings.decay_est_delay_ms = 8.0f; // pad specific parameter: delay after second main peak until decay power estimation starts
pad_settings.decay_est_len_ms = 3.0f; // pad specific parameter: decay power estimation window length
pad_settings.pre_scan_time_ms = 2.5f; // pad specific parameter: pre-scan time to search for first peak
pad_settings.decay_est_delay_ms = 7.0f; // pad specific parameter: delay after second main peak until decay power estimation starts
pad_settings.decay_est_len_ms = 4.0f; // pad specific parameter: decay power estimation window length
pad_settings.decay_est_fact_db = 16.0f; // pad specific parameter: decay power estimation factor (to get over decay ripple)
pad_settings.decay_fact_db = 1.0f; // pad specific parameter: vertical shift of the decay function in dB
pad_settings.decay_len1_ms = 0.0f; // pad specific parameter: length of the decay 1
Expand Down

0 comments on commit a3d9a1e

Please sign in to comment.