|
From: Robert O. <rob...@gm...> - 2018-04-27 14:49:11
Attachments:
signature.asc
|
Hello all, This is Robert. I am new to the list and to LinuxSampler. I have found that none of the existing sample converters work well with my existing Giga libraries, so you can imagine my delight to find that there is a sampler that works on OSX and has decent Giga support from the start. Unfortunately, I am facing issues in using LinuxSampler, and since the documentation seems a bit outdated, I was wondering if anyone could point me in the right direction. I am using MacOS High Sierra 10.13.4 and Logic Pro X version 10.4.1. I also have to point out that I am blind, so I am using VoiceOver, the built-in screen reader of the MAc. After installing the AU version of LinuxSampler and restarting Logic, I am warned that the AU plugin is incompatible and it did not pass validation. I can ignore this, and enable the plugin, however, I do not see any controls thus I am unable to load any .gig file via the plugin overlay. I have tried to open the Sampler.app program, however it just terminates unexpectedly. I am unsure about what my next step should be, any help is greatly appreciated. Best, Rob |
|
From: Christian S. <sch...@li...> - 2018-04-29 13:17:52
|
On Freitag, 27. April 2018 16:49:00 CEST Robert O. wrote: > Hello all, > This is Robert. I am new to the list and to LinuxSampler. Hi Robert! > I have found that none of the existing sample converters work well with my > existing Giga libraries, so you can imagine my delight to find that there > is a sampler that works on OSX and has decent Giga support from the start. Yeah, currently I do not know of any converter which handles the gig format correctly. The majority will simply convert that samples, but that's pretty much it. > Unfortunately, I am facing issues in using LinuxSampler, and since the > documentation seems a bit outdated, I was wondering if anyone could point > me in the right direction. The Mac docs are not old, they are ancient. :) > I have tried to open the Sampler.app program, however it just terminates > unexpectedly. I am unsure about what my next step should be, any help is > greatly appreciated. First of all, which version of the sampler installer have you used? Can you paste the precise file name of the installer which you downloaded and installed? The installer file names contain either the sampler's release version (on official releases) or a date (on automatic snapshot builds) as part of the installer's file name. CU Christian |
|
From: Robert O. <rob...@gm...> - 2018-05-02 16:36:24
Attachments:
signature.asc
|
> First of all, which version of the sampler installer have you used? I used linuxsampler_20180210. Since then, I think I made some progress. I was able to launch “linuxsampler” from the terminal, and load a .gig file, however my daw (Logic) seems to freeze when I try to add a track which uses LinuxSampler as the sampler engine. Having said that, I am not sure if the defaults are okay when creating a Midi device, audio device, or loading an instrument. Unfortunately, I am unable to change some settings (such as port, audio device, instrument index in a bank, etc) in Fantasia, because the value does not change in the dropdown menus when the arrow keys are used. Rob > On 2018. Apr 29., at 15:17, Christian Schoenebeck <sch...@li...> wrote: > > On Freitag, 27. April 2018 16:49:00 CEST Robert O. wrote: >> Hello all, >> This is Robert. I am new to the list and to LinuxSampler. > > Hi Robert! > >> I have found that none of the existing sample converters work well with my >> existing Giga libraries, so you can imagine my delight to find that there >> is a sampler that works on OSX and has decent Giga support from the start. > > Yeah, currently I do not know of any converter which handles the gig format > correctly. The majority will simply convert that samples, but that's pretty > much it. > >> Unfortunately, I am facing issues in using LinuxSampler, and since the >> documentation seems a bit outdated, I was wondering if anyone could point >> me in the right direction. > > The Mac docs are not old, they are ancient. :) > >> I have tried to open the Sampler.app program, however it just terminates >> unexpectedly. I am unsure about what my next step should be, any help is >> greatly appreciated. > > First of all, which version of the sampler installer have you used? Can you > paste the precise file name of the installer which you downloaded and > installed? The installer file names contain either the sampler's release > version (on official releases) or a date (on automatic snapshot builds) as part > of the installer's file name. > > 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 > Lin...@li... > https://lists.sourceforge.net/lists/listinfo/linuxsampler-devel |
|
From: Christian S. <sch...@li...> - 2018-05-03 12:32:38
|
On Mittwoch, 2. Mai 2018 18:36:13 CEST you wrote: > > First of all, which version of the sampler installer have you used? > > I used linuxsampler_20180210. > > Since then, I think I made some progress. I was able to launch > “linuxsampler” from the terminal, and load a .gig file, however my daw > (Logic) seems to freeze when I try to add a track which uses LinuxSampler > as the sampler engine. > > Having said that, I am not sure if the defaults are okay when creating a > Midi device, audio device, or loading an instrument. Unfortunately, I am > unable to change some settings (such as port, audio device, instrument > index in a bank, etc) in Fantasia, because the value does not change in the > dropdown menus when the arrow keys are used. The AU Plugin creates the MIDI device and audio device on its own. So that's an important aspect to know about. Because when you create audio / MIDI devices manually i.e. with QSampler/Fantasia (i.e. before you can actually create a LinuxSampler track in Logic) then the sampler will directly access your CoreAudio hardware, and that's only what you want to do if you use the sampler as stand-alone application. So please try the following: 1. Reboot your Mac (just to get a clear ground for resolving this for now). 2. Launch the LinuxSampler engine, which will launch a text-only window on your Mac. Don't do any further setup at this point i.e. with QSampler/ Fantasia or something. 3. Launch Logic and add your track with LinuxSampler as AU. 4. Launch your favorite LinuxSampler frontend app (QSampler/Fantasia). 5. The AU should now already have created the audio and MIDI device (special ones for AU usage) and the AU should also already have a created one sampler part (or two if you added two tracks in Logic) . 6. Now just edit the respective sampler part and load your gig instrument. Make sure that a) "Giga" engine is selected and b) that for audio/MIDI device the AU device is selected, not CoreAudio or CoreMIDI! CU Christian |
|
From: Robert O. <rob...@gm...> - 2018-05-03 14:11:29
Attachments:
signature.asc
|
> On 2018. May 3., at 14:31, Christian Schoenebeck <sch...@li...> wrote: > 3. Launch Logic and add your track with LinuxSampler as AU. Unfortunately, When I add the AU instrument, Logic freezes. The track is not created, and the LinuxSampler engine does not print anything additional to the screen. The last line is: LinuxSampler initialization completed. :-) Best, Rob |
|
From: Christian S. <sch...@li...> - 2018-05-04 10:11:27
|
On Donnerstag, 3. Mai 2018 16:11:19 CEST Robert O. wrote: > > On 2018. May 3., at 14:31, Christian Schoenebeck > > <sch...@li...> wrote: 3. Launch Logic and add your track > > with LinuxSampler as AU. > > Unfortunately, When I add the AU instrument, Logic freezes. The track is not > created, and the LinuxSampler engine does not print anything additional to > the screen. The last line is: LinuxSampler initialization completed. :-) Sorry, I gave you one wrong information: omit step 2. described in my previous email. I forgot that by default the AU also launches the sampler backend (including LSCP server). So just reboot your Mac, add a LinuxSampler AU track in Logic, then open QSampler/Fantasia and load the gig instrument. If that is still causing Logic to freeze then please check if you find any useful or suspicious information with the Mac's "Console" utility (Applications -> Utilities -> Console). CU Christian |
|
From: Robert O. <rob...@gm...> - 2018-05-04 11:42:43
Attachments:
signature.asc
|
On 2018. May 4., at 12:11, Christian Schoenebeck <sch...@li...> wrote: > So just reboot your Mac, add a LinuxSampler AU track in Logic, then open > QSampler/Fantasia and load the gig instrument. That did it. I was able to load and play a patch from the Garritan Orchestra. Logic’s incompatible plugin warning shows up at every startup, but at least it works now. Huge thanks for your help! I am wondering, is there a way to control the engine via the command line, or via other means besides the two frontends? Unfortunately, choosing an instrument index in the loaded file in Fantasia is quite cumbersome with VoiceOver, as it pops up a separate window. Other parts, such as the directory browser are also not exposing their content properly. Essentially, since I have a few hundred giga files, what I would like is a way to print the available indexes and to load an instrument via that index from a .gig file. This can be through the database as well. QSampler might work better, however, it fails to start on my system. From the console: Termination Reason: DYLD, [0x1] Library missing Dyld Error Message: Library not loaded: /home/*/libgig.7.dylib Referenced from: /Applications/LinuxSampler/qsampler.app/Contents/MacOS/qsampler Reason: image not found Once again, thank you very much for your help, it would have been really impossible to make all this work otherwise! Rob |
|
From: Christian S. <sch...@li...> - 2018-05-05 11:18:29
|
On Freitag, 4. Mai 2018 13:42:32 CEST Robert O. wrote: > That did it. I was able to load and play a patch from the Garritan > Orchestra. Logic’s incompatible plugin warning shows up at every startup, > but at least it works now. Huge thanks for your help! The AU plugin certainly could get an update. Probably it lacks something from the current AU version 3 standard. The Mac's "Console" utility might also give a clue in this case what Logic dislikes exactly about the LinuxSampler AU. > I am wondering, is there a way to control the engine via the command line, > or via other means besides the two frontends? Unfortunately, choosing an > instrument index in the loaded file in Fantasia is quite cumbersome with > VoiceOver, as it pops up a separate window. Other parts, such as the > directory browser are also not exposing their content properly. There is not an Ncurses based frontent if you mean that (that is a terminal application which you could easily navigate with just arrow keys and enter). But there is for example the command line application "lscp" which is essentially a shell, that is you have to type text commands to the sampler backend with the keyboard and the shell assists you with type completion of those commands: http://doc.linuxsampler.org/LSCP_Shell/ However even though this console application assists you with typing those commands. you would still need to learn at least the basics of what those commands are, which is described in a rather huge document here: http://www.linuxsampler.org/api/draft-linuxsampler-protocol.html > Essentially, since I have a few hundred giga files, what I would like is a > way to print the available indexes and to load an instrument via that index > from a .gig file. This can be through the database as well. I am not sure how much you usually use command line applications, but you could use the command line application "gigdump" for this. Like the previously mentioned "lscp" application, these are some of a bunch of command line tools that are automatically installed along to the sampler. There are much more like command line tools for file format conversion etc. Each one is coming with a user manual. Type i.e. "man gigdump" on the terminal to see more. The problem for you however is probably that "gigdump" actually dumps a load of information, not only the instrument names, but almost everything that is stored in the .gig file, like individual instrument patch parameters, all the samples, their loop points and so on. But I could add you a command line switch to gigdump such that it only prints you a list of instruments if that would help you. > QSampler might work better, however, it fails to start on my system. From > the console: > > Termination Reason: DYLD, [0x1] Library missing > Dyld Error Message: > Library not loaded: /home/*/libgig.7.dylib > Referenced from: > /Applications/LinuxSampler/qsampler.app/Contents/MacOS/qsampler Reason: > image not found Yes, QSampler would probably suit you better, because it should come with VoiceOver support right out of the box since it is based on the Qt UI library and since QSampler is not using custom UI skin features and the like, in contrast to Fantasia. However QSampler currently does not support the sampler backend's instruments DB feature yet. The reason why QSampler is currently not running on your Mac is because the Qt library needs to be updated on our automatic build server. That takes a while because it requires us manual cross compilation and dealing with couple issues on our server. But I could do that somewhere next week or so. CU Christian |
|
From: Robert O. <rob...@gm...> - 2018-05-05 12:52:21
Attachments:
signature.asc
|
On 2018. May 5., at 13:18, Christian Schoenebeck <sch...@li...> wrote: > The Mac's "Console" utility might also give > a clue in this case what Logic dislikes exactly about the LinuxSampler AU. 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 FATAL ERROR: OpenAComponent: result: -50,0xFFFFFFCE > But there is for example the command line application “lscp”...essentially a shell… This is exactly what I need, thank you! > … you would still need to learn at least the basics of what those > 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. > I am not sure how much you usually use command line applications… A lot, daily :-) > I could add you a command line > switch to gigdump such that it only prints you a list of instruments if that > would help you. 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. > ... the Qt > library needs to be updated on our automatic build server. That takes a while > because it requires us manual cross compilation and dealing with couple issues > on our server. But I could do that somewhere next week or so. That would be amazing, thank you. With the combination of Gigdump and the LSCP shell, plus Fantasia occasionally, I feel that this is not quite important, but it is certainly a welcome addition. As always, your help is very much appreciated! All the best, Rob |
|
From: Christian S. <sch...@li...> - 2018-05-08 19:47:40
|
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 |
|
From: Robert O. <rob...@gm...> - 2018-05-09 16:49:20
Attachments:
signature.asc
|
On 2018. May 8., at 21:47, Christian Schoenebeck <sch...@li...> wrote: > I think Logic is missing something else. Maybe some new AUv3 methods that are > not implemented by our AU plugin yet. I think the AU validation tool became quite aggressive in this regard, and this missing liblinuxsampler.5.dylib might be the issue. Validation does not continue after this, and I get: FATAL ERROR: OpenAComponent: result: -50,0xFFFFFFCE > 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. Now that I know that the LSCP files can be applied on the command line, they make my life a lot easier. I began working on a utility which allows loading sampler files from the clipboard, as well as display the contained instrument indices, so one can choose which one to load. The next step is to have a load/save feature based on Logic’s window title, so applying various sets of instruments can be a lot easier. > I just added a command line switch to gigdump for this… Thank you! I am using it now extensively. > If you don't like the precise output, let me know. I can still tweak it easily > for what you might need. I think it works well. The right parenthesis and the quotes are probably not necessary, but I can parse the output easily. All the best, Rob |