473,700 Members | 2,732 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2622
"ViperCB" <Vi*****@discus sions.microsoft .com> wrote in message
news:03******** *************** ***********@mic rosoft.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.publi c.win32.program mer.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
2497
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 takes 3-5 seconds to play, the main thread hangs for that long. I have run this many times, with changes in printouts and insertion of strategic sleeps to try to make sure that the player thread gives up control, but apparently the call to...
0
1983
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. Includes efficient components for sound recording, playback, encoding, decoding, mixing, resampling, reading, and writing wave files, mixer volume controls access. Provides UDP/IP server and client components for peer-to-peer, multi-user, and...
8
2770
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 such files: .wav, .mp3 and .wma. But my knowledge may be too old. Is there any new type? I've seen an indicator for audio files in some language-learning pages. It is a small trumpet. Clicking it would play the sound file. Is this small...
1
4298
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. I'm using python 2.4 with pymedia on XP. I started out with the example in the tutorials section of the pymedia website. The pymedia docs imply to me that playback using Output's play() method should already be asynchronous and controllable. I...
22
3757
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 type in c:\MyApp\MyHelp\Help1.wav, Windows Media Player tries unsuccessfully to play the wav file. It err's saying ClassFactory cannot supply the requested class. But WMP has no problem at all playing c:\windows\system32\ ALSNDMGR.WAV. That goes...
2
2512
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 programming a DOS program that will play wave files on certain functions (moving through the menus, running functions, etc) Today's motherboards come with AC97 sound boards that do not have drivers compatible with DOS.
2
7866
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 upgrade to VB.NET without warnings errors that I can understand how to fix. There's some ActiveX and OCX's floating around, some free some not, but in all cases they don't explain or give me access to the raw PCM data in some kind of familiar...
0
2283
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. The Docs, say that asBands() return a List of tupples grouped by frquenciy, and the first two values are frquency limits. But I dont thonk so ! Its not seems to be correct!
8
14938
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 cut and paste code that MSDN recommends for playing a simple wav file from inside an embedded file, like presumeably the 'resources' file .resx is. I want to embed the .wav file in a 'resource file' since I don't want the user storing the file on...
0
8721
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9069
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8964
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8918
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6558
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4653
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3085
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2385
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2024
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.