LOOP in cage.granulate

Discussions, advice, bug reports and much more about the "cage" environment.
Post Reply
purpureus
Posts: 22
Joined: Sun Dec 21, 2014 11:54 am

LOOP in cage.granulate

Post by purpureus » Fri Aug 18, 2023 8:49 am

Hi there!

I'm somehow struggling with automating the loop-region in the cage.granulate.
I can control the movement of the loop-region in the bach.roll with a line-object (to imitate the reading of the score), but the selected notes of the loop are not sent to the cage.granulate.
I use the message [loop 1000 2000] to set the position of the loop-region. What else is necessary to tell the roll to send this information to the cage.granulate?

Thanks!

H

danieleghisi
Site Admin
Posts: 1349
Joined: Fri Dec 03, 2010 1:25 pm

Re: LOOP in cage.granulate

Post by danieleghisi » Sat Aug 19, 2023 7:59 pm

Hello, I'm not sure I understand the issue. Can you send me a minimal patch?
In any case there's no "loop" message for cage.granulate, but you should send the start/end of the loop in the last inlet (see help file, with [route list])

Best,
d

purpureus
Posts: 22
Joined: Sun Dec 21, 2014 11:54 am

Re: LOOP in cage.granulate

Post by purpureus » Sun Aug 20, 2023 8:20 am

Hi Daniele,

thanks for your reply!

What formats are accepted here in the forum? .txt. or .maxpat don't seem to be accepetd as upload.
Thats why I attach a wetransfer-link:

https://we.tl/t-AoW0lKcfYU

thank you so much!

best,
H

danieleghisi
Site Admin
Posts: 1349
Joined: Fri Dec 03, 2010 1:25 pm

Re: LOOP in cage.granulate

Post by danieleghisi » Sun Aug 20, 2023 10:31 pm

Hello, the first issue I see is that dump loop outputs the loop from the first outlet, so it's up to you to dispatch it to the last inlet of cage granulate.

If you put a [bach.keys null loop @maxdepth 2 @out mn] after the first outlet, you'll be able to send the null outlet of bach.keys to the second inlet of cage.granulate, and the loop outlet of bach.keys to the [route symbol].

That works for me...

d

PS. as for the format, it's usually handier to copy in compressed form (edit > copy compressed), although in your case that could have been a lot of text...

purpureus
Posts: 22
Joined: Sun Dec 21, 2014 11:54 am

Re: LOOP in cage.granulate

Post by purpureus » Mon Aug 21, 2023 8:50 am

Dear Daniele,

thank you so much!
Now it works fine!

best,
Hannes

Post Reply