hi , i want to sonificate txt file with big data
sets... each txt file
is made of 4 columns with numbers in this way :
-0.0115967 0.00396729 0.0213623 0.440674
-0.0115967 0.0115967 0.0234985
0.462646
-0.0106812 0.0119019 0.0265503
0.325623
-0.0112915 0.0726318 0.0146484
0.380859
-0.0115967 0.458984 0.0134277
0.428772
i want able to read one row each time , using this 4 vales to control some synthesis parameter or whatever... is there any object that allows me to do this?
TV dinner still cooling? Check out "Tonight's Picks" on Yahoo! TV. http://tv.yahoo.com/
Hi!
Just an Idea:
Use OpenOffice Calc (or Excel) to load the text file into columns, export them into four individual text files containing one column each, and load them into four pd arrays?
lgPP
punchik punchik wrote:
hi , i want to sonificate txt file with big data sets... each txt file is made of 4 columns with numbers in this way : -0.0115967 0.00396729 0.0213623 0.440674 -0.0115967 0.0115967 0.0234985
0.462646 -0.0106812 0.0119019 0.0265503
0.325623
-0.0112915 0.0726318 0.0146484
0.380859
-0.0115967 0.458984 0.0134277
0.428772i want able to read one row each time , using this 4 vales to control some synthesis parameter or whatever... is there any object that allows me to do this?
TV dinner still cooling? Check out "Tonight's Picks" on Yahoo! TV. http://tv.yahoo.com/
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Hallo, punchik punchik hat gesagt: // punchik punchik wrote:
hi , i want to sonificate txt file with big data sets... each txt file is made of 4 columns with numbers in this way : -0.0115967 0.00396729 0.0213623 0.440674 -0.0115967 0.0115967 0.0234985
0.462646
...
i want able to read one row each time , using this 4 vales to control some synthesis parameter or whatever...
Ther are many ways to do this.
With "big data set" I assume you have really big files that won't fit into memory, right?
Then maybe you could just read the file with some external program or script and send each line to Pd using netsend/netreceive.
If it's smaller files, you could just load the textfiles into four tables and use four tabreads to access them.
Or depending on the size, just load the files into [textfile] and use them as usual: [rewind( the [textfile] and [bang( it over and over.
Or write a [struct] data structure with four float-fields, load the data into data structures and access them with the [pointer]/[get ...] interface.
Frank Barknecht _ ______footils.org_ __goto10.org__