Timeline editor - mc.function - scrubbing, triggering and convenience

Martin Beck's icon

I am wondering if there is any simpler and more convenient solution to this inside Max 8 ?
(I am aware of possibility to use Ableton Live with M4L udpsend.)

mc.function can be used to simultaneously output several envelopes as messages.
These can be triggered or scrubbed.
The patch implements a simple approach for scrubbing by overlaying a slider and using opacity, but it is of limited convenience, because the slider is behind the mc.function UI and can only be grabbed at the top where it is not covered by it. On the other hand one can not bring the slider in front of mc.function without loosing the ability to change the different envelope curves.

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

Martin Beck's icon

I am investigating how to implement some UI controls for sequencing of envelopes.
This is one example.
Unfortunately rslider 's horizontal margin increases with its height.
This causes the increasing gap between the horizontal bars below mc.function.
You can define the regions for triggering at these bars.
Would be nice if Max would have some kind of such control already built in.

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

Multiple regions (rslider) overlay mc.function. These regions can be triggered and output the envelopes defined by mc. function over time.

Martin Beck's icon

Hello, I have two questions.
a) How to set opacity of a rectangle with javascript mgraphics?
b) Is there a message to control the order of layer of an object in Max (Send to Back, Bring to Front)?

jsui from groove~ help file complex warping. This overlayed to mc.function might be an approach for implementing the multiple regions UI feature from previous post. For this one would need to adjust the opacity of the jsui elements and a kind of switch is needed to toggle between mouse acting on jsui respectively acting on mc.function.

Martin Beck's icon

Finally I prototyped a kind of timeline sequencing tool using jsui, mc.function and a single slider.
It's only a prototype - a more sophisticated built in Max object for future releases would be really nice. I am wondering if some Ableton Live technology could be used for that. This would bring Max' convenience for 3D content creation closer to software like Unity. (Question related to this: What is the future of Max and Live? I always preferred to work mainly in Max, because the workflow of patch editing in Max for Live and going back to Live is a little unwieldy - lots of open/save clicks and corresponding delays, limited amount of space for patcher UI etc., best solution so far Max and Live communicating via udpsend-udpreceive)

Multiple regions of interest (ROI) overlaying a mc.function. ROIs can be triggered. ROIs are created by clicking in the UI (ROI Tab activated). Can be deleted and markers can be dragged. ROIs can also go in inverse direction. The red marker (slider) can be used for scrubbing.

Use case study.

MultitrackScrubTriggerUI.zip
application/zip 30.88 KB
Project files. Prototype. Not usable with multiple instances.