Page 1 of 1

Newb needs help building synced random controller generator

Posted: Fri Apr 13, 2012 11:43 pm
by Bhang
I'm new to Max and I have been trying to build this seemingly simple thing for a while now. I followed the first 10 or so tutorials for max and watched a ton of video tutorials, but it is all still quite strange to me.
I'm trying to create a random generator to produce tempo synchronized random numbers using the drunk object to control a designated synth/ effect parameter. Here is a pic of the sloppy mess I created so far. The metro thing I copied from a post in this forum somewhere. It is supposed to give me a bang every beat ... ?

Image

What works - I can select any parameter that is available in a synth or effect.
What doesn't work - The rest. :oops:

Thanks,
Bhang

Re: Newb needs help building synced random controller generator

Posted: Sat Apr 14, 2012 12:46 am
by synnack
Easiest way to get help on your patch is to post it.

Use "Copy Compressed" under the Edit menu and paste it in here.

Re: Newb needs help building synced random controller generator

Posted: Sat Apr 14, 2012 3:56 am
by Bhang
Thanks for the tip.
Here it is

<pre><code>
----------begin_max5_patcher----------
853.3ocuW00aZCCE8Y3WgUdlgvIDf1m1l1iaRSZOVUgLwFpWSryrcXzU08ae
N1wgDHlFnr9R.+Qt2iOmqOb44gCBVw2QjAfaA2AFL34gCFXlpbhAUiGDjg1k
jhjlsEjR2RFupPo3rfQ102hDLTFw2x4BhjvTHEkyVJHIJa5fv4imLBDZdNMr
7IDNdB39pWiUjQYoDkIsPWrPpjGnrMMhSTTb46FsvDMSbBiZGGdg5n.0.TsS
fPeTTDwRBCsJkzbMaXTOkSrYNHnNITr4zyW8yOD4N2RzVBdIRoDTMgP1+MYE
8VwukDXZAgu1Msa91noHqJq70qCFo+fUm916bWNmoOZFjqYii2Ahw3UxQstE
zw9JXTkT8TEIzUjxzkF9ySlV.KWcRmq53wvNVipyLEk1PC5JBxG3B0Ip7ZCF
N1AVSI2w6Hky1bNQ6TGtTJ6wxXI8g8x.vwdOZT1Z9o0EuqxEXhvWbwj09WTl
SH3TZleEUpH4R+XdKURc5kc8WFNb+GlmuLbTOcZXjequO4tMoH6T6UFAIiqH
+MnKuhpBpf0b19piOIz0SfOySwA9sRfwVSjRenQfY2X7jV30KYRiDIo+o5Zh
i3Z5I.Wz1TPOmNomvQXYNQHoZ5lkzfNuHZLgmkUZGbHOpPhMDE.S1RSH21Oy
5oSMTRXbWLywt0muBDYUfoPadf8TA74l2CkIL3JVZxQ3UH1lfqKoDNyxCyJe
FG+Jbh2esxfr5WpGTyLGldfhwDKwdAj0JyQRa6zQ6Bea5WGixoi+AIUeb+ho
Vrl8N0lFqSgNt8qrM1dSFZpdile4MYTIDcGnynKi90IAbp63oupV0jF39+qJ
v2ct4uhHTuuyRGfSldkDhal+tJDQWIgviuAVTvdrruDMC0o2QzE6cDaLMVTd
AGLO7RsNnksS1emiqomptJSvAPF3i+p.wT57ZFfRT59..vqbG.wM+2HuZC.W
Oq1lDl48zs4vN7OlYva47sYQIuPj3xrMZi.6gLlHUTVck+cNIp4d1av6.WFE
my0x9oq16Khh5AhJc6dGgzAoyClhdewzr2BOA6FSgymLNVWSaprizcvUM3sh
0doo59dAv9yeUvCZcpB0+pgazaDsg8ErmgXOK1hNKHmMudTKrpG7xv+ASy0L
uB
-----------end_max5_patcher-----------
</code></pre>

-Bhang

Re: Newb needs help building synced random controller generator

Posted: Sat Apr 14, 2012 11:25 am
by synnack
The 1n gives a bang every bar. You want 4n if you want a bang every quarter note.

When i load your patch it does indeed bang out notes from drunk.

If you open the Max Window, do you see any errors? (Under Window menu in Max)

Re: Newb needs help building synced random controller generator

Posted: Sat Apr 14, 2012 10:50 pm
by Bhang
I figured it out. The first error was that I had to change the range from an integer at 1-127 to a floating point 0. to 1. . That at least fixed the range issue. Then I changed the quantization value and was able to make it work. Crap patch, but at least it works now.

Thanks for the help

Re: Newb needs help building synced random controller generator

Posted: Sun Apr 15, 2012 2:12 am
by synnack
thing is some things you'll want to attach this to are 1-127, others are 0-1.

Download this device and see how I dealt with it.

http://www.maxforlive.com/library/device/66/linefo

In this device I have a way to attach to whatever perimeter and send random numbers to it as you're working on.

Re: Newb needs help building synced random controller generator

Posted: Mon Apr 16, 2012 7:28 pm
by Bhang
Thanks, I'll check it out.
-Bhang