multiple samples using record~ and play~

hezzit's icon

Hi very new at this...

I'm wanting to record various mic inputs and then loop it over then record something else loop it over and then to go back to the previous samples - I want to be able to trigger each sample independently

I've made one patch which records and playsback - but I can't work out how to get more than one recording without erasing the previous one - so I tried just duplicating the record buffer and play but only the original one works
Any help or just some direction greatly received
here's the patch...

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

Thanks

Adam Jansch's icon

Hey Hezzit,

It would appear that your 'breath' buffer has a typing mistake... there's no space between 'breath' and '10000' so Max isn't linking it to the related play~ object.

You're heading in the right direction by using multiple buffers, the trick is how to control them effectively!

Adam Jansch

hezzit's icon

Thanks Adam! - really appreciated you have saved my sanity.
Have you any tips for measuring intervals...
- I'm using edge~ to get a bang out of the high peaks of a heartbeat and want to measure the time difference in the bang intervals to trigger sample speeds

Adam Jansch's icon

No problem, just keep an eye out on the Max Window, it usually reports issues like that.

For time intervals (sometimes called delta times) check out 'timer', you should find the way forward in its help file