view model/model.h @ 0:5242703e91d3 tip

Initial checkin for AIM92 aimR8.2 (last updated May 1997).
author tomwalters
date Fri, 20 May 2011 15:19:45 +0100
parents
children
line wrap: on
line source
/*
    model.h
    =======

    inteface to Auditory model software

*/

struct _stage {
  char *ident ;
  Source (*entry)() ;
  Option *options ;
  char **defaults ;
  char *help ;
} ;

extern struct _stage *FindStage( /* char *which */ ) ;

extern Source ModeledSource( /* Source input */ ) ;

extern char *modelStart() ;
extern char *modelHelp() ;


extern char *whichstr ;
extern double *frequencies ;

#if 00
extern char *samplestr ;
extern char *pwidthstr ;
extern char *nwidthstr ;
#endif

extern long Frames() ;

extern int Framebytes() ;
extern int Framewidth() ;
extern int Frameheight() ;
extern int Framestep() ;
extern int Nwidth() ;

extern int    OptionInt() ;
extern double OptionDouble() ;

extern double Samplerate() ;