Revision 24:a5e4a43c1673 testPrograms/test_MAP1_14.m

View differences:

testPrograms/test_MAP1_14.m
32 32
%
33 33
% When the demonstration is satisfactory, freeze it by renaming it <demoxx>
34 34

  
35
restorePath=path;
36
addpath (['..' filesep 'MAP'],    ['..' filesep 'wavFileStore'], ...
37
    ['..' filesep 'utilities'])
35 38

  
36 39
%%  #1 parameter file name
37 40
MAPparamsName='Normal';
......
48 51
%% #3 pure tone, harmonic sequence or speech file input
49 52
signalType= 'tones';
50 53
sampleRate= 100000;
51
duration=0.010;                 % seconds
54
duration=0.50;                 % seconds
52 55
% toneFrequency= 250:250:8000;    % harmonic sequence (Hz)
53
toneFrequency= 4000;            % or a pure tone (Hz8
56
toneFrequency= 500;            % or a pure tone (Hz8
54 57
rampDuration=.005;              % seconds
55 58

  
56 59
% or
......
60 63

  
61 64
%% #4 rms level
62 65
% signal details
63
leveldBSPL= 70;                  % dB SPL
66
leveldBSPL= 90;                  % dB SPL
64 67

  
65 68

  
66 69
%% #5 number of channels in the model
......
140 143
disp([num2str(numChannels) ' channel model'])
141 144
disp('Computing ...')
142 145

  
143
restorePath=path;
144
addpath (['..' filesep 'MAP'])
145
addpath (['..' filesep 'utilities'])
146

  
147 146
MAP1_14(inputSignal, sampleRate, BFlist, ...
148 147
    MAPparamsName, AN_spikesOrProbability, paramChanges);
149 148
toc

Also available in: Unified diff