Revision 25:d2c4c07df02c testPrograms/demoTwisterProbability.m
| testPrograms/demoTwisterProbability.m | ||
|---|---|---|
| 3 | 3 |
% MAPdemo runs the MATLAB auditory periphery model (MAP1_14) as far as |
| 4 | 4 |
% the AN (probabilities) or IC (spikes) with graphical output |
| 5 | 5 |
|
| 6 |
dbstop if error |
|
| 6 | 7 |
restorePath=path; |
| 7 | 8 |
addpath (['..' filesep 'MAP'], ['..' filesep 'wavFileStore'], ... |
| 8 | 9 |
['..' filesep 'utilities']) |
| ... | ... | |
| 44 | 45 |
|
| 45 | 46 |
%% Generate stimuli |
| 46 | 47 |
|
| 47 |
dbstop if error |
|
| 48 |
restorePath=path; |
|
| 49 |
addpath (['..' filesep 'MAP'], ['..' filesep 'wavFileStore']) |
|
| 50 | 48 |
switch signalType |
| 51 | 49 |
case 'tones' |
| 52 | 50 |
inputSignal=createMultiTone(sampleRate, toneFrequency, ... |
Also available in: Unified diff