previous next Up Title Contents

Setting the Process Modules

In figure [19] stage (v) of the standard program format for this example program is shown.

	ReadPars_PureTone( stParFile );
	PrintPars_PureTone();

	ReadPars_PreEmphasis_BandPass( pEParFile );
	PrintPars_PreEmphasis_BandPass();

	ReadPars_BasilarM_GammaT( bMParFile );
	PrintPars_BasilarM_GammaT();

	ReadPars_IHC_Meddis86( hCParFile );
	PrintPars_IHC_Meddis86();

Figure [19]: AudPer86.c - Setting the Process Modules

The routine names for the process modules used in the simulation are called directly, using their absolute routine names. Notice in particular that the inner hair cell receptor potential does not appear among the modules. An EarObject is included in the generic program example which can be used by the receptor potential process[5], but it is initialised as a "null" process. This allows the generic programming program to be used with the Meddis 93 inner hair cell model, if required, by changing the appropriate names in the main parameter file.

[5]The inner hair cell receptor potential process must be used in conjunction with the Meddis 93 inner hair cell model.


previous next Up Title Contents