Ryan Verner requested it, and I've been playing around
with it for a while, but it's now in usuable BETA form. You can
pick it up at my website below. It is currently in a usuable form
for both Qbasic and Turbo Basic, and it probably wouldn't take much
modification to work for other basics.
The library plays WAV files up to 65300 bytes long, 8-bit, mono
on all SB-compatable cards, at either 11025,22050, or 44100 Hz. speeds.
It's free, so if you're interested, just pick it up, it's under the
"Turbo Basic" section on my homepage.
P.S: If I get enough requests, I'll add unlimited size support and
continous play...
URL:http://acheronx.ml.org/home/
Comments
: with it for a while, but it's now in usuable BETA form. You can
: pick it up at my website below. It is currently in a usuable form
: for both Qbasic and Turbo Basic, and it probably wouldn't take much
: modification to work for other basics.
: The library plays WAV files up to 65300 bytes long, 8-bit, mono
: on all SB-compatable cards, at either 11025,22050, or 44100 Hz. speeds.
: It's free, so if you're interested, just pick it up, it's under the
: "Turbo Basic" section on my homepage.
: P.S: If I get enough requests, I'll add unlimited size support and
: continous play...
Is this WAV player use DMA??? Because I want to play WAV file and I can still
do other things at the same time.
execute the SB_Play function, you can do whatever you want to
while the WAV is playing.
URL:http://acheronx.ml.org/home/
: execute the SB_Play function, you can do whatever you want to
: while the WAV is playing.
How about IRQ???? Because most of the game need to play multiple
WAV file at the same time. And have you ever heard DMAplay 6.0???
how is yours compare to DMAPlay 6.0??
to it, I'd appreciate it. As for using the IRQ, I detect it but do not
use it, as my routine automatically overlaps the sounds. This is, of
course, provided they are actually long enough to make a difference...
The main reason I coded this lib (I'm not a BASIC programmer, it's almost
all in ASM) is that it was requested by someone who couldn't find a WAV
player that played WAVs over 32000 bytes in length. My lib plays sound
65300 byte files.
As for continous play, I do that via interrupt hooks in the full Pascal
version of this same library. To see an example of that, there is a demo
using that version at the below link.
As mentioned in the docs for it, I'll add unlimited file size support
and background play if there's a demand for it. If there's already a product
doing that for QBASIC/Turbo Basic, I really don't see the point in
duplicating their work...
URL:http://acheronx.ml.org/ukpub/demo.zip
in QB. And it has different version. DMAPlay 6.0 is the latest version.
http://www.ocf.berkeley.edu/~horie/project.html
URL:http://acheronx.ml.org/home/
Could you tell me??? And the "tbst.exe"(compiled by Turnbobasic) file you included, can't
run it. I can only hear static noise from my Sound Blaster PRO.
Currently, BasPlay suffers from a rather tricky bug, one
which I spend the last 4 hours isolating, but haven't quite
fixed yet. If you run in in the environment (i.e. QBASIC,
Turbo Basic, QuickBasic 4.5..) it'll run fine. However, for
some bizarre reason as an EXE it doesn't function.
I've currently isolated it to the SBPlay function, and
I'll post here as soon as I've irradicated the bug.
URL:http://acheronx.ml.org/home/
I just want to know.
However, I haven't solved the vital problem of getting it to work since
I last posted. I used the pure assembly code, simulated the BASIC code part
of it, and assembled it... The damn thing worked like a charm...
I'm really at the end of my rope here... If you want the code or
know someone that does, I'll give it all to you, since I really don't think
it's very useful in it's current form, and I just don't have the hours to
play around with it.
URL:http://acheronx.ml.org/home/