Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Mixing of Audio Files

Posted on 1999-08-01
4
Medium Priority
?
227 Views
Last Modified: 2013-11-20
Platform : VC++ 6.0 , Windows NT

I have one small problem.

I want to mix two audio files which was recorded from the full duplex telephonic conversation.
These two files was generated from the callee and the caller during conversation.
The length of two files are exactly same (say x bytes of audio data).
I would like to mix and interleave the two files so that they should play as though it is
a telephonic conversation.
The final output file should have the same play time as it was with a single file.

Are there any multimedia API's to perform the above task.

Or is there a way to do this task by some means.

Regards
Vipin

_______________________________________________
Have A Nice Day !!!
Vipin Palawat
Tel: 91-80-8520408 Extn:2155
mailto: vipinpal@wipsys.soft.net
www.angelfire.com/sk/palli/index.html
0
Comment
Question by:vipinpal
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 

Author Comment

by:vipinpal
ID: 1312261
Wants a comment from experts in Multimedia
0
 
LVL 23

Accepted Solution

by:
chensu earned 60 total points
ID: 1312262
Use DirectSound. See

DirectSound Mixer Sample
http://www.codeguru.com/directx/DSMixer.shtml

By the way, Microsoft used to provide a DLL called WaveMix on the Multimedia JumpStart CD-ROM. And it came with the source code and documentation. You can write your own mixing code in your case. I did exactly the same thing. The WaveMix can be found at ftp://ftp.microsoft.com/developr/drg/Multimedia/Jumpstart/WAVEMIX/.
0
 

Author Comment

by:vipinpal
ID: 1312263
Is this the only way to do the mixing?
0
 
LVL 23

Expert Comment

by:chensu
ID: 1312264
There are three methods in my answer.

1. DirectSound
2. WaveMix
3. Write your own code

No other ways so far.
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses

661 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question