Recording Audio with a MIDI-Instrument in M4L?

xidance's icon

Hi, I wanted to make a quick-multisampling tool which triggers notes in sequences on an instrument AND automatically records the resulting audio-input of that instrument. But it doesn't seem possible with the three device midi fx, audio fx, midi instrument. Is there a work around?

Thx.

Evan's icon

Do you mean audio output of the instrument? You can't very well record the audio input of an instrument, because it doesn't exist ;)
You'd want to make 2 patches that communicate via send/receive pairs. One that triggers the sounds/notes, and then another after the instrument that can record the output/process it, whatever you want to do with it.

-E

kleine's icon

I usually use a shared [namespace] buffer for this task - it's fine as long as latency isn't a problem.