-
April 25th, 2003, 05:16 PM
#1
How to play wav files in different chanels?
My task is to play some WAV files in different sound card chanels in same time. The chanels are: front left, front right, rear left and rear right. Now I'm using playing sounds via DirectSound secondary buffers. I set the position of sound sources using IDS3DBUFFER.SepPosition routine. I use such coordinates(in terms of x,y,z)-0.5,0,1)-front left, (0.5,0,1)-front right, (-0.5,0,-1)-rear left, (0.5,0,-1). Coordinates of 3D listener is defaults. And I have such situation: acoustic division between front and rear is excellent, but between right and left is bad. In other words I hear the part of left chanel in right and the part of right chanel in left.
Please help me to solve my problem.
-
April 25th, 2003, 05:58 PM
#2
ok, i might not tell the right answer, but just a small thought i had when i saw the coordinates.
why don't you change them to
(-1,0,1)-front left
(1,0,1)-front right
(-1,0,-1)-rear left
(1,0,-1) rear right
might work.
int i;main(){for(;i["]<i;++i){--i;}"];read('-'-'-',i+++"hell\
o, world!\n",'/'/'/'));}read(j,i,p){write(j/p+p,i---j,i/i);}
-
April 26th, 2003, 06:50 AM
#3
I have tried to set such coordinates. But in this case the influence of chanels on each other is more appreciably. And I cann't understand why.
-
April 26th, 2003, 02:45 PM
#4
The attenuation is probably looping the sound around to the other ear (if you see what I mean).
Try making the attenuation higher, and moving the sound closer to the ear.
R
http://optionalreaction.net
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|