472,119 Members | 1,809 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,119 software developers and data experts.

Audio/sound library to read audio files?

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
2 2493
"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
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.

Similar topics

2 posts views Thread by Bruce Bon | last post: by
8 posts views Thread by fuliopen | last post: by
1 post views Thread by Ron Provost | last post: by
2 posts views Thread by martoncho | last post: by
2 posts views Thread by positivebalance41m | last post: by
reply views Thread by Carlos Leite | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.