Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / June 2005

Tip: Looking for answers? Try searching our database.

Audio/sound library to read audio files?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ViperCB - 19 Jun 2005 18:05 GMT
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
William DePalo [MVP VC++] - 19 Jun 2005 18:37 GMT
> I am trying to do some research on an upcoming project that involves
> reading
[quoted text clipped - 8 lines]
> 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/default.asp?url=/library/en-us/vcsample98/html
/vcsmpacmapp.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
Carl Daniel [VC++ MVP] - 19 Jun 2005 20:00 GMT
> Hello from a newbie,
>
[quoted text clipped - 7 lines]
> 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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.