#152 storing SV projects in text format instead of binary

David Doukhan

Hi all,

I'm new to Sonic Visualizer. I'm trying to switch from Praat to Sonic Visualiser, since this software allows to display several time value layers in a much more convenient way. My goal is to use Sonic Visualiser as a tool to monitor several intermediate tasks, and annotation layers occuring in a diarization system.
My system outputs are converted to Sonic Visualiser annotation layers.

My problem is that my system outpus several layers, up to 8, and requires several parameters to be tuned. Loading all these layers manually from the graphical interface is time expensive. The best option for me would be to generate a Sonic Visualiser session file, storing all anotations layers, or references to these annotation layers.

After reading the documentation, and I don't find a proper way to achieve this task. The session files seems to be stored in binary. If those files were stored in any text based format, I would be able to generate my customs session files, and spend less time loading manually each annotation layer from the gui.

So my requests:
Is there any way to achieve such task without adding new features to Sonic Visualiser?
Could you point me to the source files related to the binary encoding/decoding of Sonic Visualiser sessions, that may help me to generate well formated sessions?
* Would you consider adding such feature (text-based session)? If you think this feature is relevant, I can propose my development skills to add this feature.



  • David Doukhan
    David Doukhan

    Hi all. You can cancel my request.
    After few investigations within the sourcecode, I solved my problem.
    SV files are XML compressed in bzip2.
    Given this information, I can do all the processings I want.

    Last edit: David Doukhan 2014-04-03
  • Chris Cannam
    Chris Cannam

    Exactly right! Thanks for the update.

  • Chris Cannam
    Chris Cannam

    • status: open --> closed