Generate signal through list of numbers
Hello,
I am new to MAX and this might be an easy one.
As the title says, I need to generate a signal given a list of numbers, each in the interval [-1,1]. They are the output of an external function (computed with a different software) and represent amplitudes over time. Also, these numbers are stored in a text file for the time being, but I was wondering if there is a better format choice, i.e. a 1 column table with a suitable extension, a .csv, or something which MAX would handle best.
Lastly, once into MAX, I think that these values are to be stored in some kind of buffer in order to pass them to the DAC at the sampling rate?
To be sure that I explained myself correctly: I am hoping to find an object or a set of objects which will receive the list, generate a stream of values and pass them to a DAC (after multiplication for a gain).
Is it even possible to do what I'm looking for?
Thank you very much
Others may propose more efficient solutions, but this one should work for different sizes of lists :

Have a look at [coll] for importing .txt / .csv data into MAX.
(Edited).
text > stash~