Author |
Message |
w minor
Joined: Sep 28, 2006 Posts: 12 Location: Reading, UK
|
Posted: Sun Oct 08, 2006 5:18 pm Post subject:
Is This Possible? Subject description: either/or type decisions in MAX |
|
|
Hi,
I have a patch in which i need to co-ordinate the signals down two seperate signal chains so that a signal can only ever go down one chain at anyone time. Both signals will both just be a 1, they then need to continue on to their respectful destinations, but never on the same beat.
I hope this is clear, it's not easy to explain.
Please if anyone could help me with this it would be most appreciated.
Thanks
w minor |
|
Back to top
|
|
|
seraph
Editor
Joined: Jun 21, 2003 Posts: 12398 Location: Firenze, Italy
Audio files: 33
G2 patch files: 2
|
Posted: Sun Oct 08, 2006 11:24 pm Post subject:
|
|
|
a gate~ maybe _________________ homepage - blog - forum - youtube
Quote: | Don't die with your music still in you - Wayne Dyer |
|
|
Back to top
|
|
|
w minor
Joined: Sep 28, 2006 Posts: 12 Location: Reading, UK
|
Posted: Mon Oct 09, 2006 5:06 am Post subject:
|
|
|
no a gate will not work for this, it only has one input that can be passed through it. Perhaps i did not explain myself well enough.
Imagine data A and data X travelling along parallel chains. I need data A to continue to destination B and X to continue to destination Y, without variation, with the exception that the two cannot happen at the same time...
please help me this is driving me crazy
thanks |
|
Back to top
|
|
|
seraph
Editor
Joined: Jun 21, 2003 Posts: 12398 Location: Firenze, Italy
Audio files: 33
G2 patch files: 2
|
Posted: Mon Oct 09, 2006 6:18 am Post subject:
|
|
|
3 gates maybe:
the first between A to B
the second between X and Y
the third opens and/or closes the previous two
_________________ homepage - blog - forum - youtube
Quote: | Don't die with your music still in you - Wayne Dyer |
|
|
Back to top
|
|
|
elektro80
Site Admin
Joined: Mar 25, 2003 Posts: 21959 Location: Norway
Audio files: 14
|
Posted: Mon Oct 09, 2006 7:35 am Post subject:
|
|
|
When A is hot the signal is routed to B. When X is hot, the A input is muted and output routed to Y? _________________ A Charity Pantomime in aid of Paranoid Schizophrenics descended into chaos yesterday when someone shouted, "He's behind you!"
MySpace
SoundCloud
Flickr |
|
Back to top
|
|
|
w minor
Joined: Sep 28, 2006 Posts: 12 Location: Reading, UK
|
Posted: Mon Oct 09, 2006 9:30 am Post subject:
|
|
|
to clarify:
if A is hot it's routed to B
if X is hot it's routed to Y
BUT if A and X are hot, only one of them conpletes it's journey to B or Y respectively, but it is not predetermined which one of these will take priority, it should be random for each decision. |
|
Back to top
|
|
|
Kassen
Janitor
Joined: Jul 06, 2004 Posts: 7678 Location: The Hague, NL
G2 patch files: 3
|
Posted: Mon Oct 09, 2006 9:55 am Post subject:
|
|
|
So; you make three gates;
The first is open when A && !Y
The second is open when !A && Y
The third is open when A & Y
All of these are mutually exclusive and all get fed your input signal.
You then take some Xfade or switch type thingy, modulate it by a random value that switches it between the two extremes.
Finally you take a mixing thingy that feeds the first gate and the X fade's output to B and a second mixing thingy that takes the second gate and the Xfade and goes to B.
I'll leave it to you to translate that to Max but that's how I'd do it in other graphical systems. Fun puzzle. _________________ Kassen |
|
Back to top
|
|
|
w minor
Joined: Sep 28, 2006 Posts: 12 Location: Reading, UK
|
Posted: Mon Oct 09, 2006 5:12 pm Post subject:
|
|
|
Cracked it!!!
similar to what was suggested but not quite the same...
since the output of both data sources was always either 1 or 0 i just used two > commands to deal with the situations in which only one was non-zero,
then i used and && comand routed through a 50/50 random decision type thing to decide which note would play when both were hit.
thanks for your help
peace |
|
Back to top
|
|
|
flowersniffer7
Joined: Nov 17, 2006 Posts: 53 Location: Allentown PA
|
Posted: Mon Nov 20, 2006 8:38 pm Post subject:
|
|
|
Terminal 11 actually does something similar using the matrix objects in audio mulch... He takes beats he made and runs them into different fx chains using the matrix... Pretty interesting. |
|
Back to top
|
|
|
|