linuxsampler lv2 saved presets do not load.

MusE is a DAW for Linux with both MIDI and Audio editing. https://muse-sequencer.github.io

Moderators: MattKingUSA, khz, spamatica

Post Reply
alex stone
Established Member
Posts: 350
Joined: Fri Jun 06, 2008 7:39 am
Has thanked: 61 times
Been thanked: 53 times

linuxsampler lv2 saved presets do not load.

Post by alex stone »

Tim, i think we had this once before.
i create a preset, save it in a specified location (/home/alex/muse-presets).
Muse creates a folder with symlinks to all the gig files loaded, plus manifest files, in /home/alex/.lv2.
I load a new linuxsampler.lv2 instance and select the preset i want.

This error message comes up:

Loading gig file 'file:///home/alex/.lv2/LinuxSampler_LV2_1vl-test.lv2/V1 Effects Preview Instrument.gig'...gig::Engine error: Failed to load instrument, cause: Can't open "file:///home/alex/.lv2/LinuxSampler_LV2_1vl-test.lv2/V1 Effects Preview Instrument.gig": No such file or directory

The directory is there, but Muse/lv2 plugin doesn't seem to recognise it.

If i attempt to use Muse's generic gui to load the preset from a directory window, that fails too. The folder at /home/alex/.lv2 contains no .pre file. (obviously)

Any clues?

Alex.
Tim E. Real
Established Member
Posts: 660
Joined: Sat Sep 15, 2012 12:36 am
Has thanked: 36 times
Been thanked: 105 times

Re: linuxsampler lv2 saved presets do not load.

Post by Tim E. Real »

This is an LV2 problem.

You need the git versions of the lv2 suite including especially lilv
because Dave put a fix in there which I don't think has made it into a release.
alex stone
Established Member
Posts: 350
Joined: Fri Jun 06, 2008 7:39 am
Has thanked: 61 times
Been thanked: 53 times

Re: linuxsampler lv2 saved presets do not load.

Post by alex stone »

Ok, i'll try that.

Alex.
alex stone
Established Member
Posts: 350
Joined: Fri Jun 06, 2008 7:39 am
Has thanked: 61 times
Been thanked: 53 times

Re: linuxsampler lv2 saved presets do not load.

Post by alex stone »

Tim, what was the date of the commit by Dave? January 11th?

"Use a clearer name for state directory and improve documentation" ?

Is that what you're referring to?

Alex.
alex stone
Established Member
Posts: 350
Joined: Fri Jun 06, 2008 7:39 am
Has thanked: 61 times
Been thanked: 53 times

Re: linuxsampler lv2 saved presets do not load.

Post by alex stone »

Tim, thanks for the heads up, that worked, and it was the Jan 11 commit that fixed it.

Onwards and Upwards.

Alex.
Tim E. Real
Established Member
Posts: 660
Joined: Sat Sep 15, 2012 12:36 am
Has thanked: 36 times
Been thanked: 105 times

Re: linuxsampler lv2 saved presets do not load.

Post by Tim E. Real »

I checked, it was October 1st when Dave notified me of the changes in his git.
But the official lilv release is still at July.
alex stone
Established Member
Posts: 350
Joined: Fri Jun 06, 2008 7:39 am
Has thanked: 61 times
Been thanked: 53 times

Re: linuxsampler lv2 saved presets do not load.

Post by alex stone »

Hmm, that's weird. The version i was using that didn't work was from kxstudio dec242018.

Anyway i've removed all those versions and have Dave's git versions instead.


Alex.
Tim E. Real
Established Member
Posts: 660
Joined: Sat Sep 15, 2012 12:36 am
Has thanked: 36 times
Been thanked: 105 times

Re: linuxsampler lv2 saved presets do not load.

Post by Tim E. Real »

Hi, just a heads up:

Official Lilv 0.24.6 has been released in November 2019.

It appears to contain the required fixes for this problem, hopefully no more compiling from git.

http://drobilla.net/category/lilv/
Post Reply