Random Repeatable Delay with Multiple outputs

smallsignals's icon

Hi all! Looking for some advice on how to implement this correctly. I have created a random stereo generator, that easily maps to 1-2 stereo out. Now, what I need help with is having that random location on the stereo field repeat in the same place, but sent to a multiple output of 4 small speakers.

Basically, it should follow this form in a timeline:
Random 1A - Random phantom image location with stereo speakers
Random 1B - Repeat of "Random 1A" to the exact image location with smaller spaced speakers between stereo mains, delayed by a given amount of ms.

My random generator runs from 0-2, and I have ~split objects governing the exact location for repeats. I have tried delay~ and tapin~/tapout~ in order to have the ~split control when each delay fires it's signal via a bang, but I cannot get it to work properly. I hope this was easy to follow! The patch is below.

Random-Stereo-Generator-with-multi-audio-out.maxpat
Max Patch
apcuddling's icon

@smallsignals

I think I understand what you're trying to do here in theory.

Have you tried using one of the pan objects (i.e. [pan2]) in conjunction with your delay and your randomizer.

It appears that the 3rd inlet of the [pan2] object will adjust the position of your signal in the stereo image according to a value of 0-127.

0=LEFT
127=RIGHT

I feel like if every time your signal is triggered, you could send a random number (between 0-127) at the same time to that 3rd inlet of the [pan2]. Which should position the signal at a random space in the stereo image. Delay that signal. Then when the delayed signal hits, have it also trigger ANOTHER random number to send to the 3rd [pan2] inlet. Which would cause the delayed repeat to appear at another random area in the stereo image.

Not sure if I explained it well enough and I'm sorry I can't provide an example patch. I'm on my cell phone. :/

Good luck!

smallsignals's icon

@apcuddling

Thanks for the suggestions and reply! After much thought, I got it to work via sending the location information to new generators via a patcher. I checked out your music as well. Good stuff!