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