home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / speechlb.zip / Speech.H < prev    next >
Text File  |  1999-11-20  |  724b  |  15 lines

  1.  
  2. #define SYS _syscall
  3.  
  4. void SYS string2phone(char *s,char *p,int *n);     /* String to phoneme string*/
  5. void SYS string2wave(char *s,char *w,int *m);     /*String to raw wave file (no wave header) */
  6. void SYS say_string(char *s);                /*Speek string*/
  7. void SYS setsamprate(int s);                /*Set sample rate (8,11,22 ect.*/
  8. void SYS setbits(int b);                    /* 16 / 8 bits*/
  9. void SYS say_phones(char *phone, int len);        /*Speek phonemes string*/
  10. void SYS audio_init(int i);                /*Init device, 0=default, -1=don't change current*/
  11. int SYS audio_term(void SYS);                /*terminate audio, returns 0 when all instances are stopped*/
  12. void SYS audio_play(int n, short *data);        /*Play raw wave*/
  13. void SYS set_mute(int n);                /*Mute on/off*/
  14.  
  15.