Ill pay you 30 bucks paypal right now! simple patch needed fast.

thomasswell's icon

i am just brain dead from looking at my screen and i need a simple action that i get seem to get.

all i need i s an object in max for live that will give me a bang when a clip is launched.
i am launching the clips with scene changes and i want an object that will output a bang ONCE when a clip is launched. thats it. that easy.

everytime a new clip starts to play in any given track.... bang. i will be using this in multiple tracks. both midi and audio. i need a bang when the clip launches.

id like a toggle switch that would give me the option to turn OFF a bang when the same clip is relaunched.

so i have the option to have the bang everytime the scene is launched.... or only the first time. of course if i go to another clip and then back to the previous clip i would like the bang there again.

thanks soooo much

Pedro Santos's icon

The device should detect clip launches on any track or just the one it's in?

thomasswell's icon

just the one its in
i think i got it working although it is a tad slow
i need a bang for each individual track
22 tracks... they could be in a single device or each live on the track itself
perhaps single patch is better
how does this look to you?
T

tomommom.maxpat
Max Patch
Pedro Santos's icon
Max Patch
Copy patch and select New From Clipboard in Max.

I don't have paypal ;-)

Pedro Santos's icon
Max Patch
Copy patch and select New From Clipboard in Max.

There was a bug in the previous version: if filtering repetitions, a "stop clip" would also result in a bang...

thomasswell's icon

You are so kind
i am having a really hard time getting it tow work though.
ill mail you some records!
im pretty fucked
tour starts tomorrow and im dicking around with this thing and i cant get it going

this and trying to turn mutes on and off in varios tracks, via a max for live patch

i had so much working
i think the stress has turned my brain off
and im just sat in panic

Stephane Morisse's icon

What's your device's intended design for the mute device ? Give more details or post a patch example so we can help you.

thomasswell's icon

its pretty hard to explain
there is a max patch being sent data from max for live via udp sends
and there is a lot of hardware which are controlling and receiving different things.

so im just trying to isolate little portions to get right..

now im stuck on trying to get a bang whenever a clip changes.

so that it is not only when a clip starts.... because some clips are in legato mode and i need a bang when they are played as well.

so what im trying to get is a bang when a clip changes from one to another, i may place these all in one device.... but i will probably just leave one in each track and the bang can be for that track in particular.

also trying to have it so that when a clip is playing and it restarts there is NO bang.... as the clip hasnt changed. but when the transport is stopped and then started again and that clip is replaying we do see that bang.

your help is so appreciated...... i can pay.... i can give records.... want tickets to see young fathers and others in a city near you... please let me know

T

if you provide me a working patch i willlll not jump in this lake!

Pedro Santos's icon

Hi, Thomasswell. I've been busy all day and I've not been able to read your post carefully.

now im stuck on trying to get a bang whenever a clip changes.
so that it is not only when a clip starts…. because some clips are in legato mode and i need a bang when they are played as well.

My example does exactly that. I've also tested with legato mode on, and it works as expected.

also trying to have it so that when a clip is playing and it restarts there is NO bang…. as the clip hasnt changed.

With the button "Filter Repetition" on, my example does this.
Unless you meant when a clip was playing and is stopped with the "Clip Stop Button" and then starts playing again. In that case a bang is being output. If you don't want this, I'm going to attach to this post an updated version of the previous example.

but when the transport is stopped and then started again and that clip is replaying we do see that bang.

I've also implemented that in the patch below.

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

Good luck!

thomasswell's icon

thanks so so much Pedro
really looking forward to implementing this

I am having a hard time getting it to work however
could you perhaps include an M4l format plugin example that is for track 1 an audio track?

i think im getting the patch wrong

ive come a long way on the rest of the patch excited to share with yall the results
T

Pedro Santos's icon

Here you go. This is a M4L audio effect. You can use it in audio tracks, but also insert it at the end of a MIDI/instrument track.

clip_bang.amxd
amxd
Stephane Morisse's icon

OK, you seem on your way for the 'clip launched banger'... Stay a bit more on the shore before jumping. What about your 'muting device' ?