They're all different, both patches and my PR, which will just stop writing new values into the delay line.

I don't know if there is a special/canonical way of doing freeze that suits a specific use case. MAX's code is closed so we'd need to make some reverse engineering tests or ask users.

I can think of yet another fourth approach which is waiting until the delay line reaches the end and then stop writing.

What bothers me in some cases with delay lines is that when you loop through the delay line (such as when doing a reverse delay effect) you get a click. The code could perform a cross fade to avoid that. My 4th proposed approach could be useful for that.

Anyway, time to better research the golden rule and practices of freezing delay lines.

cheers 

Em qua., 3 de mar. de 2021 às 13:04, José de Abreu <abreubacelar@gmail.com> escreveu:
this way Alexandre posted won't prevent the write pointer of the delay line from advancing, when you unfreeze it will write in another place, and not append where it stopped.

Also on facebook i came with a solution with switching off the delwrite, and then you need to update the time in the delreads if there is anyone reading from that delwrite, i will post the patch, see if you need something like this

this can be used to create very glitchy effects, if you put little things in the delay line and keep freezing and unfreezing



Em qua., 3 de mar. de 2021 às 10:08, Alexandre Torres Porres <porres@gmail.com> escreveu:
As Derek Holtzer pointed on facebook, you can do something like this to freeze:

Screen Shot 2021-03-03 at 09.52.16.png

So I wonder if that doesn't already make it for you Max. And how crucial it'd be to have this in Vanilla.

Em ter., 2 de mar. de 2021 às 16:44, Alexandre Torres Porres <porres@gmail.com> escreveu:
Em dom., 28 de fev. de 2021 às 17:23, Alexandre Torres Porres <porres@gmail.com> escreveu:
_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list