home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / amiga / audio / 3340 < prev    next >
Encoding:
Text File  |  1992-09-08  |  2.2 KB  |  46 lines

  1. Newsgroups: comp.sys.amiga.audio
  2. Path: sparky!uunet!gatech!ncar!uchinews!ellis!dgc3
  3. From: dgc3@ellis.uchicago.edu (milovan djilas)
  4. Subject: Re: digitizing 30 minutes voice
  5. Message-ID: <1992Sep7.145258.25040@midway.uchicago.edu>
  6. Sender: news@uchinews.uchicago.edu (News System)
  7. Reply-To: dgc3@midway.uchicago.edu
  8. Organization: Parts of the University of Chicago
  9. References: <1992Sep6.151209.24724@newshub.ariel.yorku.ca> <1992Sep7.002624.3524@midway.uchicago.edu> <1992Sep7.022410.28882@newshub.ariel.yorku.ca>
  10. Date: Mon, 7 Sep 1992 14:52:58 GMT
  11. Lines: 33
  12.  
  13. In article <1992Sep7.022410.28882@newshub.ariel.yorku.ca> cs902125@ariel.yorku.ca (SHUK C YIP) writes:
  14. >In article <1992Sep7.002624.3524@midway.uchicago.edu> dgc3@midway.uchicago.edu writes:
  15. >>other similarly slow device, but you can get around it by setting your
  16. >>buffer size to something larger than the file size.  In this case,
  17. >>oplay will read the whole file into RAM before playing.
  18. >
  19. >So, can I play 10meg sampling sound on a 2 meg A500?
  20.  
  21. Yes, you could even play it on a 256K A1000 (does anyone still have
  22. one of these?).
  23.  
  24. I realized as i was posting the last message how inconvenient the
  25. procedure I quoted above is, so  I just threw in an option to detect
  26. file size and set the buffer accordingly.  This newer version won't be
  27. available for a while, though, so until I can send it out you'll still
  28. have to check file size yourself when you want full-size buffers.
  29. (Actually, you only need to set buffer size to half the size of the
  30. sound for this; this way,  oplay loads half the sound and starts
  31. playing it, but so quickly as to be virtually instantaneous, it starts
  32. loading the second buffer.  You never notice that it's not loading
  33. everything at once, and you save half the RAM you otherwise would.)
  34.  
  35. Also, I noticed a bug when I was writing in that option: the current
  36. version of OmniPlay fails if it can't allocate two buffers.  This is
  37. not a problem with the default size of 4000 bytes, but if you try to
  38. set buffer size to  more than half your available memory, you won't be
  39. able to run it.  This is now fixed, and will be available at the same
  40. time as the new option I described above.
  41.  
  42. --dgc
  43. -- 
  44. dgc3@midway.uchicago.edu
  45. You usually don't want to know.
  46.