Page 1 of 1

How to create instruments database?!??!!!?

Posted: Wed Oct 21, 2009 12:43 am
by jonathanbrickman0000
Am running AVLinux, based on Debian testing. QSampler locked up a lot, so I tried JSampler Fantasia. Got error popups. First I got:

Code: Select all

Updating database directory:  Cannot open instruments database:  /var/lib/linuxsampler/instruments.db
So I created directory /var/lib/linuxsampler, set it to group ownership 'audio', set it to g=rwx. QSampler locks up a lot less, but still a bit; JSampler gave me this:

Code: Select all

Updating database directory:  DB error:  no such table:  instr_dirs
How do I create this database???!???!

J.E.B.

Re: How to create instruments database?!??!!!?

Posted: Wed Oct 21, 2009 2:42 am
by ccherrett
the whole /var/lib/linuxsampler/instruments.db is new so I am not sure what is happening because I do not use it. However:

linuxsampler --create-instruments-db my_instruments.db

and

linuxsampler --instruments-db-location my_instruments.db

will work for you. I use fantasia only for tweaking and start linuxsampler command line from a script
So once the setup is done I do not use the gui anymore.

Re: How to create instruments database?!??!!!?

Posted: Wed Oct 21, 2009 8:12 am
by grishata
jonathanbrickman0000 wrote: So I created directory /var/lib/linuxsampler, set it to group ownership 'audio', set it to g=rwx.
J.E.B.
And then in Fantasia choose Window/Instruments Database and in the Instruments Database window choose Actions/Format Database.

Re: How to create instruments database?!??!!!?

Posted: Thu Jan 11, 2024 12:54 am
by browny_amiga
So this is still massively broken:
Why doesn't it create that directory? Any other tool will happily create any . directory.

Then formating it works, BUT when I add an instrument to it, then it hangs forever with the message
"Updating database directories"

I just added one single instrument to it. Is this feature just broken and nobody ever uses it?