Using Set to change a length of a clip in the API

Soup Sounds's icon

Hi - I haven't tried this before. I am not sure how to feed a value into a "set length" message. It has only one inlet to use (i tried using a pack oject to send a variable - but that didnt work)

Any ideas gratefully acepted

Best Regards

Richard Soupsounds

Gregory Taylor's icon

Perhaps I'm misremembering, but isn't the length "get only?"

...Oh. Right.

If the clip is looping, you can use the loop_start and loop_end to modify stuff - that stuff is get/settable

Soup Sounds's icon

I think your right. I thought lengh was midi-able in Ableton and therefore accessible by max.

The same question would go for loop_end, set allows you to set a specific value, how can I input a variable value into set.

Best regards

Richard

mstjean's icon

A little late here, but the documentation says, and I have tested as well, that when the clip Loop is set to Off, the loop_end parameter will change the Clip End time :)