pass a list of integers to gen

charles spencer's icon

I understand I need to use a buffer to send an array to gen.

I have a buffer but it only wants input with values from 0 to 1 and my list is a bunch of integers.

What is the best path forward?

charles spencer's icon

Nevermind, it is working fine. It is just the buffer waveform display that appears to be ranged from 0 to 1. Peek extracts the values I want just fine.

charles spencer's icon

Is this the best way to load in a buffer from a list of integers?

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

Source Audio's icon

check peek~ object