home *** CD-ROM | disk | FTP | other *** search
/ Education Sampler 1992 [NeXTSTEP] / Education_1992_Sampler.iso / Programming / Source / Reich-o-Matic / Reichvals.h < prev   
Encoding:
C/C++ Source or Header  |  1992-07-31  |  1.3 KB  |  57 lines

  1. #define MINLENGTH 30
  2. #define MAXLENGTH 71
  3. #define MAXD2LENGTH 38
  4.  
  5.  
  6. #define LBREATH        49
  7. #define SBREATH        35
  8.  
  9. #define SIXTEENTH    0.1
  10. #define EIGHTH        2*SIXTEENTH
  11. #define QUARTER        2*EIGHTH
  12. #define CYCMEASURE    3*QUARTER
  13.  
  14. float Beats[4] = { SIXTEENTH, EIGHTH, EIGHTH, QUARTER };
  15.  
  16. #define CYCARRNOTES    4
  17. #define    NCYCS        9
  18. #define ARRNOTES    8
  19. #define NUMFLUTES    3
  20. #define CANONPT        4*QUARTER
  21. #define RUNNOTES    4
  22. #define UP            0
  23. #define DOWN        1
  24. #define NORUN        -1
  25.  
  26. #define LONGSECTDUR 5
  27. #define LONGSTART    21
  28. #define REGSECTDUR    9
  29. #define REGSTART    34
  30. #define RUNPROBINCR    0.035
  31. #define RESTPROBINCR    0.02
  32. #define AMPHIINCR    0.005
  33. #define AMPLOINCR    0.015
  34. #define PHASEINCR    0.01
  35. #define SLURPROB    0.2
  36.  
  37.  
  38. float Reichnotes[17][2] = {{1.000000,    0.810000}, //   Lowest C
  39.                 {0.795000,    0.620000},
  40.                 {0.600000,    0.500000},
  41.                 {0.486000,    0.510000}, //  Lowest F
  42.                 {0.310000,    0.350000}, 
  43.                 {0.090909,    0.250000}, 
  44.                 {1.000000,    0.180000}, //   C
  45.                  {0.795000,    0.100000},
  46.                 {0.600000,    0.000000},
  47.                 {0.486000,    0.070000}, //   F
  48.                 {0.300000,    0.000000}, 
  49.                 {0.085000,    0.550000}, 
  50.                 {0.470000,    1.000000}, //   C
  51.                 {0.312000,    0.910000},
  52.                 {0.170000,    0.750000},
  53.                 {0.052009,    0.670000}, //  F
  54.                 {0.340909,    0.952000}};
  55.                                                                  
  56. #define NUMNOTES    17     // from above array
  57.