Browsing articles tagged with " free"
Jan 23, 2011 - 15:45
julien

Targeting a parameter on a smart way



Using Ableton Live & Max for Live, you probably want to adress a specific parameter of your live set in order to change it remotely.
If you studied max for live and LiveAPI a bit, you probably already know that you need to use the famous live path to “progressively” enter in the Live engine by walking on the path, beginning by the live_set root, the track, the device and finally the targeted parameter.

A nice way, used by a lot of people, is to use 3 umenus objects in max for live.
Those 3 menus are populated progressively by clicking on the first one to choose the track, the second one to choose the device in that track, and the 3rd one to choose the final target: your parameter.

I made ONE of the possible implementation and gave it as an example.

It involves javascript and several max objects.

The whole architecture is:

Here is the stuff:

———-begin_max5_patcher———-
1357.3oc2YsraiaCEccFf4efPqSEDeHRwhhBLcV2MEY2fAAJVz1LQRzPh1Mo
C5+dIodaaYKmnNdxrHQVWRQcOm64d4C8sO9ga7dP8rnzC7qfu.t4luYrbiyl
0xMMFtwKK94EowktN5kIJKiWI7tstwMw5Eqk4qtuPrPWMT3vHeBKJ.wtEfoQ
9A2BBCr+GR8C.es4Iy2lo1pSEZ2.CaLWYS+xFQ0n4408HKU4573LWKdepPFm
15GxDmQ0CO9KPu98uT9Ot9CstP2qVl27lQNi+6G+f8p4xsSlKxE+s48091zh
mcLfWpJNwxSfEoh3hSQUj.lkXPDGKACpnonYml.+gJM4XbEO5xHK3rSVOVBt
as3ypDg+ikmhqfXjeHiiITKEE3yY7PN2PdrP+HDEQwml5HiSc216uWEMhoWF
MRlcZbSgXiHOAHSNYpYDuM0DgHWIQGDRt1ptkEprxWxdPkNY5J.5jeFUFk88
mwvWaFqQfsItv3yZQwTyUwlhazPJlgtNhsfn2Ihs.rOCGfPgWYwFk8ihVKQr
StPLUgFhG4a9IhQtJBMD98gNCAY9gQbjUbccKpQn+nHzzEwKdZx5LB2GyMYp
vqSAML88gPa.mcUEZ3uaolayD4am7LiHV+UfwFmQvsiXgnTjqi0RU9.pRpEY
UtvuIx1ne428FkDk45WwpcsCP8dE6dnAKQoSV12K6W4IzGAobnQDX1hHkERP
10ra.NOL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onzv6pJXML8fd
DbYMXt7e.8otWMB
———–end_max5_patcher———–

The JS code is :

/*
//////////////////////////////////////////////////////////////////////////////
this funky code has been written by me, julien bayle, a particular sunday morning,
but you can edit it, as a lot of my others work, in order to inspire you, etc.
this code is licensed under the Creative Commons Attribution 3.0 License.
//////////////////////////////////////////////////////////////////////////////
*/

inlets = 4;
outlets = 4;

function get_those_funky_tracks()
{
for (t = 0 ; t < num_tracks; t++)
{
track_table[t] = new LiveAPI(this.patcher, “live_set tracks ” + t);
outlet(0, “append ” + track_table[t].get(“name”));
}
}

function get_those_cooly_devices(track_n)
{

num_devices = track_table[track_n].getcount(“devices”);

for (d = 0 ; d < num_devices; d++)
{
device_table[d] = new LiveAPI(this.patcher, “live_set tracks ” + track_n + ” devices ” + d);
outlet(1, “append ” + device_table[d].get(“name”));
}
}

function get_those_gorgeous_parameters(device_m)
{
num_parameters = device_table[current_device].getcount(“parameters”);
for (p = 0 ; p < num_parameters; p++)
{
parameter_table[p] = new LiveAPI(this.patcher, “live_set tracks ” + current_track + ” devices ” + device_m + ” parameters ” + p);
outlet(2, “append ” + parameter_table[p].get(“name”));
}
}

function export_the_so_so_looked_for_ID(parameter_o)
{
outlet(3, parameter_table[parameter_o].id) ;
}

function clear_all()
{
outlet(0, “clear”);
outlet(1, “clear”);
outlet(2, “clear”);
}

function track(n)
{
outlet(1, “clear”);
outlet(2, “clear”);
current_track = n;

get_those_cooly_devices(n);
}

function device(m)
{
outlet(2, “clear”);
current_device = m;
get_those_gorgeous_parameters(m);
}

function parameter(o)
{
current_parameter = o;
export_the_so_so_looked_for_ID(o);
}

function bang()
{
clear_all();

liveset_observer = new LiveAPI(this.patcher, “live_set”);
num_tracks = liveset_observer.getcount(“tracks”);

current_track = 0;
current_device = 0;
current_parameter = 0;
track_table = new Array();
device_table = new Array();
parameter_table = new Array();
get_those_funky_tracks();
}

Aug 28, 2010 - 13:29
julien

why I support somaFM & you should do it too ?



somaFM is THE radio full music service.
they provides a lot of channels: http://somafm.com/listen/

why did I decide to support them?
because:
- with their big choice of channels, they give us the choice too. And choice means freedom.
- they provide all these services for … FREE ; and as I know well hosting streaming services, I know it costs a lot to do that!
- their channels provide very good music ; nice choices on each channel!
- you can listen to them everywhere in the world from internet! no matters fm propagation problems etc. so it is very useful. (and you can listen to it with smartphone or internet!)
- the name & title of their radio are just amazing!

so please, listen to it and support them

the channels protofuse/julien bayle listens the most:
Drone Zone: Served best chilled, safe with most medications. Atmospheric textures with minimal beats.
cliqhop idm: Blips’n’beeps backed mostly w/beats. Intelligent Dance Music.
Mission Control: Celebrating NASA and Space Explorers everywhere.

I gave only $20.
but if you do it too, it would continue to sound in the air more & more!

long life to somaFM!

Pages:«12


Who am I ?

I'm a digital artist & a technology developer.
You can read more about me here.
You are on my official & unique blog.
Feel free to subscribe.

My twitter feed