| File
name
|
StFMTone.[ch]
|
| Description
|
This
program generates a frequeny modulated (FM) pure tone.
|
| Example
parameter file format
|
500.0 Stimulus frequency (Hz). 50.0 Stimulus signal intensity (dB SPL). 0 Stimulus phase (degrees). 80 Modulation depth (%). 200 Modulation frequency (Hz). 0 Modulation phase (degrees). 20.0e-3 Stimulus signal duration (seconds). 0.05e-3 Stimulus sampling interval, dt (seconds). |
| Test
program directory
|
Tests/Combinations
|
| Syntax
|
BOOLN GenerateSignal_PureTone_FM(EarObjectPtr
data);
|
| Returns
|
TRUE
if the process is successful, otherwise it returns FALSE.
|
| Syntax
|
BOOLN SetModulationDepth_PureTone_FM(double
theModulationDepth);
|
| Returns
|
TRUE
if the function is successful, otherwise it returns FALSE.
|
| Syntax
|
BOOLN SetDuration_PureTone_FM(double
theDuration);
|
| Returns
|
TRUE
if the function is successful, otherwise it returns FALSE.
|
| Syntax
|
BOOLN SetModulationFrequency_PureTone_FM(double
theModulationFrequency);
|
| Returns
|
TRUE
if the function is successful, otherwise it returns FALSE.
|
| Syntax
|
BOOLN SetFrequency_PureTone_FM(double
theFrequency);
|
| Returns
|
TRUE
if the function is successful, otherwise it returns FALSE.
|
| Syntax
|
BOOLN SetIntensity_PureTone_FM(double
theIntensity);
|
| Returns
|
TRUE
if the function is successful, otherwise it returns FALSE.
|
| Syntax
|
BOOLN SetPars_PureTone_FM(double frequency, double
intensity, double duration, double samplingInterval,
double phase, double modulationDepth, double
modulationFrequency, double modulationPhase);
|
| Returns
|
TRUE
if the function is successful, otherwise it returns FALSE.
|
| Syntax
|
BOOLN SetModulationPhase_PureTone_FM(double
thePhaseFM);
|
| Returns
|
TRUE
if the function is successful, otherwise it returns FALSE.
|
| Syntax
|
BOOLN SetPhase_PureTone_FM(double thePhase);
|
| Returns
|
TRUE
if the function is successful, otherwise it returns FALSE.
|
| Syntax
|
BOOLN SetSamplingInterval_PureTone_FM(double
theSamplingInterval);
|
| Returns
|
TRUE
if the function is successful, otherwise it returns FALSE.
|
# # Main Parameter file # output.dat Name of output file. # Module specifications #Par. file Name Description #--------- ----- ------------- ParFiles/St/FMPTone1.par PureTone_FM Stimulus generation paradigm. ParFiles/PE/PreEmph1.par null Outer-/middler-ear filter model. ParFiles/BM/GammaT5k.par null Basilar membrane filter model. ParFiles/IHC/CarneyRP1.par null IHC receptor potential model. ParFiles/IHC/Meddis86.par null Inner hair cell (IHC) model. ParFiles/AN/BinomSG1.par null Auditory nerve spike gen. ParFiles/NC/Dendrite3.par null Dendritic filtering. ParFiles/NC/MG92Stellate.par null Neural cell model. # Miscellaneous parameters 2.5e-3 Ramp up rise time for signal (s).
Figure [142] A stimulus generated by the PureTone_FM module.