Author Topic: Interfacing MATLAB and Sonic Visualiser  (Read 6376 times)

mckinney

  • Newbie
  • *
  • Posts: 2
    • View Profile
Interfacing MATLAB and Sonic Visualiser
« on: December 02, 2008, 21:03:09 »
I've been doing some quick development in MATLAB and using SV to display the results (annotations) along with the audio file.  I'd like to automate the process of displaying the results in SV (without having to manually load the annotation layers each time).  I've thought of a couple of methods for doing this:

1) write a matlab function to save data in a .sv format (need more info on the .sv format - where can I find this without having to parse it from the source code?)
2) modify SV to take more command-line arguments to auto-load .csv or .svl annotation files.

Any comments, suggestions, alternative ideas, (or complete solutions!) are welcome.

I suppose the idea behind SV is to develop within the VAMP plugin framework, but for some of us it's still faster and more convenient to do the initial work in MATLAB.  SV adds a lot to this method by displaying results and audio in real-time during playback.  I'd love to automate it.  Thanks for any help/suggestions.

-Martin

mckinney

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Interfacing MATLAB and Sonic Visualiser
« Reply #1 on: December 02, 2008, 22:02:14 »
Woops! hadn't checked the latest version (1.3) - seems to do exactly what I want: loads a .svl file along with the audio file when specified on the command line.  Very nice.  Thank you! (and sorry for the spam)