home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / speech / 432 < prev    next >
Encoding:
Text File  |  1993-01-11  |  1.7 KB  |  47 lines

  1. Newsgroups: comp.speech
  2. Path: sparky!uunet!munnari.oz.au!hp9000.csc.cuhk.hk!cucs5.cs.cuhk.hk!yu030
  3. From: yu030@cs.cuhk.hk (Yu Wai Leung)
  4. Subject: Re: Klatt SYnthesizer (How to work)
  5. Message-ID: <1993Jan11.013217.8139@cucs5.cs.cuhk.hk>
  6. Sender: news@cucs5.cs.cuhk.hk
  7. Organization: Faculty of Engineering, The Chinese U. of Hong Kong
  8. References: <1993Jan8.024840.12894@cucs5.cs.cuhk.hk> <gordon.726507433@spot.Colorado.EDU>
  9. Date: Mon, 11 Jan 1993 01:32:17 GMT
  10. Lines: 35
  11.  
  12. gordon@spot.Colorado.EDU (GORDON ALLEN R) writes:
  13.  
  14. >I got this to work, sort of.  With the file hello.par, klatt produces a .dat
  15. >file, which I presume is the waveform and a .xgr file, which can be used with
  16.  
  17. >    graph ... | xplot
  18.  
  19. >to produce a plot of the waveform.  When I attempt to play the signal, it does
  20. >produce sound on the sparc, but it is not recognizable.  The waveform does not
  21. >really look like speech, also.  Is this some sort of logarithmic compression?
  22.  
  23. >Finally, when klatt is exited, I must run stty sane to get the keyboard/monitor
  24. >to respond normally.
  25.  
  26. >Any suggestions?
  27.  
  28. >Allen
  29.  
  30. According to my interpretation, "klatt" will produce files with the 
  31. following extensions: .xgr, .dat and .au. Only files of extension
  32. .au are playable on sparc stations. And the .xgr and .dat files
  33. are binary files which contain the entire waveform produced by the
  34. synthesizer. If you found that the .xgr's and .dat's non-readable,
  35. you can try to extract the waveform by yourself by looking into
  36. the content of the short integer array "iwave" in the source file
  37. "klatt.c". In "klatt.c", the content of "iwave" are compressed
  38. (using mu-law) and the results will be placed in a character array
  39. called "plabuf". 
  40.  
  41. Cheers!
  42.  
  43. Yu Wai-Leung
  44. Dept of Computer Science, 
  45. Chinese University of Hong Kong
  46. e-mail: yu030@cs.cuhk.hk
  47.