473,396 Members | 1,927 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 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 2592
"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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Bruce Bon | last post by:
The class below is intended to play a Sun audio file (.au) in the background while the main thread, which is servicing a GUI, continues without impact. It doesn't work. For a sound file that...
0
by: conaito VoIP | last post by:
conaito VoIP ActiveX library for developers of VoIP audio applications, such as voice chat, conference, VoIP, providing real-time low latency multi-client audio streaming over UDP/IP networks....
8
by: fuliopen | last post by:
I like to create some audio files for my web site. These are all language files to help the visitor learn a foreign language. There is no music. As far as I know, I can create three types of...
1
by: Ron Provost | last post by:
Hello, I'm developing a piece of software to assist illiteraate adults to learn to read. I'm trying to figure out how, if possible, to make audio playback asynchrnous but still controllable. ...
22
by: MLH | last post by:
I have some audio help files that play fine from within Access 97 and Access 2.0. Both are running on a Windows XP box. But I do not know what program plays the files. If I click Start, Run and...
2
by: martoncho | last post by:
Hi all, I am facing what is for me a really complicated situation. I program C but not this advanced (I mean direct hardware access etc). Here is the background: I am using DJGPP. I am...
2
by: positivebalance41m | last post by:
I have been searching how to do sound capture (record audio input) in VB.NET for days now. I find some references to "winmm.dll" calls, but they give VB5 or VB6 examples which won't code convert...
0
by: Carlos Leite | last post by:
Is there any other option to analyze audio frequencies? Or Any here try to use pymedia to a simple audio FingerPrint. A cant understand what the information the asBands() really giveme....
8
by: raylopez99 | last post by:
I have the latest version of Visual Studio 2008 Professional, which allows you to create resource files (this is the .resx file, no?), unlike the Express version, which does not. I am trying to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.