home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / lang / lisp / 3199 < prev    next >
Encoding:
Internet Message Format  |  1993-01-07  |  1.5 KB

  1. Path: sparky!uunet!olivea!charnel!rat!usc!rpi!batcomputer!cornell!raman
  2. From: raman@cs.cornell.edu (T. V. Raman)
  3. Newsgroups: comp.lang.lisp
  4. Subject: Playing sparcaudio directly from lisp
  5. Summary: A play function in lucid lisp?
  6. Keywords: Lucid sparcaudio
  7. Message-ID: <1993Jan7.210217.21559@cs.cornell.edu>
  8. Date: 7 Jan 93 21:02:17 GMT
  9. Organization: Cornell Univ. CS Dept, Ithaca NY 14853
  10. Lines: 31
  11.  
  12.  
  13. Hi!
  14.  
  15. I plan to start using sparc audio extensively inside a clos program,
  16. (playing sound files)  and at present I am just calling the shell and
  17. invoking the play program.
  18.  
  19. As I am also using the multitasking environment, (the playing of a
  20. sound is a process)
  21. things do slow down my clos application.
  22.  
  23. How much of a performance benefit will I get if I rewrite play in
  24. lucid directly? I will avoid the overhead of starting a shell each
  25. time,  but will this be offset by the fact that I will be reading the
  26. data and writing it out to /dev/audio in lisp?
  27.  
  28. Finally if it would be worthwhile to write such a thing, how would one
  29. write an efficient version in lisp?  I have never done buffered I/O in
  30. lisp, and the play program written in C uses  buffered reads and
  31. writes for efficiency.
  32.  
  33.  
  34. Chancing my luck, has anyone written this already in lisp?
  35. Thanks,
  36.  
  37. --Raman
  38. -- 
  39.    T. V. Raman <raman@cs.cornell.edu>Tel: (607)255-9202  R 272-3649
  40.                        Office: 4116 Upson Hall,
  41. Department of Computer Science, Cornell University Ithaca NY 14853-6201
  42.                 Res: 226 Bryant Avenue Ithaca NY 14850
  43.