Dynamically changing Delay Line
Does anyone know how to create a dynamically changing delay line using tap in tap out where it doesn’t distort the audio too much. I am trying to create continuous non-linearity in the string. Excuse me if I don’t have the terminology correct.
Are you modulating the delay line at audio rate? That’s the first step. The second would be to smooth the changes in the modulating signal with onepole~/slide~/rampsmooth~ etc… if necessary. This depends on how you’re modulating though, if you’re using an lfo (cycle~/phasor~ etc…) then a smoothing filter won’t be necessary.
I’m not well-versed in physical string modelling (sounds like what you’re doing), so I can’t offer much advice on exactly how to go about achieving the non-linearity that you want.
Nice one Tim. I’ll give that a try. What I have tried to do is modulate the delay length of a Karplus strong with a another Karplus Strong so that it kind of fades out and eventually stops changing the delay length but it’s still a bit glitchy. Cheers anyway!
I’m afraid modulating the delay line with the audio rate distorts it even more.I’m going to have to figure something else out. Thanks for your help anyway.
Could you post an example? You should be able to modulate tapout~ at audio rate with no glitches/distortions. Maybe you’re modulating so fast you’re creating FM sidebands, hard to say without seeing a patch.
-- Pasted Max Patch, click to expand. --Copy all of the following text. Then, in Max, select New From Clipboard.----------begin_max5_patcher---------- 625.3oc0W1riZCCDG+b3ovx811TjsyGjz9Nzi8R0pJShWVWEriHlVXWs7rW+ QBKzRf.IJhdwnL1Ny+4mGOY30Idv4xMrJH3yfuC77dchmm0jwfW8ydvkzMYE zJ6xfB1uky+Iz2MkhsQYM+vtFSh0K4hBlxtbx6FkqUMVw0VKoprm4hE+XEKS 4DQTbzTjOHwNFPlF4CH3oHvi0agmacmVBeBSZb4SRgRPWxrS8M1pbpf1Lmys pskLmCfU7EBZAb+azr4J9K1owjoHi02lLwL32OljsMqfsCflFDDLLzIN.Y3R jiQolwVoC9dgNKnbw0jcPZO9CCrQNN0hgfPyXZa..cofzG.4B8a9waHnXujS ytlnBclnhXiJRp8mv8imJpRgCW94C6.XDZPu2hcGPtDz1RMStyu29QMWFVpf s4qgjyQkY+eTMiLnjwknDeVvDemCFEsT6c6coSeYBesvooLmiQogmiNQ2+zQ W9GDM3vAePiBsAmvaBNZImIEBqGGP.sjUUQWv9GBIKYBePgTVpC6gpxSMkhr EdvHh6ylmlRA2DkFijmpmJKnaG1lGl4.S7YadpOWpzsULmJVzNepMWQ+UyN+ vWM6ZezpgquMWffRi0xD4r.+xw8pXc.rfK96N3sAuw9wDuRtdUViKq+PL383 OmUo3BphKEGrlniVyy77bl3v9YVxyKk51npkPzrPSO63X2W7Be+oVZypqZcV GzZx0o0dpHSG1WTRl+jB.2cMEGjZHVhqO+jDaMt9SOqLtjVmMp3KtqzaDOQQ cPSoW2A5XIowiRQc4fCMpRJb3Kj02ysNnnvQUQAc4XqGJR+vaS9CZUTMAA -----------end_max5_patcher-----------
tim is right as usual. in the meantime, the poletti m4l example is sitting in your patches folder and works great: Max5/patches/m4l-patches/Tools resources/M4L.vdelay~.maxpat
That’s perfect Tim!! Thank you so much, you’ve saved me many a panic attack. My thesis is due in a few weeks.
interested to hear the final thing did you do more to it?
you forgot to include the "sitar.mid" file?…
really good work, thanks for posting. Will you make the thesis available too?
it’s a shame that the tuning is compromised in the higher registers. A bit better with sigvs @ 4, but then the cpu goes through the roof.
I will indeed, I still have a week to make a few changes to the writing, I’ll post it when it is finished.
Ya the thing eats cpu big time, it’s a pity.
Forums > MaxMSP