home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!charnel!rat!usc!rpi!batcomputer!cornell!raman
- From: raman@cs.cornell.edu (T. V. Raman)
- Newsgroups: comp.lang.lisp
- Subject: Playing sparcaudio directly from lisp
- Summary: A play function in lucid lisp?
- Keywords: Lucid sparcaudio
- Message-ID: <1993Jan7.210217.21559@cs.cornell.edu>
- Date: 7 Jan 93 21:02:17 GMT
- Organization: Cornell Univ. CS Dept, Ithaca NY 14853
- Lines: 31
-
-
- Hi!
-
- I plan to start using sparc audio extensively inside a clos program,
- (playing sound files) and at present I am just calling the shell and
- invoking the play program.
-
- As I am also using the multitasking environment, (the playing of a
- sound is a process)
- things do slow down my clos application.
-
- How much of a performance benefit will I get if I rewrite play in
- lucid directly? I will avoid the overhead of starting a shell each
- time, but will this be offset by the fact that I will be reading the
- data and writing it out to /dev/audio in lisp?
-
- Finally if it would be worthwhile to write such a thing, how would one
- write an efficient version in lisp? I have never done buffered I/O in
- lisp, and the play program written in C uses buffered reads and
- writes for efficiency.
-
-
- Chancing my luck, has anyone written this already in lisp?
- Thanks,
-
- --Raman
- --
- T. V. Raman <raman@cs.cornell.edu>Tel: (607)255-9202 R 272-3649
- Office: 4116 Upson Hall,
- Department of Computer Science, Cornell University Ithaca NY 14853-6201
- Res: 226 Bryant Avenue Ithaca NY 14850
-