Search found 119 matches

by Hanz_Petrov
Wed Mar 31, 2010 10:20 pm
Forum: Max For Live
Topic: Hello Launchpad owner - Be a darling [Share]
Replies: 4
Views: 1045

Re: Hello Launchpad owner - Be a darling ...

Novation also offers a free Max for Live step sequencer for the Launchpad, here:
http://www.novationmusic.com/news/article=36

Taking it apart is a good way to learn Max (although it's definitely not a simple patch!)

Hanz
by Hanz_Petrov
Tue Mar 30, 2010 5:32 pm
Forum: Max For Live
Topic: Proposition: solution for sysex...SOLVED!!!
Replies: 66
Views: 11172

Re: Proposition: solution for sysex...SOLVED!!!

installed code, works great :) Now just have to figure out how to get channelized midi and sysex input from the script. For input, handle_sysex(self, midi_bytes) is probably a good place to start - I believe that this method should work in realtime. Seems to get called by receive_midi(self, midi_by...
by Hanz_Petrov
Tue Mar 30, 2010 2:29 am
Forum: Max For Live
Topic: Proposition: solution for sysex...SOLVED!!!
Replies: 66
Views: 11172

Re: Proposition: solution for sysex...SOLVED!!!

Hey guys, I think I've got it working now (well, the sysex out part at least). Here's the python code: def max_to_midi(self, message): #takes a 'tosymbol' list from Max, such as "240 126 0 6 1 247" msg_str = str(message) #gets rid of the quotation marks which 'tosymbol' has added midi_msg ...
by Hanz_Petrov
Mon Mar 29, 2010 4:05 am
Forum: Max For Live
Topic: Handling NRPNs in M4L
Replies: 10
Views: 3703

Re: Handling NRPNs in M4L

Excellent tutorials! Thanks for sharing.

Hanz
by Hanz_Petrov
Mon Mar 29, 2010 4:03 am
Forum: Max For Live
Topic: Proposition: solution for sysex...SOLVED!!!
Replies: 66
Views: 11172

Re: Proposition: solution for sysex...SOLVED!!!

Hey guys, I've been fooling around a bit with the sysex thing, and I've found two ways to get sysex data to a control surface using only Max for Live and a Framework-based python script. Unfortunately, neither way seems quite satisfactory (and only one works properly). 1. Define the sysex as a tuple...
by Hanz_Petrov
Mon Mar 22, 2010 5:48 pm
Forum: Max For Live
Topic: Wiimote
Replies: 1
Views: 578

Wiimote

Anyone using one of the Wiimote Max externals as part of a Max for Live patch? I'm on PC, and the tk.wii object seems to work well - just wondering if anyone has created any interesting patches using this (or the equivalent aka.wiimote for Mac). Up until now, I’ve been using GlovePIE and a MIDI remo...
by Hanz_Petrov
Sat Mar 20, 2010 4:48 pm
Forum: Max For Live
Topic: how to communicate with control surfaces
Replies: 20
Views: 4683

Re: how to communicate with control surfaces

So here's an example of how to manipulate the "red box" using Max for Live: http://1.bp.blogspot.com/_j9zS9x1UVfc/S6T52WHxAkI/AAAAAAAAAKI/Wmp3jZc_QK0/s320/ProjectX+max+red+box.jpg In this example, a simple call to the SessionComponent set_offsets method is used to move the box origin to (2...
by Hanz_Petrov
Fri Mar 19, 2010 4:21 pm
Forum: Max For Live
Topic: Proposition: solution for sysex...SOLVED!!!
Replies: 66
Views: 11172

Re: Proposition: solution for sysex

For receiving midi data (ie from controller -> Midi Script) there is a specific callback, but i think this is still limited to around 60ms. I think note data is passed directly to ableton and not interfered with so timing is strict, however CCs do go into a midi remote scripts. So yes my understand...
by Hanz_Petrov
Fri Mar 19, 2010 4:02 pm
Forum: Max For Live
Topic: Proposition: solution for sysex...SOLVED!!!
Replies: 66
Views: 11172

Re: Proposition: solution for sysex

As far as I am aware, there's only one mystery left in the API. The red ring and offset calls/functions. Anybody got the code for the SessionComponent? I believe that is where those functions lie. My ProjectX example script shows how to manipulate the "red box". I use a Framework SessionC...
by Hanz_Petrov
Fri Mar 19, 2010 2:57 am
Forum: Max For Live
Topic: Proposition: solution for sysex...SOLVED!!!
Replies: 66
Views: 11172

Re: Proposition: solution for sysex

@amounra93: I'm not sure what makes a script accessible to M4L (let alone addressable). Perhaps M4L polls for ControlSurface objects? In any event, you might want to try setting up a very simple Framework controller script, with one or two simple methods, then see if you can get M4L to talk to it. T...
by Hanz_Petrov
Thu Mar 18, 2010 4:16 pm
Forum: Max For Live
Topic: Proposition: solution for sysex...SOLVED!!!
Replies: 66
Views: 11172

Re: Proposition: solution for sysex

The central base class for the Framework MIDI remote scripts is ControlSurface - this class has a receive_midi method, which the newer scripts use: def receive_midi(self, midi_bytes): """ Live -> Script MIDI messages are only received through this function, when explicitly forwarded i...
by Hanz_Petrov
Thu Mar 18, 2010 5:24 am
Forum: Max For Live
Topic: how to communicate with control surfaces
Replies: 20
Views: 4683

Re: how to communicate with control surfaces

Hello all, These properties and functions definitely come from the MIDI remote scripts - and the Framework classes seem to be important here. As an experiment, I modified my custom script (which is based on the Framework classes) by assigning name values to a few of the components and controls, for ...
by Hanz_Petrov
Tue Mar 16, 2010 2:53 pm
Forum: Tips & Tricks
Topic: MIDI Remote Scripts - Introduction to the Framework Classes
Replies: 9
Views: 5489

Re: MIDI Remote Scripts - Introduction to the Framework Classes

this is fantastic. Really thorough intro with documentation too! I'm trying to convert user 2 of a launchpad to being an instant mapping device controller. Any clues to what framework module i should use. No worries if this is too big an ask- the hunt will be good for me. Cheers! oddstep, I suspect...
by Hanz_Petrov
Mon Mar 15, 2010 8:27 pm
Forum: Tips & Tricks
Topic: MIDI Remote Scripts - Introduction to the Framework Classes
Replies: 9
Views: 5489

MIDI Remote Scripts - Introduction to the Framework Classes

Hello all,

These forums have been a great source of knowledge to me, so I thought I'd try to give back by putting together a short introduction to MIDI remote scripting, using the new Framework classes.

http://remotescripts.blogspot.com/

Enjoy,

Hanz