I was wondering if it it possible to read data from a textfile? I have written a program which outputs a list of roughly a thousand frequencies, it is possible to read this data systematically one after another until an oscillator has read all the frequencies, it's rather like having a thousand message boxs being banged, one after another, using a metro as a timing device, which is obviously not an option! Thanks in advance!
Rory.
Do You Yahoo!? Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk or your free @yahoo.ie address at http://mail.yahoo.ie
Hi Rory,
Two solutions. First you could read it into an "array" object and sequence it; or else, if the text file gets more complicated than just a list of numbers, the "textfile" object will probably do what you need.
cheers Miller
On Mon, Jul 30, 2001 at 05:04:41PM +0100, Rory Walsh wrote:
I was wondering if it it possible to read data from a textfile? I have written a program which outputs a list of roughly a thousand frequencies, it is possible to read this data systematically one after another until an oscillator has read all the frequencies, it's rather like having a thousand message boxs being banged, one after another, using a metro as a timing device, which is obviously not an option! Thanks in advance!
Rory.
Do You Yahoo!? Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk or your free @yahoo.ie address at http://mail.yahoo.ie
Miller Puckette hat gesagt: // Miller Puckette wrote:
Hi Rory,
Two solutions. First you could read it into an "array" object and sequence it; or else, if the text file gets more complicated than just a list of numbers, the "textfile" object will probably do what you need.
Is the textfile object supposed to automatically send messages, that are in a textfile?
I have used a textfile to store some settings of a synth patch like: p-index1 0.5; p-index2 1; [...]
When I tried to read this with [textfile] I could not get the values in my [read p-index#] objects. I then used qlist instead.
__ __
Frank Barknecht ____ ______ ____ __ trip\ \ / /wire ______
/ __// __ /__/ __// // __ \ / / __ \ ___\
/ / / ____/ / / / // ____// /\ \ ___\____ \
/_/ /_____/ /_/ /_//_____// / \ \_____\_____
/_/ _\