recording to buffer....

skinnymuldoon's icon

Hi,

I am new to Max/Msp and working on a project for college.

I am stuck trying to use the record~ and play~ when playing from in-built synth. All I get is the playback of what came through the speakers on my laptop + noise.

I use the laptop keyboard to generate tunes on the synth and want to record/playback and maybe loop the output.

Can anyone give me any pointers, as I have tried record~ groove~ and sfrecord which wasn't ideal as wanted to use the buffer for speed and simplicity.

Many thanks for any help,

SM

Tim Lloyd's icon

Keep messing around with record~ and groove~, what you want to do is possible with that method.

Also, if you don't plan to alter the speed of the playback/loops, I suggest checking out the count~ object in conjunction with poke~ and index~ for loop recording into a buffer~. It will give you the best audio quality during playback out of any method in msp, as long as you don't want to adjust the speed (and therefore pitch) of the audio.

If you do a forum search for things like groove~ recording, loop sampling.....etc........I'm sure you'll find loads of things to help you out.

It wasn't completely clear from your post, but do you mean that you're using the internal mic of your laptop to record what is playing through your speakers - hence the noise? That's fraught with feedback problems, and is never the best idea. If you need to be able to route audio into max from somewhere else have a look at Soundflower or Jack.

skinnymuldoon's icon

Thanks taking the time to reply and for the pointers. I am not trying to record through he speakers but seems to be the only way that it will record at the moment. I am trying to find another way of recording the built in synth into the record~ object.

I will continue experimenting and will also look at poke~ which I haven't come across yet!

Thank you.