Tweak LooperMonitor to Display States for Loopers in Return Tracks!

Dec 8, 2012 at 7:12pm

Tweak LooperMonitor to Display States for Loopers in Return Tracks!

Hi All:

I have two questions about tweaking a patch I found on maxforlive.com, this one here (thanks, Johnny Christ!):

http://www.maxforlive.com/library/device/1152/loopermonitor

This patch creates a display window that shows the current state of a Looper device, and is almost perfect for my purposes. However, it doesn’t seem to show two looper states (Reversed, Cleared), and it doesn’t seem to read states for Loopers inserted in the Return Tracks (which is where I need them to be).

I’ve spent several hours trying, in my noobish way, to take the patch apart and figure out how to make the necessary adjustments, but I’m actually not any closer than I was when I started. I thought it would be relatively straightforward, but can’t understand where in the patch any reference to which track is being addressed, or which looper state is being reported, is located.

If anyone has the time to take a quick look at this and point me in the right direction, I’d really appreciate it – thanks!

P.S. I’d have posted the code here, but since it’s not my work, I thought I’d better not.

#65581
Dec 9, 2012 at 12:34am

I’ve exhaustively explored this in the past. There are several “state” flags that aren’t accessible through the API, I believe the two you mention are among them (reversed, cleared).

Regarding getting the device in a Return, that should be possible. Can’t help you with the specifics ATM, but hopefully this information saves you a little time.

#236264
Dec 10, 2012 at 1:10am

Hi amounra – thanks for the report. That will indeed save me a lot of time chasing down capabilities that don’t exist!

#236265
Dec 11, 2012 at 4:07am

Phew – finally got this to work. Thanks again to both of you for all your help!

#236266
Dec 11, 2012 at 7:12am

Could you post your modified device ? I had a quick look at the original device and didn’t succeed.

#236267
Dec 21, 2012 at 9:49pm

Hi Stephane:

Here’s the code…but I’m not sure it includes everything you’d need. I seem to recall something about needing to store a sub-patch on the local machine…

Take a look and see if you can figure it out. If not, I may be able to dig back in and recreate what I did. Basically, somewhere buried in the original patch was a “get track” reference; I just changed it to “get return” (something like that. Pretty sure that’s not the right syntax).

– Pasted Max Patch, click to expand. –
#236268
Dec 21, 2012 at 9:50pm

Aha! Found my notes….

Think I got it! Here’s what I did:
1) Created LooperMonitor variation called “LooperMonitor1″, that only shows one Looper
2) Opened up that patch in Max editor, selected the drop-down field that allows you to choose which looper you want to show state for (the one that’s also in presentation mode – it’s a bpatcher), right-clicked and chose “Object/New View of selectTrack.maxpat” [which is apparently the logic view of the drop-down]).
3) In selectTrack, selected File/Modify Read-Only so that I could edit it
4) Then, changed the second message from the top from “get tracks” to “get return_tracks”.
5) Woot!

#236269

You must be logged in to reply to this topic.