## playing catch up

Apr 30 2006 | 12:12 am
i have a patcher than allows me to subtley alter the speed of playback of two identical waveforms panned either side of the stereo field.
obviously, when being used, the two sides will drift apart as the play speed is being affected
what i would like is a way for them to auto align, but subtly the one that is behind speeding up and the one ahead slowing down, exponentially, until unified where they can play together
is there a way to do this?

• Apr 30 2006 | 2:14 am
heres what i have
• Apr 30 2006 | 3:24 am
Im still new at this stuff myself so I dont know exactly how to do what Im thinking...
maybe you could somehow use a cosine wave to modulate the playspeed of the grooves. connect one to each and have them half out of phase with eachother...then your playspeeds would modulate in opposite directions....tho im not sure how to sync the phase of multiple signals...and im not sure how to scale the values to be between reasonable numbers...like instead of going from -1 to 1, which would make the loops go back and forth, go from .25 to .75. and of course you could change the speed at which they modulate. im still learning about the tricks with the oscillators so maybe someone could shed some light on this.
Of course this would continuously modulate the speeds, Im not sure if you meant that you want the loops to go out of sync then come back together and stay that way...
• Apr 30 2006 | 8:49 am
>maybe you could somehow use a cosine wave to modulate the playspeed of >the grooves. connect one to each and have them half out of phase with >eachother...then your playspeeds would modulate in opposite >directions....tho im not sure how to sync the phase of multiple >signals... use one [cycle~] and inverse the signal with [*~ -1]
>and im not sure how to scale the values to be between >reasonable numbers...like instead of going from -1 to 1, which would >make the loops go back and forth, go from .25 to .75. [*~ 0.25] -> [+~ 0.5]
>and of course you could change the speed at which they modulate. im >still learning about the tricks with the oscillators so maybe someone >could shed some light on this.
:-) J
• Apr 30 2006 | 11:56 am
i want the signals to be modulated uing a midi x/y pad, x being the speed of the left signal, y being the speed of the right.
i have a utility that detects change, and can detect when you stop inputing new data, so when that bangs, i want the signals to reallign, but gradually, i dont want it to jump
• May 01 2006 | 8:39 am
John wrote: > what i would like is a way for them to auto align, but subtly the one > that is behind speeding up and the one ahead slowing down, > exponentially, until unified where they can play together
If you use groove~ you can compare the position outlets. If the difference is smaller than a certain threshold the speed should become the same... In witch direction you have to alter the speed factor is also just a question of comparing them...
Stefan
--
[][] [][][] [][] [][][] [][][][][][][][][][][][][][][]
Stefan Tiedje Klanggestalter Electronic Composition & Improvisation
/~~~~~ \ /|() ()| ))))) )| | |( \ /// _/)/ ))))) ___/ ///
-------------------------x---- --_____-----------|----------- --(_|_ ----|-----|-----()---- -- _|_)----|-----()----------- ----------()------------x-----
14, Av. Pr. Franklin Roosevelt, 94320 Thiais, France Phone at CCMIX +33-1-57 42 91 09
• May 01 2006 | 8:40 am
John wrote: > so when that bangs, i want the signals to > reallign, but gradually, i dont want it to jump
a simple line would do it.
Stefan
--
[][] [][][] [][] [][][] [][][][][][][][][][][][][][][]
Stefan Tiedje Klanggestalter Electronic Composition & Improvisation
/~~~~~ \ /|() ()| ))))) )| | |( \ /// _/)/ ))))) ___/ ///
-------------------------x---- --_____-----------|----------- --(_|_ ----|-----|-----()---- -- _|_)----|-----()----------- ----------()------------x-----
14, Av. Pr. Franklin Roosevelt, 94320 Thiais, France Phone at CCMIX +33-1-57 42 91 09
• May 01 2006 | 9:39 am
On 1-May-2006, at 10:39, Stefan Tiedje wrote: > In witch direction you have to alter the speed factor is also just > a question of comparing them...
Du willst sie, sozusagen, verhexen...
-------------- http://www.bek.no/~pcastine/Litter/ ------------- Peter Castine +--> Litter Power & Litter Bundle for Jitter
iCE: Sequencing, Recording & |home | chez nous| Interface Building for |bei uns | i nostri| Max/MSP Extremely cool http://www.castine.de http://www.dspaudio.com/
• May 01 2006 | 1:21 pm
Quote: Stefan Tiedje wrote on Mon, 01 May 2006 02:40 ---------------------------------------------------- > > > a simple line would do it. > > Stefan > did you look at my current solution? how can i monitor playback position and start altering there speed until they are synched again?
• May 02 2006 | 6:50 pm
haven't looked at your solution but you could use 2 wave~ or play~ objects and drive them both with the same phasor~ (or line~ or whatever you want to drive them) and then you'll alter the speed of each by adding or subtracting to the driver (with line~ or an oscillator for LFO/chorusy effects), and then you can bring them back into phase by slowly removing the addition to the main driver.
• May 02 2006 | 7:13 pm
Or you could use pow~ on one of them. If you use an exponent of 1.1 or so, it'll slow down, then catch up at the end of each cycle.
Peter McCulloch