Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to index page
Thread view  Board view
rCX

Maryland, USA,
04.05.2009, 18:21
(edited by rCX, 04.05.2009, 18:39)
 

Playing Music/audio through the Internal Speaker (Users)

For those of us who are unfortunate to have a exotic soundcard incompatible with soundblaster or AC97 (and DOS :crying:). Here are a few programs that can play music through the internal speaker. Quality isn't that great but it is better than nothing. I will add this to the DR-DOS wiki soon.

* Digital Sound System or DSS. In DSS.ini to use the PC speaker change the following lines to...
[SoundDevice]
Device=8

Run HDPMI32.exe (Or something like it) and then DSS.exe. It can play *.mp3 and *.wav files of any size. It comes with it's own TUI and seems to work the best!

* cppsound can be used to play short short (<1MB) *.wav files. It seems to work for lower frequency (<20000Hz) encoding. I tested it for "PCM 8-bit 8000Hz" or "PCM 16-bit 11000Hz" encoding. To try it, run the driver ibmsnd.com and then demo.bat. It is open source :-D

* SPKPLAY is also open source :-) and and is simmilar to the last one. To test, just run spkdemo.exe

* SBPLAY plays *.wav files through speaker if no soundblaster is selected. To use add the following line to autoexec.bat...
SET BLASTER=NOSB

Didn't test the following...
* VOC-IT.c is C++ code to play *.voc and maybe *.wav files through PC speaker.

* WAV.PAS is pascal code to play *.wav files through internal speaker.

Hope this helps someone!

RayeR

Homepage

CZ,
04.05.2009, 23:10

@ rCX
 

Playing Music/audio through the Internal Speaker

FastTracker ][ - module tracker/player
VisualPlayer - module player (it was my 1st player on 1st computer, I boosted speaker sound by external PA, I got real soundcard some years later :)

---
DOS gives me freedom to unlimited HW access.

Zyzzle

04.05.2009, 23:38

@ rCX
 

Playing Music/audio through the Internal Speaker

Also try:

KPC-- Plays WAVs through the PC Speaker in DOS.
and
KMP3-- Play MP3s through the PC speaker in DOS.

Other good DOS utilities here:
http://www.advsys.net/ken/utils.htm

Ken Silverman has produced the best WAV player thru the PC Speaker that I've heard...It also works with 16-bit .WAVs up to 64 MB in length.

Rugxulo

Homepage

Usono,
05.05.2009, 08:10

@ rCX
 

Playing Music/audio through the Internal Speaker

> For those of us who are unfortunate to have a exotic soundcard incompatible
> with soundblaster or AC97 (and DOS :crying:). Here are a few programs that
> can play music through the internal speaker. Quality isn't that great but
> it is better than nothing. I will add this to the DR-DOS wiki soon.

I assume this means that Mpxplay doesn't work with your machine? :surprised:

> * Digital Sound
> System or DSS. In DSS.ini to use the PC speaker change the following
> lines to...
> [SoundDevice]
> Device=8
> Run HDPMI32.exe (Or something like it) and then DSS.exe. It can play *.mp3
> and *.wav files of any size. It comes with it's own TUI and seems to work
> the best!

Is this the same DSS written by Sergey Sapelin in Watcom C++? (Haven't tried it yet, but I did find its srcs recently, probably from some post of Laaca from a few months ago, but I forget exactly ....)

> *
> SBPLAY
> plays *.wav files through speaker if no soundblaster is selected. To use
> add the following line to autoexec.bat...
> SET BLASTER=NOSB

This has a nice file manager-ish interface, can also play .VOC or samples from within a .MOD. Crappy license, but it does come with sources (oddly).

GLX is a .MOD / .XM / .S3M player that works on old machines (e.g. 286 XT) with PC speaker or better ftp://ftp.sac.sk/pub/sac/sound/glx212.zip (no srcs, somewhat imperfect compatibility)

Here's a tiny .WAV player via PC speaker w/ .ASM src: http://board.flatassembler.net/topic.php?t=9635

tikbalang

05.05.2009, 09:17

@ rCX
 

Playing Music/audio through the Internal Speaker

> For those of us who are unfortunate to have a exotic soundcard incompatible
> with soundblaster or AC97 (and DOS :crying:). Here are a few programs that
> can play music through the internal speaker. Quality isn't that great but
> it is better than nothing. I will add this to the DR-DOS wiki soon.

MP3PC.EXE

"Got no sound card? MP3PC plays MP3 files through your PC speaker! For some reason I like to make programs work through the PC speaker. Some people still don't know that it's possible to play real sounds through it. Unfortunately, you must run this in pure DOS mode for it to work."

found here:
http://www.advsys.net/ken/utils.htm

RayeR

Homepage

CZ,
07.05.2009, 02:23

@ tikbalang
 

Playing Music/audio through the Internal Speaker

> MP3PC.EXE
> "Got no sound card? MP3PC plays MP3 files through your PC speaker!

Hm, this doesn't work on my system (DOS 6.22). It just displays "50.0%" and terminates immediatelly. Tried some switches but didn't help.

---
DOS gives me freedom to unlimited HW access.

Zyzzle

07.05.2009, 03:04

@ RayeR
 

Playing Music/audio through the Internal Speaker

> > MP3PC.EXE
> > "Got no sound card? MP3PC plays MP3 files through your PC speaker!
>
> Hm, this doesn't work on my system (DOS 6.22). It just displays "50.0%"
> and terminates immediatelly. Tried some switches but didn't help.

Yes, I got this message on some .MP3s as well. It seems to not like some VBR- MP3s as well as some files encoded at 320 Kbps... In my experience, it seems to work well on CBR, 256 kbps and below. Try some & report back.

RayeR

Homepage

CZ,
08.05.2009, 14:29

@ Zyzzle
 

Playing Music/audio through the Internal Speaker

> Yes, I got this message on some .MP3s as well. It seems to not like some
> VBR- MP3s as well as some files encoded at 320 Kbps... In my experience,
> it seems to work well on CBR, 256 kbps and below. Try some & report back.

Well I tried it again with some 160kb/s CBR MP3 and it works. Decoded sound quality is very good on PC speaker but it is disturbed by small pops every secons and sometimes randomly disturbed. It seems like other ISR routines takes too much time. If the code could run with all other interrupts completly disabled the sound would be perfect. BTW I made MP3 player for Covox DAC on LPT based on scitech MP3 library.

---
DOS gives me freedom to unlimited HW access.

Rugxulo

Homepage

Usono,
11.09.2009, 07:01

@ RayeR
 

Playing Music/audio through PC Speaker (TMA's tbmod)

Just for the record, Sven Klose recently unearthed his "old" TMA macro assembler (anybody besides me remember it?). It's basically unchanged except it now has tbmod .MOD player w/ srcs that also supports PC speaker. For some reason it doesn't work on my old PC, but DOSBox works fine.

rr

Homepage E-mail

Berlin, Germany,
11.09.2009, 21:59

@ Rugxulo
 

Playing Music/audio through PC Speaker (TMA's tbmod)

> TMA macro assembler
> (anybody besides me remember it?).

I do. :-P

---
Forum admin

DOS386

05.05.2009, 14:04

@ rCX
 

Playing Music/audio through the Internal Speaker

> those of us who are unfortunate to have a exotic soundcard incompatible with soundblaster

Anything since 1995 :-(

> or AC97 (and DOS :crying:). Here are a few programs that
> can play music through the internal speaker. Quality isn't that great but

I can make it better :hungry:

> Hope this helps someone!

OK :-)

> Here's a tiny .WAV player via PC speaker w/ .ASM src: http://board.flatassembler.net/topic.php?t=9635

It's Quack-BAYSIC, not FASM ... but trivial, so feel free to port to CoboL or whatever you like :hungry:

PC: I highly prefer the "PC speaker" from "100% soundblaster compatible" crap :-)

---
This is a LOGITECH mouse driver, but some software expect here
the following string:*** This is Copyright 1983 Microsoft ***

Back to index page
Thread view  Board view
22049 Postings in 2034 Threads, 396 registered users, 248 users online (1 registered, 247 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum