Vamp Plugins Forum

Using Vamp Plugins and Hosts => Host Forum: Sonic Visualiser => Topic started by: rshill05 on January 11, 2015, 12:45:46

Title: portability of image files in SV
Post by: rshill05 on January 11, 2015, 12:45:46
I use small .png image files of snippets of score to link to time instants, which is extremely useful for displaying tempo changes in association with the place in the score.

I need to transfer my work from my desktop to a laptop, but find that the image files as they get imported into SV always have a drive letter at the beginning, that becomes part of the address.  So even when I put all relevant files on an SD card on the desktop, the images will then have the drive letter from the desktop SD drive written into their address, so that when I try to load them up on the laptop, their address is not recognized, even though all relevant files are in the same directory.

Is there a way to edit the image file address so that they will load up like the other annotation layers in the same directory?  In other words, to make the drive that they are located on a non-specific piece of information.

Title: Re: portability of image files in SV
Post by: cannam on January 27, 2015, 09:35:07
Hi -- this is possible by editing the saved .sv session file, which is a bzipped XML format. The process would be something like

But I can see that this is far too complicated and that the way SV handles this by default is inadequate. I'll see what I can do to improve this for future releases.