Why panning doesnt work when routed into [matrix~]?
Hi,
I've tried almost every kind of panning solution including the [Pan2] and [Pan2S]. They all work but only when directly routed do a [dac~] or [ezdac~]. The [matrix~] has 2 outputs (0 and 1). The signal goes through, but the panning doesn't work.
There is maybe very very tiny slight difference of level when panned to the right.
Without an example patch I'm guessing... A matrix connection (input to output(s)) only handles a single stream of audio. If you are panning a two channel signal and trying to route that (panned) two channel signal through a matrix as a single input it will (obviously) not work. So a: you route the two channels simultaneously in the one matrix~ (0 in to 0 out and 1 in to 1 out) or, b: you route the two channel signal with two independent matrix~objects - one for each channel.
I read your message so many times. The more i read it the more i am confused.
Previously i thought number 2 in sfplay~ ment for playing a STEREO file. (L&R) I guess thats not the case..
Even so, it still not responding. Now looking at the [matrix`] help file makes me even more confused.
In the example the audio file clearly gets split into L&R. When i try the same. It does not. The sound is centered. I dont know wtf im doing wrong.
And finally In the panning patcher file....................... i am completely lost!
I am dying here!
Try this:
Each audio patch cord is only one channel. You need two, for stereo. Also, it seemed like you were doing way to much gain scaling.
Aah. I thought that 1 gain would sum both signals. (very annoying) My way worked as soon as i split the 2 signals to 2 gains.
@mzed: your way works for one sound. But if i try to add a second New chain of sound(new menu with sounds) and i duplicate your example, the volume or panning doesnt respond. The second sound is going to matrix input 2 and 3. I changed the message to 2 0 $1, 3 1 $2. But no response.
Something i dont understand. Could you clarify this?
Why is it when i add a Patcher between sfplay~ and matrix~ the level of the sound doubles?
The patcher looks like this:
1) I think you copy-pasted the wrong thing.
2) matrix~ inputs and outputs are numbered from 0 So you want "2 0 $1, 3 1 $2"
1) No thats the pitch patcher, its just an example. Whether its this pitch patcher. Or the second(Pan patcher)
As soon as i add eather one of them between [sfplay~] and [matrix~](or ezdac~) the sound gets louder. Why?
2) I dont know whats happening. The patch is acting strage. Everythings panning to the left.
My way works and im happy to go that way(i appreciate your patch), its just that this sound getting louder problem. Why is it happening?
EDIT: now even the first patch that you pasted which worked the first time i tried it. Now only works on the left channel. WTF?!
You want gain and panning for two, stereo tracks using matrix~? Here:
I'm not sure why you're trying to paste in that other panner. The panning is already done in the patch above. Unless I'm not understanding what you want?
No you dont understand. I think your mixing up the word patch with the object [patcher~]
I tried to explain in the diagram. I guess the basic question is, Is there anything wrong inside the patcher [p Pitch]? Routing seems ok?
`
PS the patch you just pasted. For me there is only sound on the left. No right. But there should be sound on both sides?
pfft~ is mono.
Your patch is summing the left and right channels of the sfplay~ output into pfft~. Then, you're splitting the mono output to two channels that are exactly the same.
In the documentation, that patcher object creates a "subpatch". That's the word I would have understood.
Since you were using [sfplay~ 2], I assumed you were dealing with stereo files. You're dealing with mono files, right? Then this:
AAAAAA. I understand now! Thank you so much for your patience!!!! Sorry "subpatch". Thats was my fault.
I have both stereo and mono files. For stereo id have to use [sfplay~ 2] i take it?
Its not possible to run a mono file through [sfplay~ 2] and have it play centered? (like outboard equipment is LEFT=MONO)?
By default, sfplay~ does what you say: a mono file sends audio only out the first outlet. My "panning" scheme from four posts up doesn't work in that case, and you'd only get audio out the left channel.
If you send the sfplay~ objects in that patch the message "modout 1", then they'll work in both stereo and mono cases.
Nah i thought about this. Most single shot drums/percussion is recorded in mono. The stereo ones usually are just imitated.
When i played back several "stereo" drum hits in mono, they actually sounded far better. HA! :)
Ok, thank you again!