comparison aim-mat/modules/usermodule/pitchstrength/parameters.m @ 4:537f939baef0 tip

various bug fixes and changed copyright message
author Stefan Bleeck <bleeck@gmail.com>
date Tue, 16 Aug 2011 14:37:17 +0100
parents
children
comparison
equal deleted inserted replaced
3:20ada0af3d7d 4:537f939baef0
1 %%%%%%%%%%%%%
2 % usermodules
3 pitchstrength.generatingfunction='genpitchstrength';
4 pitchstrength.displayname='Pitch strength';
5 pitchstrength.displayfunction='displaypitchstrength';
6 pitchstrength.revision='$Revision: 1.4 $';
7
8
9 % The frequency in the temporal profile, that we are interested in
10 pitchstrength.target_frequency=0; % if zero, then look for the highest pitch strength on your own!
11 % if we have a target frequency, then the found frequency can deviate by so much:
12 pitchstrength.allowed_frequency_deviation=1.12; %two halftones
13
14 % how long the temporal profiles are averaged to get the peak
15 pitchstrength.tip_average_time=0.05; % in sec (50 ms)
16 pitchstrength.low_pass_frequency=1000; % Hz is used in the logarithmic(!) tip for averaging
17
18
19 % Parameters for the different ways to define the pitch strength
20 % Parameters for the qualitly measurement (hight/width)
21 pitchstrength.height_width_ratio=0.3; % at witch point of the height, the width is measured
22
23
24 % parameters for the frequency profile
25 pitchstrength.start_frequency_integration=0.2; % start the ratio calculation at a region at 20% of the maximum
26 pitchstrength.stop_frequency_integration=0.8; % stop the ratio calculation at 80% below the maximum
27