loop_jump: unexpected behavior
I’m observing playback of a clip with the following properties:
64 beats long
Start marker at 1.1.1
Loop start / end at beat positions 32 and 64 respectively
When observing the loop_jump property, I expect to see a bang when the playback position crosses beat 32, which I do see, however; the loop_jump observer also bangs when the clip is first triggered, i.e. when it starts playing from beat 1. This seems very wrong to me- am I missing something?
patch please, as clear as possible.
It appears that my initial assessment was incorrect- it’s not playback that triggers the loop_jump observer bang, it’s setting the path for the observer.
Here’s a patch to demonstrate- it observes the first clip in the first track.
-- Pasted Max Patch, click to expand. --Copy all of the following text. Then, in Max, select New From Clipboard.----------begin_max5_patcher---------- 524.3ocuUtsbaBCDF9Z3oPitl5AwACz6ZeM5zggCp1JUHwfDtNMSd2qzBLIw oXLSb3BqQZ0Js+6GqW8jqCtTdlpvnuh9Axw4IWGGvj0fy3ZGbSw4JdgBbCKn +QV9.1aXKM8rFLyYmn6ZKzGm1oRxkcCWr+trznPRjmYVJIauepclerelYBYm O5mim4WRgVw9K0dLhwiQyh9FlfS0f.HiFMwp5HSbHuiVoGhSl4Dnv81w8I1Q R5qtbysH60SWS3nUVMHeSJ8kjvIsO3m9wV5vEiwdi+diTEEMfC3u0wJ3nuK4 0X6tO65ZG7tQh1PUphCz2gTKMQVtlqnZzIlhUxo45thpeqP9nJNqMWwk5oE3 UPwfEnXpcHHI.n39YoH4+Pwn4o3mA8J60Zo.uxRkvPHyhhf7zeZ71SyPxroY Yg3fIUumUBcxVZm9QDWJayenu4d8sd.CY.EH9Qq+qMIba+ZOS2GMpDww2mtH CLYOT5GFrK9psQBdORBVnxvaaQCzXVVpncmnce1MmWrTiPfNKiMVVGWStd64 0vTvWCZDW91GHbq82BZkruqZJZShA8h3qoJMSTnYlNQu3jsGwqb5HqtlB6Ow tFVcqjIzihXldF2rlrgirfl.gStcMECOmlBOmlEe4bBIZbQ73h6QNrDWsMc1 PtdQ3tBW2NMYekcQMkrsbBB2h0eej+SXV7r6+PDK24L -----------end_max5_patcher-----------
My understanding is that an observer will output the initial value of a property immediately after the property is set, then output any changes from that point on. In this case a bang (indicating the loop point was reached) seems incorrect as the initial state.
I can’t attach a clip to this post, but if you just create one where the loop start point is somewhere after the first beat (in my case it was half-way through the clip), you should see what I mean.
Right on – thanks for the patch, we’ll investigate
For now I’m afraid you’re going to have to work around this with a gate or something, sorry.
Forums > Max For Live