Send a buffer to Arduino

Nicolas Hume's icon
Hi,  
How can I send a buffer to arduino by the serial port and then transcribe it to a screen? 
Thank you in advance,
chapelier fou's icon

[peek~] allows you to get each sample value from a buffer.
The rest is Arduino stuff I guess, you should look to some Arduino example code probably included in your screen's Arduino library.

Nicolas Hume's icon

Thank you for your reply !
Indeed I already use [peek~] but it's the connection with arduino that is the problem...
How can i get a clean list from [peek~] which i can then transcribe to a screen?

Nicolas Hume's icon
Hi,
Is there a way to retrieve the list from the buffer?
Source Audio's icon

post your problems in some max patch - arduino code etc form
sure it is possible to have a list with buffer contents,
but the size of the buffer would be important factor

Nicolas Hume's icon

Thank you, i will do that. Can you still guide me for the way to have this list please?

Source Audio's icon

collect peek~ output into list.
uzing zl.group for example.
check zlmaxsize attribute for zl group as it defaults to 256 max.
maximum is 32767.
if that is less than sample count, then you need something else.
it depends what you want to do with the list.