By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,828 Members | 801 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,828 IT Pros & Developers. It's quick & easy.

Audio/sound library to read audio files?

P: n/a
Hello from a newbie,

I am trying to do some research on an upcoming project that involves reading
in audio files of various formats and using the audio signal as a source of
noise to generate pretty pictures. (like windows media player visual plugins.

I will be developing in C++ and was wondering if there are any packaged
libraries out there that I can use to read audio files encoded in different
formats and lets me easily access the data part of the audio already decoded.

Thanks in advance for the help!

-Vincent
Nov 17 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
"ViperCB" <Vi*****@discussions.microsoft.com> wrote in message
news:03**********************************@microsof t.com...
I am trying to do some research on an upcoming project that involves
reading
in audio files of various formats and using the audio signal as a source
of
noise to generate pretty pictures. (like windows media player visual
plugins.

I will be developing in C++ and was wondering if there are any packaged
libraries out there that I can use to read audio files encoded in
different
formats and lets me easily access the data part of the audio already
decoded.
There is an API for reading and writing RIFF files that goes way back. The
functions within it all have names that start with mmio... which is short
for multimedia I/O.

Sadly, the really old samples that demonstrated the use of these functions
were pulled from the PSDK some time ago.

You may still be able to find one of those samples (named ACMAPP for audio
compression manager application) here:

http://msdn.microsoft.com/library/de...csmpacmapp.asp

It does not do what you want exactly, but in order to compress and
decompress wave files, it has to open them, examine their formats, "descend"
into the data "chunk" etc. which is what you'd have to do to plot a graph
and whatnot.
Thanks in advance for the help!


You are welcome. Please post follow-up in the multimedia group

microsoft.public.win32.programmer.mmedia

Regards,
Will
Nov 17 '05 #2

P: n/a
ViperCB wrote:
Hello from a newbie,

I am trying to do some research on an upcoming project that involves
reading in audio files of various formats and using the audio signal
as a source of noise to generate pretty pictures. (like windows media
player visual plugins.

I will be developing in C++ and was wondering if there are any
packaged libraries out there that I can use to read audio files
encoded in different formats and lets me easily access the data part
of the audio already decoded.


You should look into DirectPlay. What you describe would be a render
(output) filter in a DirectPlay filter graph, with the DrictX runtime
suppling all of the file format and compression codec modules.

-cd
Nov 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.