< Back to IRCAM Forum

A CVS reader / converter exists?

Hello, Omusers,
Since Partiels cannot export whole analyses (for instance, a chord-seq analysis) into a single SDIF file, but only each single partials in independent SDIF files, I wonder whether a reader of CVS files (there is also one file per partial) exists, which would reconstitute all the partials and import them into a Lisp list, that could then be converted into a chord-seq (a little like as->om used to do), or used as such in OMChroma as synthesis control data.
What do you think?
Thank you in advance.
Marco

Dear Marco,

I think you mean CSV file no? Since i don’t use Partiels, is it correct that this software outputs .sdif binary files? Maybe more information and specification from the Partiel output is needed here, and some example files wil lbe more helpful.

Best
K

Dear Karim,
Yes, sorry for the exchange of the last two letters, I did mean CSV. My students have no choice than to use Partiels to perform some chord-seq analyses, since they cannot used AudioSculpt any longer…:-(, and they would like to be able to used these analyses in OM.
I will send you more detailed information about the format produced by Partiels on Friday evening. CSV files are text files. There is also JSON, if one would wish to keep a track of the analysis parametres, but, according to me, it is too unpractical.
More about it on Friday.
Thank you for your kind and quick reply, as usual.
Marco

Dear Marco,

You can still use pm2 binary which outputs a single sdif file according to markers that you can edit directly in OpenMusic or you can send your request directly to the develoopper of Partiel and ask him to do so.

Best
K

I’m not an OM user, but I think you can look at this OM library to load CSV files GitHub - zepadovani/OMio: OpenMusic library to import/export different kind of data file types., and this video might be interesting for you also https://www.youtube.com/watch?v=kgJNRS4N-Gs.

Dear Pierre,
Thank you for mentioning OMio, I wasn’t aware of. I will look into it.
I must honestly say, that I (personally) have ways to import analysis data into OM, but several of my students are still a little lost and bitterly regret the death of the previous ergonomic and practical solution (AudioSculpt → 1 SDIF-file → as->om).
Performing the analysis directly from OM (using supervp/pm2) does not allow to superpose the analysis with the sonagram (as far as I know, although one can edit BPFs, of course).
The superposition is possible (and quite beautifully done) in Partiels, but exporting single files (one per partial) is definitely a cumbersome solution, at least for many not-so-expert users who would like to have a global view of their analysis data.
But, thank you very much for your tips and links.