473,407 Members | 2,676 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

audio mixer sample

hi all

I need to playback two or more audio files ( .wav files) together.
let's say it's a song and a person speaking.

I need to control the volume of the two channels, so when the speaking
file is playing, the song volume is lowered.

can someone point me to a simple example in c-sharp (or other .net
language) thats implements some kind of audio mixer?

thanks in advance

tal sharfi
ta******@netvision.net.il
Jul 21 '05 #1
1 2363
Hi

Just for not leaving the question open for people that will follow it…

the Audio object under the: Microsoft.DirectX.AudioVideoPlayback name
space does the job (well).

Tal
Jul 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: arkam | last post by:
Here is the code : public class AudioMixerHelper { public const int MMSYSERR_NOERROR = 0; public const int MAXPNAMELEN = 32; public const int MIXER_LONG_NAME_CHARS = 64; public const int...
3
by: | last post by:
I wrote an application and I want to decrease "system's" audio level .I dont want to do it via directshow must do it on directly window's wave volume control. Thankse
0
by: daniel123456 | last post by:
Hi, I'm searching for an audio mixer class that can change the balance o the lines too. I already found the AudioMixerHelper (e.g http://forums.hostrocket.com/archive/index.php/t-16820.html...
5
by: Paul van der Heu | last post by:
Is there really no one here who knows how to get the different sound devices available in your system as they are presented in soundmapper?? -- Bill Gates can't guarantee Windows, how are you...
1
by: Andrea V.F. | last post by:
I need to control (Get and Set) this parameters of Windows Audio Mixer: - Master Volume Mute - Master Volume Level In addition, but not mandatory, I need to control also the PC Speaker Mute...
1
by: Tal Sharfi | last post by:
hi all I need to playback two or more audio files ( .wav files) together. let's say it's a song and a person speaking. I need to control the volume of the two channels, so when the speaking...
0
by: hzgt9b | last post by:
Using VB.NET 2003, QUESTION How do I set up my program so that it will be notified of any/all audio changes on the machine? I.e. if someone adjusts the machine’s volume outside of my app, I...
2
by: Pan Xingzhi | last post by:
Guys: Hi there. Recently I'll have to write a quite interesting program in Python on a Linux box. What I need is a function which allows the user to 'switch' the audio output from <an audio...
0
by: Marc Shapiro | last post by:
I am running Python 2.3 on Linux. I am trying to write a program to simulate a hardware mixer to play theatrical sound cues. I need to be able to play multiple sound channels at once,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.