On Samstag, 5. Mai 2018 14:52:10 CEST Robert O. wrote:
> Here’s the relevant log entry:
> 
> Error loading
> /Library/Audio/Plug-Ins/Components/LinuxSamplerAU.component/Contents/MacOS/
> LinuxSamplerAU: 
> dlopen(/Library/Audio/Plug-Ins/Components/LinuxSamplerAU.component/Contents
> /MacOS/LinuxSamplerAU, 262): Library not loaded:
> /home/persson/mac/x86_64/lib/linuxsampler/liblinuxsampler.5.dylib
> Referenced from:
> /Library/Audio/Plug-Ins/Components/LinuxSamplerAU.component/Contents/MacOS/
> LinuxSamplerAU Reason: image not found

Mmm, that's probably not the real issue here. Or Logic became extremely picky. 
Mac apps (and DLLs) contain an absolute path as well as a relative path for 
the DLLs they need. And this error is just on the absolute path of the 
LinuxSampler DLL, which is usually just ignored. And since you say the plugin 
is running in Logic, it found the LinuxSampler DLL using the relative path.

I think Logic is missing something else. Maybe some new AUv3 methods that are 
not implemented by our AU plugin yet.

> > commands are, which is described in a rather huge document here:
> It seems that I can easily load an instrument from here, if I know the
> index. It should be trivial to hack something together which would query
> the giga files via gigdump and pipe it to the lscp shell. This will be
> really useful when I need to load lots of instruments all at once for a
> Logic project. I’ll give this a go, thank you.

Yes, that's correct. Usually you just need some few basic LSCP commands. We 
also have some short examples on the website, so you don't necessarily need to 
read the entire, bloated LSCP specs document I gave you last time:

http://linuxsampler.org/documentation.html#example_lscp_scripts

And keep in mind Fantasia and QSampler actually save their sampler session as 
LSCP files as well. So you could also check what they are doing.

> > I am not sure how much you usually use command line applications…
> 
> A lot, daily :-)

Well, then that changes the game. :-)

> I can probably use ‘grep' or ‘sift’ to have a list of indexes, however, if
> it is not much work, it would certainly make things a lot easier. The index
> number and its name, similarly to how Fantasia displays it in its dropdown
> would be perfect.

I just added a command line switch to gigdump for this:

gigdump --instrument-names foo.gig

If you don't like the precise output, let me know. I can still tweak it easily 
for what you might need. Just download today's automatic snapshot build, run 
the installer on your Mac and you'll have that gigdump option:

http://download.linuxsampler.org/packages/osx/snapshots/

CU
Christian

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Linuxsampler-devel mailing list
Linuxsampler-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxsampler-devel

Reply via email to