LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 06-12-2007, 01:13 PM   #1
srlevitt
LQ Newbie
 
Registered: Jun 2007
Posts: 1

Rep: Reputation: Disabled
Playing wav files - and then some!


Does anyone have any C/C++ code to do any of the following, or any hints and tips?:

I need to create a class which will load a wav file from disk, and play it. Mutiple instances of this class need to run at the same time, so two or more wav files are mixed.

The class should be able to "pan" the audio from left to right, and also mute and vary the volume.

I have a M-Audio 1010LT audio card which has four sets of speaker outputs. I need to be able to direct the output of the player class to a specified set of speakers. Again, more than one player class should be able to be played on the same set of speakers.

I know this is a lot to ask, but I've been bashing my head against various libraries such as RtAudio, libsndfile portAudio etc for a few days now, without seeing the light.

Any help on this would be gratefully received, even partial solutions which could be stitched together. Thanks.
 
Old 06-12-2007, 02:37 PM   #2
ewjim
LQ Newbie
 
Registered: Aug 2006
Location: Chester. U.K.
Distribution: Debian Etch
Posts: 15

Rep: Reputation: 0
Have you tried Audacity. Dose allot plus it has a few plug ins.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
sound card makes scratchi sounds playing .wav files. krmane Fedora 0 06-27-2006 12:35 PM
Playing WAV files in SUSE 9.3-64 riba43 SUSE / openSUSE 2 08-15-2005 10:31 AM
Perl playing .wav or .mp3 Cornholio Programming 2 05-01-2005 11:14 AM
playing wav files bdu Linux - General 2 02-22-2002 10:48 PM
Playing wav files bdu Linux - General 1 02-07-2002 04:22 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration