Updated Tutorial: In Control - A journey into programming.

Learn about building and using Max for Live devices.
technog0d
Posts: 265
Joined: Mon May 26, 2008 1:14 pm
Location: Philly
Contact:

Updated Tutorial: In Control - A journey into programming.

Post by technog0d » Thu Nov 12, 2009 12:27 am

I just put up a new video on my site entitled, "In Control - A Journey into Programming Hardware Controllers".

This first part goes through how to setup a 64 button grid on a controller and then how to address it in Max. This is the first part of a series that will bring you through the programming of different hardware controllers. We will illustrate many techniques throughout the series.

Enjoy:

http://www.max4live.info/content/tutori ... s-part-one

Mike
Last edited by technog0d on Sun Nov 15, 2009 10:19 pm, edited 1 time in total.
Websites:
Max For Live Community site:
http://www.max4live.info
http://www.noisemakers.info

Controllers: Lemur, Ohm 64, Monome, APC40, Launchpad
Daw: Live 8 Suite
Audio Interfaces: Apogee Ensemble & Duet
Monitors: JBL LSR 4300

synnack
Posts: 2053
Joined: Fri Mar 02, 2007 10:55 pm
Location: Boston, MA
Contact:

Re: New Tutorial Video: In Control - A journey into programming.

Post by synnack » Thu Nov 12, 2009 1:40 am

Great work Mike!
MBP | Live 9 Suite | Max for Live | Push | MOTU Ultralite | iPad | Analog Modular Synths | Moog Voyager
aka "Tempus3r" | Music | Blog | Twitter | Soundcloud

Image

S4racen
Posts: 5987
Joined: Fri Aug 24, 2007 4:08 pm
Location: Dunstable
Contact:

Re: New Tutorial Video: In Control - A journey into programming.

Post by S4racen » Thu Nov 12, 2009 9:27 am

Excellent, Mike.....!!!

Thankyou, your series of tutorial are keeping me going with my crippled max installation, i can practise i just can't save so i'm not putting in the hours i want to with my mapping of the APC... Thankfully it's meant i've had the time to plan out the schematic of what i want to do and tinker with it before i get deep into the programming which'll get messy without the proper planning as i've learnt so far....

Cheers
D

phattline
Posts: 176
Joined: Sun Jul 05, 2009 5:54 pm

Re: New Tutorial Video: In Control - A journey into programming.

Post by phattline » Thu Nov 12, 2009 10:27 am

yes, excellent, thats exact what i needet :D

Nightrider
Posts: 380
Joined: Tue Oct 25, 2005 1:59 am
Location: Los Angeles

Re: New Tutorial Video: In Control - A journey into programming.

Post by Nightrider » Fri Nov 13, 2009 1:20 am

i take it this will work for the launchpad too?

technog0d
Posts: 265
Joined: Mon May 26, 2008 1:14 pm
Location: Philly
Contact:

Re: New Tutorial Video: In Control - A journey into programming.

Post by technog0d » Sat Nov 14, 2009 6:21 pm

It can work with the Launchpad. There are definitely better methods through the API that I plan to illustrate.
Websites:
Max For Live Community site:
http://www.max4live.info
http://www.noisemakers.info

Controllers: Lemur, Ohm 64, Monome, APC40, Launchpad
Daw: Live 8 Suite
Audio Interfaces: Apogee Ensemble & Duet
Monitors: JBL LSR 4300

technog0d
Posts: 265
Joined: Mon May 26, 2008 1:14 pm
Location: Philly
Contact:

Re: New Tutorial Video: In Control - A journey into programming.

Post by technog0d » Sun Nov 15, 2009 7:53 pm

In Control Part 2: Monome emulators is now up!

http://www.max4live.info/content/tutori ... -emulators

Mike
Websites:
Max For Live Community site:
http://www.max4live.info
http://www.noisemakers.info

Controllers: Lemur, Ohm 64, Monome, APC40, Launchpad
Daw: Live 8 Suite
Audio Interfaces: Apogee Ensemble & Duet
Monitors: JBL LSR 4300

Tone Deft
Posts: 24152
Joined: Mon Oct 02, 2006 5:19 pm

Re: Updated Tutorial: In Control - A journey into programming.

Post by Tone Deft » Fri Nov 20, 2009 9:18 pm

bump.

shout out to your site, I've watched a few of the videos and they were very helpful. I just haven't had time to watch them all or give a shout out. ;)
In my life
Why do I smile
At people who I'd much rather kick in the eye?
-Moz

technog0d
Posts: 265
Joined: Mon May 26, 2008 1:14 pm
Location: Philly
Contact:

Re: Updated Tutorial: In Control - A journey into programming.

Post by technog0d » Fri Nov 20, 2009 10:24 pm

Thanks Tone Deft...

I am working on part 3 of the In Control series. Then, I am planning on working on the Launchpad and APC version of In Control and some additional Lemur tutorials. Please feel free to suggest topics you would to see in video tutorial form.

Mike
Websites:
Max For Live Community site:
http://www.max4live.info
http://www.noisemakers.info

Controllers: Lemur, Ohm 64, Monome, APC40, Launchpad
Daw: Live 8 Suite
Audio Interfaces: Apogee Ensemble & Duet
Monitors: JBL LSR 4300

peboer
Posts: 37
Joined: Wed Sep 02, 2009 5:25 pm
Location: San Jose, CA
Contact:

Re: Updated Tutorial: In Control - A journey into programming.

Post by peboer » Sat Nov 21, 2009 12:04 am

Nice stuff!
I'm working on a mad step sequencer for the Ohm64. I'll be sharing my code once it's cleaned up. Since I can't do sysex, I have to use notes to light things up.
I'm relying on the factory default MIDI settings, then converting those into something useful in my m4l device. Converting the fac. defaults note values into the "label numbers" really easy - just put note:

note number
|\
[/ 8] [% 8]
| |
| [* 8]
| /
[+ 0]
|
[+ 1]

Here's a more complete example, including mapping the xfader to velocity:

<pre><code>
----------begin_max5_patcher----------
1317.3oc2Zt0aaaCEG+Y6OEDBnur5lJRcwRCCCX.CXnOrOAAEAzRzIbUlzPh
1McE8693EYaQaIWJGaEk8PURHon9ye7b3kSOee5DuE7mIUdfeEbOXxjuOcxD
cQpBlT+2S7VgeNq.WoalWFe0JBS3MyTmf7rPW9yKw4kfU30U.AGrkTvynhus
qYETFIiugoaKptP1lU7MhBhP2y90kRy08Gew+7g3cu9RNSvvqH5Z9iRJtXWM
qwhrmnrGenjjILiC3b+67mAhiTOmGpdhRuyG74FcVE8e0cFT0z8pgx1IFnpr
eLcp5wLGICi7UonOALYB4fGfB8ZcTiNcTGrqkllI91ZhYf4QUb27CqQSeQSp
FMgH0SXxqGZVCxIKwaJDUnB7BRgyHBgtcLxX2.CzjJAdQLJnY2SJqISMZjcA
sfrkTVQ4LcuLqt7ChHT+0CSLe8X0OBBiNnBIveT5g8ERdCWmIdRb1m9fulvN
zdcysdX2RJacIoR56iE0Bu42UMM9P6rwt9k3LRmubqyRS7drjlyYJQX8lph2
84tGnm2rFe55Y30s7pBNuXAtbKshtnfXMKHMkwL5JrfHnF0f72+dzUqKolkw
1WFggk8wSUYk7hBqtxTy1VpImrklQ9JMW7jtuNvJqUjaX0X4jYU94b1rc39E
.D42rFaOMXiZZ5sEz7UZ0ia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KPSx+3GS+OfOWi0V
-----------end_max5_patcher-----------
</code></pre>
work:
http://www.lividinstruments.com
play:
The Lifespan Cocktail
2 oz brandy
1/4 oz orgeat
1/4 oz maraschino
3/8 oz meyer lemon juice
3/8 oz yellow grapefruit juice
Shake with ice, strain, and serve in an absinthe-rinsed cocktail glass.

technog0d
Posts: 265
Joined: Mon May 26, 2008 1:14 pm
Location: Philly
Contact:

Re: Updated Tutorial: In Control - A journey into programming.

Post by technog0d » Sat Nov 21, 2009 3:30 am

I really didn't think about the math required to use the default midi mappings in a grid on the Ohm64. I probably should have done that first. :-) I will use that in my future patches. Thanks...

Mike
Websites:
Max For Live Community site:
http://www.max4live.info
http://www.noisemakers.info

Controllers: Lemur, Ohm 64, Monome, APC40, Launchpad
Daw: Live 8 Suite
Audio Interfaces: Apogee Ensemble & Duet
Monitors: JBL LSR 4300

S4racen
Posts: 5987
Joined: Fri Aug 24, 2007 4:08 pm
Location: Dunstable
Contact:

Re: Updated Tutorial: In Control - A journey into programming.

Post by S4racen » Sat Nov 21, 2009 11:45 am

technog0d wrote:Thanks Tone Deft...

I am working on part 3 of the In Control series. Then, I am planning on working on the Launchpad and APC version of In Control and some additional Lemur tutorials. Please feel free to suggest topics you would to see in video tutorial form.

Mike
Hurry up!! (Only kidding) i'm strating in earnest today with Max and the APC so i'm sure it won't be long before i get stuck, want to see if i can get far enough to blackmail myself into buying Max the day it goes live.... Having looked at the content in some detail last night i'm thinking it's a yes but i haven't seen enough stuff that uses the buffer to do beatrepeat style stuff that can be trigged midi wise....

Cheers
D

technog0d
Posts: 265
Joined: Mon May 26, 2008 1:14 pm
Location: Philly
Contact:

Re: Updated Tutorial: In Control - A journey into programming.

Post by technog0d » Sat Nov 21, 2009 12:11 pm

S4racen wrote:
technog0d wrote:Thanks Tone Deft...

I am working on part 3 of the In Control series. Then, I am planning on working on the Launchpad and APC version of In Control and some additional Lemur tutorials. Please feel free to suggest topics you would to see in video tutorial form.

Mike
Hurry up!! (Only kidding) i'm strating in earnest today with Max and the APC so i'm sure it won't be long before i get stuck, want to see if i can get far enough to blackmail myself into buying Max the day it goes live.... Having looked at the content in some detail last night i'm thinking it's a yes but i haven't seen enough stuff that uses the buffer to do beatrepeat style stuff that can be trigged midi wise....

Cheers
D
If you are on these forums and my site as much as I have seen you, then you have already convinced yourself. Who are you fooling. :-) Believe me, The Beat repeat and loop slicing stuff is definitely doable, has been done, and will be done again. I will get into some MSP tutorials in the upcoming months. Which made me think of a cool tutorial: Manipulating Beats and Slices... Or something like that.

Mike
Websites:
Max For Live Community site:
http://www.max4live.info
http://www.noisemakers.info

Controllers: Lemur, Ohm 64, Monome, APC40, Launchpad
Daw: Live 8 Suite
Audio Interfaces: Apogee Ensemble & Duet
Monitors: JBL LSR 4300

S4racen
Posts: 5987
Joined: Fri Aug 24, 2007 4:08 pm
Location: Dunstable
Contact:

Re: Updated Tutorial: In Control - A journey into programming.

Post by S4racen » Sat Nov 21, 2009 1:15 pm

Mike[/quote]

If you are on these forums and my site as much as I have seen you, then you have already convinced yourself. Who are you fooling. :-) Believe me, The Beat repeat and loop slicing stuff is definitely doable, has been done, and will be done again. I will get into some MSP tutorials in the upcoming months. Which made me think of a cool tutorial: Manipulating Beats and Slices... Or something like that.

Mike[/quote]

Ok i'm convinced, there was just the one gap that at the moment beatlookup for Reaktor is filling, i just want to build my own that i can understand and therefore tweak!!

I'm really just bumbling along at the minute though and it's quite frustratingly fun!!

Manipulating Beats and Slices will be a Nobel Peace Prize winning tutorial!!

Cheers
D

Tone Deft
Posts: 24152
Joined: Mon Oct 02, 2006 5:19 pm

Re: Updated Tutorial: In Control - A journey into programming.

Post by Tone Deft » Sun Nov 22, 2009 4:47 am

what does "As always, Check out the video after the jump..."

bummer, I was hoping to watch the video of where you use getinfo to tickle Live API objects to get the command structure.
In my life
Why do I smile
At people who I'd much rather kick in the eye?
-Moz

Post Reply