Audio progrmming standards

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
adv420r

Audio progrmming standards

Post by adv420r »

I wonder if where is some standars for audio like where is
for video (VESA) on PC or maby some harware standard like
soundbalster compatible.
AR

Re:Audio progrmming standards

Post by AR »

I just discovered this which may be on interest:
http://www.ctyme.com/intr/int-10.htm [Int 10/AX=4F13h/BX=0000h]
(VESA apparently includes a sound API)
ineo

Re:Audio progrmming standards

Post by ineo »

Most modern chips (>2000) are AC97 compliant... but that's really a minimum.
If you intend to write an audio driver, you should probably write that one since most card support it.

http://www.sandpile.org/docs/intel/ac97.htm

This will only give you the bare minimum of your sound card: no hardware mixing, no advanced dsp use...

However this is not so bad since most cards don't do more. Developper (game, audio) use to do audio processing on CPU since their is no real good sound card open standard.

Audio cards is a monopoly of Creative.
Dex4u

Re:Audio progrmming standards

Post by Dex4u »

I have written some basic sound drivers for for "Dex4u" including AC97 and FM801, the AC97 is based around a a sort of standard, but setting up and address etc, is differant on some cards, so a AC97 drive that works on one card may not work on another.
ineo

Re:Audio progrmming standards

Post by ineo »

Yes, AC97 card setup may be different, but programming interface and features are the same. It's interesting if you plan to support some kind of unified sound system since you can target this as the lowest hardware...

It is a good soundblaster replacement, but it is still very limited.
Håkan Ahlberg

Re:Audio progrmming standards

Post by Håkan Ahlberg »

Thanks for your information this is a good start I am working on
a programing language and I have plans to put functions/commands
so you can play sounds.
If you are interested so have I a hompage for my language at
http://hem.bredband.net/b409626

Kind regards
H?kan Ahlberg
mystran

Re:Audio progrmming standards

Post by mystran »

Notice that while some card might be AC97, it might not support things like sane sampling rates (I have an integrated audio on one board that only ever does 48khz and nothing else).
Post Reply