home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / Pascal / MAXONPASCAL2.DMS / in.adf / INCLUDE / devices / narrator.h < prev    next >
Encoding:
Text File  |  1994-07-25  |  2.2 KB  |  116 lines

  1. {$if not def DEVICES_NARRATOR_H} CONST DEVICES_NARRATOR_H=0;
  2.  
  3. { ********************************************************************
  4.   ** KickPascal-Include-Datei "devices/narrator.h" zu Kickstart 3.0 **
  5.   ******************************************************************** }
  6.  
  7. { *** nicht mehr Bestandteil des Betriebssystems! *** }
  8.  
  9. TYPE p_narrator_rb = ^narrator_rb;
  10. TYPE p_mouth_rb = ^mouth_rb;
  11.  
  12. {$if not def EXEC_IO_H;incl "exec/io.h";endif}
  13.  
  14. CONST
  15.  NDB_NEWIORB  = 0;
  16.  NDB_WORDSYNC = 1;
  17.  NDB_SYLSYNC  = 2;
  18.  
  19. CONST
  20.  NDF_NEWIORB  = $1;
  21.  NDF_WORDSYNC = $2;
  22.  NDF_SYLSYNC  = $4;
  23.  
  24.  
  25. CONST
  26.  ND_NoMem       = -2;
  27.  ND_NoAudLib    = -3;
  28.  ND_MakeBad     = -4;
  29.  ND_UnitErr     = -5;
  30.  ND_CantAlloc   = -6;
  31.  ND_Unimpl      = -7;
  32.  ND_NoWrite     = -8;
  33.  ND_Expunged    = -9;
  34.  ND_PhonErr     = -20;
  35.  ND_RateErr     = -21;
  36.  ND_PitchErr    = -22;
  37.  ND_SexErr      = -23;
  38.  ND_ModeErr     = -24;
  39.  ND_FreqErr     = -25;
  40.  ND_VolErr      = -26;
  41.  ND_DCentErr    = -27;
  42.  ND_CentPhonErr = -28;
  43.  
  44.  
  45. CONST
  46.  DEFPITCH     = 110;
  47.  DEFRATE      = 150;
  48.  DEFVOL       = 64;
  49.  DEFFREQ      = 22200;
  50.  MALE         = 0;
  51.  FEMALE       = 1;
  52.  NATURALF0    = 0;
  53.  ROBOTICF0    = 1;
  54.  MANUALF0     = 2;
  55.  DEFSEX       = MALE;
  56.  DEFMODE      = NATURALF0;
  57.  DEFARTIC     = 100;
  58.  DEFCENTRAL   = 0;
  59.  DEFF0PERT    = 0;
  60.  DEFF0ENTHUS  = 32;
  61.  DEFPRIORITY  = 100;
  62.  
  63. CONST
  64.  MINRATE    = 40;
  65.  MAXRATE    = 400;
  66.  MINPITCH   = 65;
  67.  MAXPITCH   = 320;
  68.  MINFREQ    = 5000;
  69.  MAXFREQ    = 28000;
  70.  MINVOL     = 0;
  71.  MAXVOL     = 64;
  72.  MINCENT    = 0;
  73.  MAXCENT    = 100;
  74.  
  75. TYPE narrator_rb = RECORD
  76.  message      : IOStdReq;
  77.  rate         : Word;
  78.  pitch        : Word;
  79.  mode         : Word;
  80.  sex          : Word;
  81.  ch_masks     : Ptr;
  82.  nm_masks     : Word;
  83.  volume       : Word;
  84.  sampfreq     : Word;
  85.  mouths       : Byte;
  86.  chanmask     : Byte;
  87.  numchan      : Byte;
  88.  flags        : Byte;
  89.  F0enthusiasm : Byte;
  90.  F0perturb    : Byte;
  91.  F1adj        : Short;
  92.  F2adj        : Short;
  93.  F3adj        : Short;
  94.  A1adj        : Short;
  95.  A2adj        : Short;
  96.  A3adj        : Short;
  97.  articulate   : Byte;
  98.  centralize   : Byte;
  99.  centphon     : Str;
  100.  AVbias       : Short;
  101.  AFbias       : Short;
  102.  priority     : Short;
  103.  pad1         : Short;
  104. END;
  105.  
  106. TYPE mouth_rb = RECORD
  107.  voice  : narrator_rb;
  108.  width  : Byte;
  109.  height : Byte;
  110.  shape  : Byte;
  111.  sync   : Byte;
  112. END;
  113.  
  114. {$endif}
  115.  
  116.