Sync Looping Circular Buffer Playback with Live Audio Input

Randall Packer's icon

Greetings: I have searched far and wide for an answer to an elusive problem. I am taking a live audio signal from television output, using record~ in loop mode to write to a circular buffer. I am then manipulating the live signal by deviating mc.wave~ and mc.groove~ objects to create swarming, layered textures. It would be fantastic to be able to play back the buffer~, perfectly synced with the original live audio input, and then expand out into the thickening mc textures. However, I can't seem to sync the phasor~ reading through the buffer to the record~ "write head". Has anyone tried to do this? Does this make any sense!?

Thanks!

Randall Packer's icon

I believe I figured it out, and surprisingly simple: record~ (sync out) ----> rate~ (sync locked) ----> wave~. I'll upload a sample patch shortly.

davidestevens's icon

something like this... ?

Max Patch
Copy patch and select New From Clipboard in Max.

davidestevens's icon

You need to delay the playback slightly, hence the [-~].

Randall Packer's icon

Like this:

Max Patch
Copy patch and select New From Clipboard in Max.

note you'll hear the original on the left and the recorded on the right perfectly synced together.