We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now


Soundblaster programming...

chantm asked
Medium Priority
Last Modified: 2008-03-10
    I need some help in soundcard/soundblaster programming. Can Soundblaster be used to encode voice in mu-law/A-law/PCM? In full-duplex? And where can I find such libraries or DLL (for Win95)? Are there commands similar to those on Unix/Linux OS's read/write? I need it to intereface with a Java application?
Watch Question

Usually a sound card adds several logically independant devices:1. waveform output device is used to output digitized data to the sound card (whatever format is used: PCM, ADPCM, mu-law, etc) - playback;2. waveform input device is used to input analog data from the sound card (whatever format is used: PCM, ADPCM, mu-law, etc) - recording;3. mixer device controls sound card topology;4. MIDI device for playing music in MIDI format;From what you write I understand you want APIs for the first two of them (waveform input/output). There are number of APIs you can use to do it in Windows95 + new Microsoft APIs which are distributed separatly (they are not a part of the Windows95 installation). These last ones will become standard in future releases of Microsoft Windows and the present APIs will be supported too (legacy APIs). Here is the list of all these APIs:Legacy APIs:1. DOS SoundBlaster programming - only for DOS programs;2. MCI (Multimedia Control Interface) - high level API;3. wave API (Microsoft Low Level Audio API) - low level API;4. ACM (Audio Compression Manager) - API for conversion between different wave formats;New APIs:1. DirectSound - targeted for games;
2. ActiveMovie - for usual appliactions;Which of them to use depends on many aspects. If you can be more specific about what you want to do I can answer your further questions. All the API specs are distributed by Microsoft with the MSDN (Microsoft Developer Network) subscribtion.alexxx

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts


 I am writting a Java application currently on Solaris that encode voice in mu-law and sends them across the network. Since Java is platform independent, to run it on a PC would requires only a PC's DLL (I think), if I can't find a DLL thats conforms to the UNIX/Linux read/write, that might have to try to write one in C. All I need is to able to read and write a array[byte] to the device.


      I am current writting a Java Application on Solaris that encode voice in mu-law and sends them across the network. Since Java is independent of platform, and to port it to PC, Java only needs the required DLL (I think) before it can be run on Win95. Is there any DLL or other libraries that conform to UNIX/Linux read/write for the <sys/audio>. All I need is to be able to set recording/playing format/gain and read/write to the soundcard.
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.