[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Reality in the A2 World Today! (was: Re: NUTS)
On 05 Feb 2000 02:49:44 GMT, cturley2@aol.com (Cturley2) wrote:
>There is one issue I'd like your reply on, as you've not bothered to reply to
>my two past email requests on it. Now that you've made it clear that
>Oversampler DOES NOT play stereo, I'll ask this question in public for your
>reply. Is it possible to adapt the src. code from your IIgs GSoft
>.wav/sample/sound - stereo player program - to make a patch to the Oversampler
>program to allow it to play in stereo?
Well, I know I did reply to that question in e-mail and just checked
my e-mail program and found that I did reply to the second e-mail on
the 23rd of January. At any rate, here is what I said about this:
I didn't see this question earlier but I'll answer it
now. It would be extremely difficult to patch
Oversampler to play stereo WAV files. It would be
easiest to disassemble the entire program and change
that source and then recompile it but that would require
a lot of work. Not to mention that this type of thing
would best be done by Andre Horstmann as he wrote the
program and it was released as Freeware which means he
has a copyright on it.
Then there is the problem that Oversampler can play
samples that won't fit into memory. Unfortunately,
stereo WAV files are stored with a left channel byte
followed by a right channel byte and so on. This means
that instead of just loading a section of the sample and
playing it, the program must load a section of the
sample then strip the left and right channels from that
section and then play those sections. This could end up
slowing the program down too much to be able to keep up.
Probably the best way to handle this situation is to
just write a stereo WAV player program that can spool
from disk from scratch in assembly. I personally don't
have the time to do so at present but if no one else
tackles it, I might get around to it someday.
+------------------------------------------------------------------------+
| Jeff Blakeney - Dean of the Apple II University in A2Pro on Delphi |
| Delphi Apple II Forums Web Pages |
| A2: http://www.delphi.com/apple2 A2Pro: http://www.delphi.com/a2pro |
+------------------------------------------------------------------------+