Alternative spigot~ & declicking groove~

Jun 6, 2011 at 11:16am

Alternative spigot~ & declicking groove~

Hi you all,
I’m trying to finetune an AV trigger system and made ‘alternative’ for spigot~ which i find too slow and none editable. The audio from a movie is loaded (imported) in an buffer~ and played back using a groove~. With some basic math the audio playback startpoints sync to timepoints in a moviefile. I tried two approaches to get as little clicking (attack actually) as possible when doing some fast re-triggering of the movie and audio. the first is with groove~ and trapezoid~ the second with an grooveduck2 abstraction which comes with MSP. In both cases i’m not satisfied with the results… that is too much (clicks) when playing back an movie with continuous amplitude outputed audio. (check rca.mov example). Any suggestions getting this any better? Feel free to use stuff.
Mark

groove~ / trapezoid~ version:

– Pasted Max Patch, click to expand. –

Grooveduck version:

– Pasted Max Patch, click to expand. –
#57472
Jun 6, 2011 at 9:42pm

i just looked at the top patch.

trapezoid~ is a good way to do this. or double buffering with rms xfading.

some problems with yours: firstly, your movie and groove~ selections are not synced. if you look at the sync outlet of your groove~ it is never getting through the full 0.->1. compliment, thus not triggering the end of the trapezoid fade out. so big click. stick a scope~ after trapezoid~~ and you’ll see it looks like a saw and not a full trapezoid ramp.

also, with the 2nd movie (rca.mov) this contains simplish lowish oscillators – with all the cleverness in the world you are never going to be able to find a zero crossing that is useful let alone a very short ramp – such is life with such audio. you could always scew your tapezoid into a cos waveform at shorter selection times for use with that sort of audio material.

i do not have time to patch something up right now. how about looking at the graham wakefield waaa abstractions for some ideas (they were designed to teach this sort of thing) :

http://www.mat.ucsb.edu/~wakefield/software.html#waaa

also look at all the jhno stuff in the max examples (other than grooveduck)

best.

#205911

You must be logged in to reply to this topic.