Sound & Music

Moderators: Sephiroth
Number of threads: 611
Number of posts: 1220

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
How to play a .wav file using C? Posted by Vijay on 22 Mar 2001 at 10:29 AM
Sir, kindly guide me how to play a .wav file usig C. I have some knowledge of DMA programming, the AC'97 compatible soundcard & .wav file structure but I am unable to know how to make the DMA acknowledge me of finishing the data.

Report
Re: How to play a .wav file using C? Posted by Sephiroth2 on 23 Mar 2001 at 5:19 AM
: Sir, kindly guide me how to play a .wav file usig C. I have some knowledge of DMA programming, the AC'97 compatible soundcard & .wav file structure but I am unable to know how to make the DMA acknowledge me of finishing the data.
:
The soundcard generates an IRQ when data transfer is finished.

Report
Re: How to play a .wav file using C? Posted by lankyjas on 24 Jul 2001 at 12:42 PM
When the DMA chip has finished transferring the block, it will generate an IRQ. You can determine which number IRQ will be generated by looking at your Sound Card's settings. (On mine it's IRQ 9)

Report
Re: How to play a .wav file using C? Posted by Sephiroth2 on 7 Aug 2001 at 8:21 AM
: When the DMA chip has finished transferring the block, it will generate an IRQ. You can determine which number IRQ will be generated by looking at your Sound Card's settings. (On mine it's IRQ 9)
:
man this post is, like, four months old lol

Report
Re: How to play a .wav file using C? Posted by noman4ever on 3 Aug 2009 at 8:33 AM
Hey, check this code which i wrote, using this code you can easily create a wav file, i have explained everything header, sub-header and data part of wav file, i have even inlcuded the part to record something and then you can run the wav-file to check that it really works!! here is the link and happy programming

http://www.nerdmodo.com/2009/07/creating-recording-sound-in-wav-file-using-mimos-with-cc/
Report
Re: How to play a .wav file using C? Posted by Emirussel on 18 Dec 2012 at 3:56 AM
I can't open your website it redirects me to a google privacy domain or something like that,could you please send me your record and play back code you mentioned just right here to my email?
jamaspyourd@hotmail.com
I am really in a demand for such a code if it really works as you said.
Thanks in advance
Best
Emma
Report
Re: How to play a .wav file using C? Posted by CKZR on 9 Sept 2010 at 12:20 AM
You should surf on the official website of the company, there should be a user guide in their website, if not, you should send an email to contact them, it may works. You can also change a new one.

Good luck.
Report
Re: How to play a .wav file using C? Posted by sanhui on 15 May 2012 at 7:15 PM
sorry ,I don't know.
Report
Re: How to play a .wav file using C? Posted by Allison7 on 21 Sept 2012 at 3:01 AM
rhythmbox is a media organizer and player, a bit like iTunes, that runs on X Windows. That means your computer will have to be running that application for your program to control it. I sounds like librhythmbox-core is a good library to try linking against. It looks like that link just shows a list of all the files that are installed when you install the rhythmbox package, including the library you found.
Report
Re: How to play a .wav file using C? Posted by austincarven on 13 Feb 2013 at 1:29 AM
Hello,

I do not know about wav file but I found a sample that works with MP3, you might find it useful: http://www.voip-sip-sdk.com/p_345-voip-mp3-playing-voip.html

Hope it helps.



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.