Tweak LooperMonitor to Display States for Loopers in Return Tracks!
I have two questions about tweaking a patch I found on maxforlive.com, this one here (thanks, Johnny Christ!):
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.
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.
Hi amounra – thanks for the report. That will indeed save me a lot of time chasing down capabilities that don’t exist!
Phew – finally got this to work. Thanks again to both of you for all your help!
Could you post your modified device ? I had a quick look at the original device and didn’t succeed.
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. --Copy all of the following text. Then, in Max, select New From Clipboard.----------begin_max5_patcher---------- 874.3oc6XsziZCCD9L7qHJm2klW.gdqsWaUkZ6spJjIYB3tN1nXCKaW0+60O RBIPRfzRQrR6EBwy3I1eeyCO94gCrWv1Abaq2Z8cqACdd3fA5gTCLH+8A1on cQDDWqlcDKMEnB66LxDvNgd7u.7HDsX30Y.WpERfYTkX27wwwZkYK948A9EJ mvnBJJEzhdWFFQrdOiDWHltIESIffW0Pp4vw+ROGWmQN60ksQTnrSCql4YPj vrgCmJmmkq2X0if.8Kgibr9QwzPhnUX5xJSIXhVM+viliZJ+d3P0O2clPIAu EFsXiPvJwMDkx1iZ4fpEhPrDYnnG3VOhEqrHL1ZHyJF1hi.9nhIuEkUBi8mN 7JUFkIsh.xlCTzBBTcBMxE0Ac2tA8oFLyah9w3heKAcikDOsFL5aa2IeDL0v GsYNNZKDOGIDYXIRC6+GOmXxYFE5Q1.rjhgKFuJdrghM6Q6brplTVVLjUwsq lvXHocg70.DSvoZ3aTiZHf071lNltEyw4LUSJ.RFJGMYII12IePKg05ZtaMi pBuackr2CcdoyVSngFqDOk69zjkRkACs+cRkNZ58SiRK7O7ZDNvBYNjJduMh nqXY6y5bbnX8ECKtXw5MswEDgQW1Gq00lifoOnrUqDtx.rXnc+gDlgWLxzok JdzybTKzAcRW2yOSheYh8R.gCDYH62TovFIMuzlkI7xVlW9oLjsVNllSr60c NFecRgvPc1.GcRAuZ4XRR3Ptt265qjeuqaWIgvpJdmHWz3Y5jPd9iq9cC9KK NbHvePkgOZJAvkCsgagow3HjfkMpO7zri3IiU+p1nmlnVrrvKrGkGNQMYWM0 MyqspCUXNGCu4zcE6wSmYXkYGZxqSzf6jaingI9W2ng.WuWTQCt2tQCSldwh F7mM9+WzvAjRO.+vaiXjbT4pEi34E9xJFw6lMFI3xUwvSQr2dwH92HERbu1E RBtfwH5Slquyh7O3JroYG6VHnOuFnu4CDFGrDq.qDBSJitzJkI6xfkI6GmFy drwVv+jQk9PwmUO3pke9pSuvN5pXTq4xsyFAKs91oy6UYu9M8I5k6h4dUx6z Ov4L5z+TtB9lPxhaew40t8OQ29F5tfDesi+C63uRlf+4986xVuT61+xeDBuv a1iP3d4Nls1o4DmfP9xuG9G.9900gC -----------end_max5_patcher-----------
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".
Forums > Max For Live