[Cs-dev] csound+json
Date | 2013-05-01 21:34 |
From | Ben Hackbarth |
Subject | [Cs-dev] csound+json |
Attachments | None None |
hi, i know that i'm way late to the csound6 wishlist party, but i am just curious if there are any plans to support external file formats for data storage (other than SDIF, which i find to be a bit obtuse). in light of the possibility of working multidimensional arrays, perhaps it would be nice to have other ways of storing and retrieving numerical data than just using tables and textfiles. recently i've been using parsing JSON data via the python opcodes, and i am actually achieving faster read times when compared to reading the same data into ftables with csound opcodes. would there be any interest in including a json (or json-like) list of objects for loading files and reading data into arrays by key? is there another method for reading/writing data that others are already using? as max6 now supports json parsing with the dict object, it also might make exchanging data between csound easier. -- ben
|
Date | 2013-05-01 22:00 |
From | Andres Cabrera |
Subject | Re: [Cs-dev] csound+json |
Attachments | None None |
I think this might not be too far away, but what Csound is currently lacking is a dictionary type. It's likely not too hard to add it with the new flexible type system.
Cheers, Andrés On Wed, May 1, 2013 at 1:34 PM, Ben Hackbarth <hackbarth@gmail.com> wrote:
|
Date | 2013-05-03 21:44 |
From | joachim heintz |
Subject | Re: [Cs-dev] csound+json |
not sure if you mean this, but there is also readf/readfi: http://www.csounds.com/manual/html/readf.html http://www.csounds.com/manual/html/readfi.html joachim Am 01.05.2013 22:34, schrieb Ben Hackbarth: > hi, > > i know that i'm way late to the csound6 wishlist party, but i am just > curious if there are any plans to support external file formats for data > storage (other than SDIF, which i find to be a bit obtuse). > > in light of the possibility of working multidimensional arrays, perhaps > it would be nice to have other ways of storing and retrieving numerical > data than just using tables and textfiles. recently i've been using > parsing JSON data via the python opcodes, and i am actually achieving > faster read times when compared to reading the same data into ftables > with csound opcodes. > > would there be any interest in including a json (or json-like) list of > objects for loading files and reading data into arrays by key? is there > another method for reading/writing data that others are already using? > > as max6 now supports json parsing with the dict object, it also might > make exchanging data between csound easier. > > cheers, > -- ben > > > ------------------------------------------------------------------------------ > Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET > Get 100% visibility into your production application - at no cost. > Code-level diagnostics for performance bottlenecks with <2% overhead > Download for free and get started troubleshooting in minutes. > http://p.sf.net/sfu/appdyn_d2d_ap1 > > > > _______________________________________________ > Csound-devel mailing list > Csound-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/csound-devel > ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite It's a free troubleshooting tool designed for production Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap2 _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |