Automation

peoplethought@yahoo.com's icon

Can you do automation in MAX? I've looked through all tutorials and found nothing on it. This is one of the main reasons I wanted to use it.

I want to record say 2 bars of looping automation, then also have the ability to hit a button and have it clear the automation. I don't want to have to draw this in with my mouse. All done with a MIDI controller. Can I do this?

barry threw's icon

Yes.

On Mar 3, 2008, at 5:57 PM, Jonathan Dean wrote:

>
> Can you do automation in MAX? I've looked through all tutorials and
> found nothing on it. This is one of the main reasons I wanted to use
> it.
>
> I want to record say 2 bars of looping automation, then also have
> the ability to hit a button and have it clear the automation. I
> don't want to have to draw this in with my mouse. All done with a
> MIDI controller. Can I do this?

barry threw
Media Art and Technology

San Francisco, CA
Work: 857-544-3967
Email: bthrew (at) gmail (dot) com
Web: www.barrythrew.com

Wax's icon

Well first of all, what type of automation? From Live or Logic, etc or
from a keyboard slider/knob? Each would have it owns solution in Max.
Max by itself does not do "automation" as it is a general toolset
which from things like automation and a lot of other tools can be
created.

To create an automation "recorder", one (of many) solution would be to
have a midiin>midiparse>pack>prepend (a number)>coll. Perhaps a metro
or something similar could drive the coll storing. Something like this
could record your information in over time and then play it back when
you wanted to be just looking up all the addresses (in sequence) from
the coll and sending them back out a midiout object to your DAW or
controller.

Hope this helps. Oh, and by the way, if none of this made sense you
may want to go through the Max tutorials to get better sense of how
Max works.

Chris Muir's icon

On Mar 3, 2008, at 5:57 PM, Jonathan Dean wrote:
> I want to record say 2 bars of looping automation, then also have
> the ability to hit a button and have it clear the automation. I
> don't want to have to draw this in with my mouse. All done with a
> MIDI controller. Can I do this?

Yeah, but it will take some work. I have an collection of code for
doing stuff more or less like this, called Gesture Recorder, here: http://www.xfade.com/max/

This is by no means a system that you can use off the shelf, but
you'll have to understand how it works and adapt it to your needs.

Chris Muir
cbm@well.com

FP's icon

i begun to implement this on my "preset manager" with pattrstorage.
have a look if it can help.
http://www.pan-etc.net/nav/dev/dev-patch.htm

--
elt@altern.org
http://pan-etc.net
--

FP's icon

and with the "coll" method.
maybe found on this forum.

Max Patch
Copy patch and select New From Clipboard in Max.

peoplethought@yahoo.com's icon

"Well first of all, what type of automation?"

The kind of automation where you hit a record button, move a knob, and the movement is recorded.

Ok, to be very specific:

Say over 2 bars at the tempo of 120 BPM, I have a loop being played. I'm running that loop through a filter. So within that looping, I want to be able to hit and hold a record button, and whenever that record button is down, any movement I make with my designated Cutoff knob will be recorded. Also, the playback of the automation of the Filter cannot be restarted whenever it is being written to, it has to loop independent of wether or not record is on.

And like I said before I have gone through the tutoials. It seems like its a knee jerk for people to recomend that people look at the tutorials.

peoplethought@yahoo.com's icon

Can I not do this with the seq object? I'm trying to test it, however it doesn't seem to be responding to record messages for me. It says it can record modulation so I'm assume CC messages will record too.

nick rothwell | project cassiel's icon

On 4 Mar 2008, at 18:29, Jonathan Dean wrote:

> The kind of automation where you hit a record button, move a knob,
> and the movement is recorded.

Pardon me if this has been thrashed out already, or if it's a stupid
suggestion, but: if you have some audio code in MaxMSP onto which you
want to add automation and looping, you could always just turn it into
a Pluggo and host it in a sequencer.

(I'm currently porting standalone Max systems into Ableton Live - it
means I can clean up a lot of things.)

    -- N.

Nick Rothwell / Cassiel.com Limited
www.cassiel.com
www.myspace.com/cassieldotcom
www.last.fm/music/cassiel
www.reverbnation.com/cassiel
www.linkedin.com/in/cassiel
www.loadbang.net

Stefan Tiedje's icon

Jonathan Dean schrieb:
> Can I not do this with the seq object? I'm trying to test it, however
> it doesn't seem to be responding to record messages for me. It says
> it can record modulation so I'm assume CC messages will record too.

The seq~ object is ideal for the kind of automation you want to do, its
a MSP object...

--
Stefan Tiedje------------x-------
--_____-----------|--------------
--(_|_ ----|-----|-----()-------
-- _|_)----|-----()--------------
----------()--------www.ccmix.com

Reso Kiknadze's icon

hi all,

when i open my patch, where i use a lcd - object connected with a
subpatcher

i am getting a funny message in the max window, (MAX 5, both intel
macs, a macbooc and a macbook pro)

instead of an lcd object (working ok yesterday) a dashed transparent
frame,
otion-clicking it opens lcd help file WITH THE SAME NOTFOUND-
TRANSPARENT FRAME and corresponding message in the max window:
LCD - NO SUCH OBJECT....

when i close my patch and make a new max patcher and create an lcd
object , --- SAME PROBLEM

BUT:

whan i QUIT MAX, RESTART it, make a new patcher, create a lcd object,
it works and MY PATCH WORKS TOO!!!

my patch, opened first, does this stupid thing...

what could it be? some path mistake?

but lcd-help should open anyway, should not it?

thanks, kind regards and sorry for eventual silly question...

reso kiknadze

swieser1's icon

Start a new thread instead of replying to a 9-month old thread, and you'll have a better chance at getting an answer to your question.

Mr. Banshee's icon

i have the same problem of LCD-NO SUCH OBJECT !
-chuck

________________________________
From: Reso Kiknadze
Sent: Sunday, November 23, 2008 9:05:04 AM
Subject: [maxmsp] lcd - object not found

hi all,

when i open my patch, where i use a lcd - object connected with a subpatcher

i am getting a funny message in the max window, (MAX 5, both intel macs, a macbooc and a macbook pro)

instead of an lcd object (working ok yesterday) a dashed transparent frame,
otion-clicking it opens lcd help file WITH THE SAME NOTFOUND-TRANSPARENT FRAME and corresponding message in the max window:
LCD - NO SUCH OBJECT....

when i close my patch and make a new max patcher and create an lcd object , --- SAME PROBLEM

BUT:

whan i QUIT MAX, RESTART it, make a new patcher, create a lcd object, it works and MY PATCH WORKS TOO!!!

my patch, opened first, does this stupid thing...

what could it be? some path mistake?

but lcd-help should open anyway, should not it?

thanks, kind regards and sorry for eventual silly question...

reso kiknadze

Chris Muir's icon

The chances are you have something else in your search paths named LCD.

On Nov 23, 2008, at 3:47 PM, Chubb wrote:

> i have the same problem of LCD-NO SUCH OBJECT !
> -chuck
>
> From: Reso Kiknadze
> Sent: Sunday, November 23, 2008 9:05:04 AM
> Subject: [maxmsp] lcd - object not found
>
> hi all,
>
>
> when i open my patch, where i use a lcd - object connected with a
> subpatcher
>
> i am getting a funny message in the max window, (MAX 5, both intel
> macs, a macbooc and a macbook pro)
>
> instead of an lcd object (working ok yesterday) a dashed transparent
> frame,
> otion-clicking it opens lcd help file WITH THE SAME NOTFOUND-
> TRANSPARENT FRAME and corresponding message in the max window:
> LCD - NO SUCH OBJECT....
>
>
> when i close my patch and make a new max patcher and create an lcd
> object , --- SAME PROBLEM
>
> BUT:
>
> whan i QUIT MAX, RESTART it, make a new patcher, create a lcd
> object, it works and MY PATCH WORKS TOO!!!
>
> my patch, opened first, does this stupid thing...
>
> what could it be? some path mistake?
>
> but lcd-help should open anyway, should not it?
>
> thanks, kind regards and sorry for eventual silly question...
>
> reso kiknadze
>

Chris Muir
cbm@well.com    
http://www.xfade.com

Reso Kiknadze's icon

it should not be a path thing -

the same error happens when i open my patch on another computer in
studio,
the only help is - opening a new pathcer, creating an lcd-objct, then
opening my patch...
max seems to find the lcd objct normally, exept when opening my patch
first, in this case no other created lcd-objects or lcd.help patches
work - all get the error message *lcd - object not found*...

just funny and a bit annoying...

thanks anyway, i'll keep investigating :-)

r

___________________________________
Reso Kiknadze
composition ~ saxophone ~ electronics
-------------------------------------------------------------
Eschenburgstr. 13 a ~ D-23568 Luebeck ~ GERMANY
-------------------------------------------------------------
phone / fax: +49 451 3885946 ~ mobile: +49 173 3467966
email: reso_k@web.de ~ URL: www.reso-kiknadze.de

Am 24.11.2008 um 01:57 schrieb Chris Muir:

>
> The chances are you have something else in your search paths named
> LCD.
>
> On Nov 23, 2008, at 3:47 PM, Chubb wrote:
>
>> i have the same problem of LCD-NO SUCH OBJECT !
>> -chuck
>>
>> From: Reso Kiknadze
>> Sent: Sunday, November 23, 2008 9:05:04 AM
>> Subject: [maxmsp] lcd - object not found
>>
>> hi all,
>>
>>
>> when i open my patch, where i use a lcd - object connected with a
>> subpatcher
>>
>> i am getting a funny message in the max window, (MAX 5, both intel
>> macs, a macbooc and a macbook pro)
>>
>> instead of an lcd object (working ok yesterday) a dashed
>> transparent frame,
>> otion-clicking it opens lcd help file WITH THE SAME NOTFOUND-
>> TRANSPARENT FRAME and corresponding message in the max window:
>> LCD - NO SUCH OBJECT....
>>
>>
>> when i close my patch and make a new max patcher and create an lcd
>> object , --- SAME PROBLEM
>>
>> BUT:
>>
>> whan i QUIT MAX, RESTART it, make a new patcher, create a lcd
>> object, it works and MY PATCH WORKS TOO!!!
>>
>> my patch, opened first, does this stupid thing...
>>
>> what could it be? some path mistake?
>>
>> but lcd-help should open anyway, should not it?
>>
>> thanks, kind regards and sorry for eventual silly question...
>>
>> reso kiknadze
>>
>
> Chris Muir
> cbm@well.com    
> http://www.xfade.com
>
>
>
>
>
>

Reso Kiknadze's icon

sorry, the error message in max window is

lcd: no such object...

___________________________________
Reso Kiknadze
composition ~ saxophone ~ electronics
-------------------------------------------------------------
Eschenburgstr. 13 a ~ D-23568 Luebeck ~ GERMANY
-------------------------------------------------------------
phone / fax: +49 451 3885946 ~ mobile: +49 173 3467966
email: reso_k@web.de ~ URL: www.reso-kiknadze.de

Am 24.11.2008 um 01:57 schrieb Chris Muir:

>
> The chances are you have something else in your search paths named
> LCD.
>
> On Nov 23, 2008, at 3:47 PM, Chubb wrote:
>
>> i have the same problem of LCD-NO SUCH OBJECT !
>> -chuck
>>
>> From: Reso Kiknadze
>> Sent: Sunday, November 23, 2008 9:05:04 AM
>> Subject: [maxmsp] lcd - object not found
>>
>> hi all,
>>
>>
>> when i open my patch, where i use a lcd - object connected with a
>> subpatcher
>>
>> i am getting a funny message in the max window, (MAX 5, both intel
>> macs, a macbooc and a macbook pro)
>>
>> instead of an lcd object (working ok yesterday) a dashed
>> transparent frame,
>> otion-clicking it opens lcd help file WITH THE SAME NOTFOUND-
>> TRANSPARENT FRAME and corresponding message in the max window:
>> LCD - NO SUCH OBJECT....
>>
>>
>> when i close my patch and make a new max patcher and create an lcd
>> object , --- SAME PROBLEM
>>
>> BUT:
>>
>> whan i QUIT MAX, RESTART it, make a new patcher, create a lcd
>> object, it works and MY PATCH WORKS TOO!!!
>>
>> my patch, opened first, does this stupid thing...
>>
>> what could it be? some path mistake?
>>
>> but lcd-help should open anyway, should not it?
>>
>> thanks, kind regards and sorry for eventual silly question...
>>
>> reso kiknadze
>>
>
> Chris Muir
> cbm@well.com    
> http://www.xfade.com
>
>
>
>
>
>

Reso Kiknadze's icon

i found my stupid mistake:

the subpatcher i created (with a lot of things to send to the lcd-
object) was named *lcd* was irritating max...

i just renamed it into *lcd-1* or something, then restarted max with
my patch and it was fixed...

sorr for disturbing the list ...
thanks

r

___________________________________
Reso Kiknadze
composition ~ saxophone ~ electronics
-------------------------------------------------------------
Eschenburgstr. 13 a ~ D-23568 Luebeck ~ GERMANY
-------------------------------------------------------------
phone / fax: +49 451 3885946 ~ mobile: +49 173 3467966
email: reso_k@web.de ~ URL: www.reso-kiknadze.de

Am 24.11.2008 um 01:57 schrieb Chris Muir:

>
> The chances are you have something else in your search paths named
> LCD.
>
> On Nov 23, 2008, at 3:47 PM, Chubb wrote:
>
>> i have the same problem of LCD-NO SUCH OBJECT !
>> -chuck
>>
>> From: Reso Kiknadze
>> Sent: Sunday, November 23, 2008 9:05:04 AM
>> Subject: [maxmsp] lcd - object not found
>>
>> hi all,
>>
>>
>> when i open my patch, where i use a lcd - object connected with a
>> subpatcher
>>
>> i am getting a funny message in the max window, (MAX 5, both intel
>> macs, a macbooc and a macbook pro)
>>
>> instead of an lcd object (working ok yesterday) a dashed
>> transparent frame,
>> otion-clicking it opens lcd help file WITH THE SAME NOTFOUND-
>> TRANSPARENT FRAME and corresponding message in the max window:
>> LCD - NO SUCH OBJECT....
>>
>>
>> when i close my patch and make a new max patcher and create an lcd
>> object , --- SAME PROBLEM
>>
>> BUT:
>>
>> whan i QUIT MAX, RESTART it, make a new patcher, create a lcd
>> object, it works and MY PATCH WORKS TOO!!!
>>
>> my patch, opened first, does this stupid thing...
>>
>> what could it be? some path mistake?
>>
>> but lcd-help should open anyway, should not it?
>>
>> thanks, kind regards and sorry for eventual silly question...
>>
>> reso kiknadze
>>
>
> Chris Muir
> cbm@well.com    
> http://www.xfade.com
>
>
>
>
>
>

Reso Kiknadze's icon

oh, forgot something:
DELETING the former subpatch named *lcd.maxpat* was important,
otherwise the error persisted...

r

___________________________________
Reso Kiknadze
composition ~ saxophone ~ electronics
-------------------------------------------------------------
Eschenburgstr. 13 a ~ D-23568 Luebeck ~ GERMANY
-------------------------------------------------------------
phone / fax: +49 451 3885946 ~ mobile: +49 173 3467966
email: reso_k@web.de ~ URL: www.reso-kiknadze.de

Am 24.11.2008 um 01:57 schrieb Chris Muir:

>
> The chances are you have something else in your search paths named
> LCD.
>
> On Nov 23, 2008, at 3:47 PM, Chubb wrote:
>
>> i have the same problem of LCD-NO SUCH OBJECT !
>> -chuck
>>
>> From: Reso Kiknadze
>> Sent: Sunday, November 23, 2008 9:05:04 AM
>> Subject: [maxmsp] lcd - object not found
>>
>> hi all,
>>
>>
>> when i open my patch, where i use a lcd - object connected with a
>> subpatcher
>>
>> i am getting a funny message in the max window, (MAX 5, both intel
>> macs, a macbooc and a macbook pro)
>>
>> instead of an lcd object (working ok yesterday) a dashed
>> transparent frame,
>> otion-clicking it opens lcd help file WITH THE SAME NOTFOUND-
>> TRANSPARENT FRAME and corresponding message in the max window:
>> LCD - NO SUCH OBJECT....
>>
>>
>> when i close my patch and make a new max patcher and create an lcd
>> object , --- SAME PROBLEM
>>
>> BUT:
>>
>> whan i QUIT MAX, RESTART it, make a new patcher, create a lcd
>> object, it works and MY PATCH WORKS TOO!!!
>>
>> my patch, opened first, does this stupid thing...
>>
>> what could it be? some path mistake?
>>
>> but lcd-help should open anyway, should not it?
>>
>> thanks, kind regards and sorry for eventual silly question...
>>
>> reso kiknadze
>>
>
> Chris Muir
> cbm@well.com    
> http://www.xfade.com
>
>
>
>
>
>

Chris Muir's icon

That's the key bit. Having something else in the search path named lcd
means that sometimes Max will find your lcd.maxpat instead of lcd.mxo,
when it's looking for lcd.

On Nov 23, 2008, at 6:10 PM, Reso Kiknadze wrote:

> oh, forgot something:
> DELETING the former subpatch named *lcd.maxpat* was important,
> otherwise the error persisted...
>
> r
>
> ___________________________________
> Reso Kiknadze
> composition ~ saxophone ~ electronics
> -------------------------------------------------------------
> Eschenburgstr. 13 a ~ D-23568 Luebeck ~ GERMANY
> -------------------------------------------------------------
> phone / fax: +49 451 3885946 ~ mobile: +49 173 3467966
> email: reso_k@web.de ~ URL: www.reso-kiknadze.de
>
>
>
> Am 24.11.2008 um 01:57 schrieb Chris Muir:
>
>>
>> The chances are you have something else in your search paths named
>> LCD.
>>
>> On Nov 23, 2008, at 3:47 PM, Chubb wrote:
>>
>>> i have the same problem of LCD-NO SUCH OBJECT !
>>> -chuck
>>>
>>> From: Reso Kiknadze
>>> Sent: Sunday, November 23, 2008 9:05:04 AM
>>> Subject: [maxmsp] lcd - object not found
>>>
>>> hi all,
>>>
>>>
>>> when i open my patch, where i use a lcd - object connected with a
>>> subpatcher
>>>
>>> i am getting a funny message in the max window, (MAX 5, both
>>> intel macs, a macbooc and a macbook pro)
>>>
>>> instead of an lcd object (working ok yesterday) a dashed
>>> transparent frame,
>>> otion-clicking it opens lcd help file WITH THE SAME NOTFOUND-
>>> TRANSPARENT FRAME and corresponding message in the max window:
>>> LCD - NO SUCH OBJECT....
>>>
>>>
>>> when i close my patch and make a new max patcher and create an lcd
>>> object , --- SAME PROBLEM
>>>
>>> BUT:
>>>
>>> whan i QUIT MAX, RESTART it, make a new patcher, create a lcd
>>> object, it works and MY PATCH WORKS TOO!!!
>>>
>>> my patch, opened first, does this stupid thing...
>>>
>>> what could it be? some path mistake?
>>>
>>> but lcd-help should open anyway, should not it?
>>>
>>> thanks, kind regards and sorry for eventual silly question...
>>>
>>> reso kiknadze
>>>
>>
>> Chris Muir
>> cbm@well.com    
>> http://www.xfade.com
>>
>>
>>
>>
>>
>>
>

Chris Muir
cbm@well.com    
http://www.xfade.com

Mr. Banshee's icon

Yes, human error...problem fixed. Domo arigato!
-chuck

________________________________
From: Reso Kiknadze
Sent: Sunday, November 23, 2008 9:08:50 PM
Subject: Re: [maxmsp] lcd - object not found

i found my stupid mistake:

the subpatcher i created (with a lot of things to send to the lcd-object) was named *lcd* was irritating max...

i just renamed it into *lcd-1* or something, then restarted max with my patch and it was fixed...

sorr for disturbing the list ...
thanks

r

___________________________________
Reso Kiknadze
composition ~ saxophone ~ electronics
-------------------------------------------------------------
Eschenburgstr. 13 a ~ D-23568 Luebeck ~ GERMANY
-------------------------------------------------------------
phone / fax: +49 451 3885946 ~ mobile: +49 173 3467966
email: reso_k@web.de ~ URL: www.reso-kiknadze.de

Am 24.11.2008 um 01:57 schrieb Chris Muir:

The chances are you have something else in your search paths named LCD.

On Nov 23, 2008, at 3:47 PM, Chubb wrote:

i have the same problem of LCD-NO SUCH OBJECT !

-chuck

From: Reso Kiknadze

Sent: Sunday, November 23, 2008 9:05:04 AM

Subject: [maxmsp] lcd - object not found

hi all,

when i open my patch, where i use a lcd - object connected with a subpatcher

i am getting a funny message in the max window, (MAX 5, both intel macs, a macbooc and a macbook pro)

instead of an lcd object (working ok yesterday) a dashed transparent frame,

otion-clicking it opens lcd help file WITH THE SAME NOTFOUND-TRANSPARENT FRAME and corresponding message in the max window:

LCD - NO SUCH OBJECT....

when i close my patch and make a new max patcher and create an lcd object , --- SAME PROBLEM

BUT:

whan i QUIT MAX, RESTART it, make a new patcher, create a lcd object, it works and MY PATCH WORKS TOO!!!

my patch, opened first, does this stupid thing...

what could it be? some path mistake?

but lcd-help should open anyway, should not it?

thanks, kind regards and sorry for eventual silly question...

reso kiknadze

Chris Muir
cbm@well.com
http://www.xfade.com

seejayjames's icon

-->

Say over 2 bars at the tempo of 120 BPM, I have a loop being played. I'm running that loop through a filter. So within that looping, I want to be able to hit and hold a record button, and whenever that record button is down, any movement I make with my designated Cutoff knob will be recorded. Also, the playback of the automation of the Filter cannot be restarted whenever it is being written to, it has to loop independent of wether or not record is on.

-->

look at [mtr] if you haven't already. It does exactly that. For independent control of tracks, hook up "record" "play" etc. to individual tracks instead of the main track (which does up to 32 at once). You don't need a "clear", just hit "record" again and that'll overwrite. You can then save and load the automations. I don't think you can have a track playing back and record to it at the same time with mtr though.

If there's only one track you can tweak the speed by reading out the mtr data and scaling the wait-time between events. But if you want to do this time-stretching/shrinking a lot, look into seq~ (though it doesn't do many tracks at once, it can store many sequences at once, so you can jump around). It also has over-write/non-over-write capabilities.

--CJ