| File
name
|
StBPTone.[ch]
|
| Description
|
This
module generates a binaural pure tone stimulus.
|
| Example
parameter file format
|
# Frequency Intensity # (Hz) (dB SPL). 1000.0 20 Left stimulus. 1000.0 20 Right stimulus. 180.0 Phase difference between channels (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_Binaural(EarObjectPtr
theObject);
|
| Returns
|
TRUE
if the process is successful, otherwise it returns FALSE.
|
| Syntax
|
BOOLN SetDuration_PureTone_Binaural(double
theDuration);
|
| Returns
|
TRUE
if the function is successful, otherwise it returns FALSE.
|
| Syntax
|
BOOLN SetIndividualFreq_PureTone_Binaural(int
channel, double theFrequency);
|
| Returns
|
TRUE
if the function is successful, otherwise it returns FALSE.
|
| Syntax
|
BOOLN SetIndividualIntensity_PureTone_Binaural(int
channel, double theIntensity);
|
| Returns
|
TRUE
if the function is successful, otherwise it returns FALSE.
|
| Syntax
|
BOOLN SetPars_PureTone_Binaural(double
leftFrequency, double rightFrequency, double
leftIntensity, double rightIntensity, double
phaseDifference, double theDuration, double
theSamplingInterval);
|
| Returns
|
TRUE
if the function is successful, otherwise it returns FALSE.
|
| Syntax
|
BOOLN SetPhaseDifference_PureTone_Binaural(double
thePhaseDifference);
|
| Returns
|
TRUE
if the function is successful, otherwise it returns FALSE.
|
| Syntax
|
BOOLN SetSamplingInterval_PureTone_Binaural(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/BPTone1.par PureTone_Binaural 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 [141] A stimulus generated by the PureTone_Binaural module.