Multiple Sounds

Discussions on more advanced topics such as monolithic vs micro-kernels, transactional memory models, and paging vs segmentation should go here. Use this forum to expand and improve the wiki!
Post Reply
opensesame11
Posts: 6
Joined: Sat Jun 18, 2011 8:55 pm

Multiple Sounds

Post by opensesame11 »

This is going to sound stupid or something, but I was wondering how to output 2 sounds at the same time on the same speaker. Like a startup sound and an application attempting to output simultaniously. (Or just really close)
HELP!
User avatar
bluemoon
Member
Member
Posts: 1761
Joined: Wed Dec 01, 2010 3:41 am
Location: Hong Kong

Re: Multiple Sounds

Post by bluemoon »

Basically it's done by mixing the sound together. Common technique involve adding the amplitudes and clips to saturate cases, and optionally induce effects like echo, 3D, volume adjustment.

Nowadays, most modern sound device provide hardware-accelerated mixer with multiple input channels/codec, but if you need to mixing a lot of sound, or for extra mixing effects, you can do it manually.
opensesame11
Posts: 6
Joined: Sat Jun 18, 2011 8:55 pm

Re: Multiple Sounds

Post by opensesame11 »

Can you put this into the perspective of an IBM PC Speaker, because I don't understand completely what I need to do.
Post Reply