automatic quadro pan
Hi, I have too modules - sampler and panner from 2 to 4. I what that every time the sample is changed the speaker is changed randomly too. In panner module that means 4 different values for XY - 10, 01, 00 and 11.
P.S I already have automatic pan that mens - it record mouse movements, but this technique is not very effective when samples are too small in ms. Therefore Would be great every sample pass into definite speaker and not between 1-3, 2,4 and so on... as it happens with automatically recorded mouse movements.
P.S I already have automatic pan that mens - it record mouse movements, but this technique is not very effective when samples are too small in ms. Therefore Would be great every sample pass into definite speaker and not between 1-3, 2,4 and so on... as it happens with automatically recorded mouse movements.
something like this..?


Okey, as you say "arrays is may long to do list"...
Yes this is very close, but I want randomize only few exact values for exact speakers.
1. XL - 1; YL - 0
2. XL - 0; YL - 1
3. XL - 0; YL - 0
4. XL - 1; YL - 1
... has changed 1., has changed 3., has changed 2., has changed 4. ...
Yes this is very close, but I want randomize only few exact values for exact speakers.
1. XL - 1; YL - 0
2. XL - 0; YL - 1
3. XL - 0; YL - 0
4. XL - 1; YL - 1
... has changed 1., has changed 3., has changed 2., has changed 4. ...
if you want only 0 and 1 you can use the round module.
if you want a precise set of value composed of 4 posibilities, for X and Y,
then you can enter all your scenarios in 2 arrays editor of length 4 (ie with your list : X:1001, Y:0101).
then the extract array element value let you ask the value at sepecified position. if you ask 2 it will return X:0 Y:0 (indexes start from 0)
if you ask 0 it wil return (X:1 Y:0) ect, so controling the index via random will randomly choose one of the possibilities.

if you want a precise set of value composed of 4 posibilities, for X and Y,
then you can enter all your scenarios in 2 arrays editor of length 4 (ie with your list : X:1001, Y:0101).
then the extract array element value let you ask the value at sepecified position. if you ask 2 it will return X:0 Y:0 (indexes start from 0)
if you ask 0 it wil return (X:1 Y:0) ect, so controling the index via random will randomly choose one of the possibilities.

insude patch 
outside patch
In AB module I set B-, try to edit array's modules as you explain, but
I can get only 2 diferrent precise outputs, but not 4. what I'm doing wrong?

outside patch

In AB module I set B-, try to edit array's modules as you explain, but
I can get only 2 diferrent precise outputs, but not 4. what I'm doing wrong?
You should first define array lengths (here they are of 0 and 1, you should enter 4 in both editor top header labeled " length") then B on A*B module should be 3. (cause random generate from 0 to 1, so if x3 we got all 0,1,2,3=4 possibles indexes.
thanks, it was good lesson for me 
You re welcome . Between with this system the random could generate 2 times the same value, i got a solution if you need to get a different value each time, let me know if u need.
ok, observe that sometimes one sound appears in the same speaker, but thought it's accidentally.23fx23 wrote:You re welcome . Between with this system the random could generate 2 times the same value, i got a solution if you need to get a different value each time, let me know if u need.
At first , I have random playback. what happens when sampler random plays one sample two or more times one by one? does the speakers changes in this system?
Of course would be better if there will be no repetition in sampler behavior and in speakers.
If the file nb dont change cause same sound is replayed, there are no pulse cause no chg, so the random generated dont chg and it must be the same speaker config. To get rid of this you could, instead of using has chg out of file nb, directly use the "is restarting" pulse out of sampler, wich will make a pulse each time, even if same file is replaying. The other thing is that random generates values between 0 and 3 here, but its possible it affect ie 2, and then again 2. So one possible trick is to check if new value is different than previous one, if not and is the same , then add or subtract one to get a difference. But if ie 3 then again 3, if we add 1 it makes 4 so its a wrong index, so for this need to use a AmodB module set to 3, with it 4 becomes 0, 5 is 1, 6 is 2 ect it "loops" nbs in the 0 to 3 range. Will make a pic when get back to my computer.
about "is restarting"... - Yes, now its ok.
on second part... not sure I understand theoretically right now, but I try anyway.
on second part... not sure I understand theoretically right now, but I try anyway.
-
multiphone
- Member
- Posts: 303
- Contact:
Hello,
Sorry for the reaction "after the war"...
If i understand correctly the question
Here is another solution, more close to "speaker switching" rather than "sound trajectory"

http://www.sensomusic.com/forums/upload ... 0sound.pat
Sorry for the reaction "after the war"...
If i understand correctly the question
Here is another solution, more close to "speaker switching" rather than "sound trajectory"
http://www.sensomusic.com/forums/upload ... 0sound.pat
-
multiphone
- Member
- Posts: 303
- Contact:
thanks, but I prefer panner module, because then it is easy to switch between both panner systems [as you define "speaker switching " and "sound trajectory"] in may patch.
Hi, 23fx2323fx23 wrote:If the file nb dont change cause same sound is replayed, there are no pulse cause no chg, so the random generated dont chg and it must be the same speaker config. To get rid of this you could, instead of using has chg out of file nb, directly use the "is restarting" pulse out of sampler, wich will make a pulse each time, even if same file is replaying. The other thing is that random generates values between 0 and 3 here, but its possible it affect ie 2, and then again 2. So one possible trick is to check if new value is different than previous one, if not and is the same , then add or subtract one to get a difference. But if ie 3 then again 3, if we add 1 it makes 4 so its a wrong index, so for this need to use a AmodB module set to 3, with it 4 becomes 0, 5 is 1, 6 is 2 ect it "loops" nbs in the 0 to 3 range. Will make a pic when get back to my computer.
I have twofold question:
- in this case I use only random, AB*, round, variable modules and there is only one output. how can I avoid from repetition? I just want round random values from x to xx. Try to use random generator with no repletion on, but doesn't work.
- can I exclude some variation from random range with switch? for example on start there are random values from 1 to 10, than I can switch off 1,2,3,4,5 etc. and off all...
Who is online
Users browsing this forum: No registered users and 24 guests
