Automatic sections out of long buffer according to musical phrases

Hugues's icon

Hi,

I'm beginning to work on a piece for violin and live-electronics, and can't quite figure out how to get started with my patch... (still a beginner) Basically I'd like to record the violin continuously into a buffer, while playing back some of the musical phrases it's just played, or recall earlier phrases or motives in order to layer them (sometimes playing multiple offset or processed layers of the same thing) and still have the violin playing live on top of it. I'm wondering what would be the best way to implement the fundamental stage of having max somehow automatically making sections out of the incoming audio according to phrases/motives (is that possible?), and making them available for playback or processing before playback. How would you do this? Could you give me any tips or perhaps links to relevant examples or information you'd know about? I'd really appreciate any piece of information...

All the best,

Hugues

Roman Thilenius's icon

1. something must start to count (time or samples) when you start recording/performing
2. you can now use - among others - [index~] to [play~] back audio at a specific point in the buffer.

if only the last 30 seconds or so will be enough for you to replay, you can also use tapin~/tapout~
to get the same.

Hugues's icon

Thanks for the tips, will explore that.