Page 1 of 1

Can't start Gigedit from Fantasia

Posted: Mon Sep 12, 2011 5:40 am
by thetinman
I'm running Fantasia and I can't start up Gigedit when I click on "Edit Instrument." Instead of the Gigedit window, I get a messag e reading "Starting an instrument editor: There is no instrument editor capable to handle this instrument."

The strange thing is that when I start up a new project with Fantasia, I can open Gigedit just fine. But, after I save the LSPC file and try to reopen, I have this problem with Gigedit. It doesn't quite make sense to me. Does anyone know why this would happen?

Re: Can't start Gigedit from Fantasia

Posted: Wed Sep 14, 2011 5:16 am
by thetinman
Apparently this behavior can be prevented by removing the RESET command in the .lspc file:

http://old.nabble.com/Linuxsampler-does ... 99179.html

Re: Can't start Gigedit from Fantasia

Posted: Thu Sep 15, 2011 2:40 am
by thetinman
As a work around the source code can be modified. Changing line 720 of Sampler.cpp from

Code: Select all

InstrumentEditorFactory::ClosePlugins();
to

Code: Select all

//InstrumentEditorFactory::ClosePlugins();
resolves the problem by preventing the instrument editor DLLs from being unloaded when the RESET command is made.

I'm using linuxsampler v1.0.0.

Re: Can't start Gigedit from Fantasia

Posted: Fri Sep 23, 2011 11:18 pm
by cuse
Interesting, I didn't even remember that the instrument editor plugins were unloaded on a reset command. Which doesn't make sense, or at least they should be loaded again afterwards. Shame is that I really wrote that line. ;)

I try to not forget it and fix it next time I touch the code.

Thanks for pointing this out!

Re: Can't start Gigedit from Fantasia

Posted: Thu Oct 13, 2011 3:59 pm
by turfreijer
I'm having the same problem with fantasia (jsampler) , but I cannot find the file .lpsc that I have to change.
Where can I find this file?

Regards,
Dave

Re: Can't start Gigedit from Fantasia

Posted: Mon Apr 20, 2015 2:01 pm
by rapha
Is someone can tell me how qsampler or jsampler find gigedit ?

Re: Can't start Gigedit from Fantasia

Posted: Wed May 20, 2015 6:18 pm
by varpa
I don't know how to start Gigedit from Fantasia, but why can't you just run it standalone?