Interpolation with Variable length lists (for a beat morpher)

Oct 23, 2012 at 12:17am

Interpolation with Variable length lists (for a beat morpher)

Hi all,
So I’ve seen a number of different threads that discuss this topic but I haven’t really found anything that will solve my problem. Basically i want to morph between a rhythm with n events and a second rhythm with m events. I know list interpolation is really only supposed to work with lists of the same size but there must be some way to approximate a true “morph”. I’ve attached my best attempts at creating this behavior in max. What I have tried involves several multislider objects and two presets and a variety of methods to have both the size of the multislider and the data in it change smoothly with preset interpolation. I feel that i may be close but I can’t figure out the next step. Let me know if I’m missing anything obvious or if the patch I posted doesn’t make sense. Thanks.

Cheers,

David

#64879
Oct 23, 2012 at 6:18pm

So for anyone interested I found a solution to this with the zl objects. I set created copies of the sliders and had them set to threshold and inverted threshold interp respectively. This way one would jump to preset 2 while the other would remain at preset one. I then split the difference and added elements of the missing data two a fourth table according to the size difference between the lists. the only mystery now, aside from how annoying this will make it to save presets, is this. The recall messege works well with this method. The recall mulit method does not. I can’t figure out why. Anyway, I hope my rambling to myself helps someone searching for this sort of thing.

Cheers,
David

Attachments:
  1. ListAns.maxpat
#233933

You must be logged in to reply to this topic.