When you use a NRT network with fl.sink~ to write frames to a buffer, you are not getting the last event as you would see it in Max, but the frames are written "in time" which corrupts the analysis.
What I want is to get the last produced frame unpolluted and be able to write it into a buffer. Essentially, something like fl.write~ which gives me controlled writing of a frame to a buffer, ala poke~.
The way to achieve what I want is to use fl.tomax~ and put the list in a buffer, but it would be nicer if there were idiomatic ways. Some ideas:
fl.tomax~ @output buffer|list|array /interpolation cubic /etc /etc
fl.write~ @buffer my_buffer /interpolation cubic /etc /etc
nrt-buffer-writing-example.maxpat.zip
When you use a NRT network with
fl.sink~to write frames to a buffer, you are not getting the last event as you would see it in Max, but the frames are written "in time" which corrupts the analysis.What I want is to get the last produced frame unpolluted and be able to write it into a buffer. Essentially, something like
fl.write~which gives me controlled writing of a frame to a buffer, alapoke~.The way to achieve what I want is to use
fl.tomax~and put the list in a buffer, but it would be nicer if there were idiomatic ways. Some ideas:fl.tomax~ @output buffer|list|array /interpolation cubic /etc /etcfl.write~ @buffer my_buffer /interpolation cubic /etc /etcnrt-buffer-writing-example.maxpat.zip