home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 611.lha / AlgoRhythms_v2.0 / Source.LZH / Source / AlgoRhythms.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-02-22  |  582 b   |  33 lines

  1. #ifndef ALGORHYTHMS_LOADED
  2. #define ALGORHYTHMS_LOADED 1
  3.  
  4. /* AlgoRhythms.h */
  5. #define MAXVOICE (20)
  6.  
  7. typedef struct {
  8.     struct timeval StartTime,
  9.                    Duration,
  10.                   StopTime;
  11.     int   Pitch,
  12.           Dynamic,
  13.           Channel,
  14.           CurPitch,
  15.           LowPitch, /* CHANGE THIS IN ALGORHYTHMS.C AND MUSICSERIAL.C*/
  16.           HighPitch,
  17.           Walking,
  18.          Playing;
  19. } NOTEEVENT;
  20.  
  21. typedef struct {
  22.     double   CenterCycle,
  23.              CenterPhase,
  24.              SpreadCycle,
  25.              SpreadPhase;
  26. } PARAMETER;
  27.  
  28. extern int fubar;
  29. extern int quit;
  30. extern int scale[];
  31.  
  32. #endif
  33.