Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Mixing 2 or more wav files

Posted on 2004-10-27
4
Medium Priority
?
211 Views
Last Modified: 2008-03-10

I'm trying to mix together 2 or more 8bit wave files to give me an output of 1 file with both sounds in that out file.  I've come across some information but don't quite understand it.. here is the link... http://www.vttoth.com/digimix.htm.  The information here is what I need.  Can some of you experts make sense of this? Thank You!
0
Comment
Question by:windows_programing
[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
 
LVL 9

Accepted Solution

by:
jhshukla earned 800 total points
ID: 12426993
>> silence is the value 128, and actual amplitude values can go up (129-255) or down (127-0)
he is not talking about amplitude. he is talking about displacement. so your amplitude is now 7-bit instead of 8-bit. you can apply the same formula (Z = A + B - A·B/256) but with slight modification.
you have |Z-128| = |A-128| + |B-128| - |A-128|·|B-128|/128
and sign(Z-128) = (A+B)/2 >= 128 ? + : -
0
 

Author Comment

by:windows_programing
ID: 12429429
Thanks  jhshukla,  

One last thing what is . (Dot)  I'm not too good at math :)
0
 
LVL 9

Expert Comment

by:jhshukla
ID: 12430162
Dot = multiplication
0
 

Author Comment

by:windows_programing
ID: 12430674
Thanks !!
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.
Suggested Courses

636 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