This week, double update!!
Finally you can easily update to LinuxSampler 2.0, thanks to @steveb and enjoy the improved FluidSynth and LinuxSampler engines, by @Schpion.
You can update from the GUI Admin menu (Update Software) or from the command line, running the script:
/zynthian/zynthian-sys/scripts/update_zynthian.sh
WARNING!!
It will take a while to build the new LinuxSampler, so be patient and leave your ZynthianBox to do the work âŚ
There is an initial implementation of an Effects-Chain is for Linuxsampler using its native LADSPA support. Iâm not sure if it will be the way to go, but i wanted to try
A looooong list of fixes and improvements contributed by @Schpion (thanks a lot, man!). You can see the details here:
IMPORTANT BUG THAT BREAKS THE ADMIN MENU UPDATE FUNCTION
If you already updated this week, you canât update from the GUI Admin menu never more because there is a bug (fixed in the next update) that breaks the admin menu update function. My apologies!
For fixing the problem you have to update from the command line, running the script:
If you donât want to use the console, your only option is burn a fresh gorgona image and update twice (or three times!) from the Admin menu. This should work too, but i havenât test it.
I have some trouble with the update for linuxsampler:
/zynthian/zynthian-sys/scripts/recipes/install_linuxsampler.sh: If rpi_linuxsampler_patch.git exists the call of git throws an error an the script stops. I fixed it like the following:
rm -rf rpi_linuxsampler_patch
git clone https://github.com/steveb/rpi_linuxsampler_patch.git
if ! patch -R -p0 --dry-run <pi_linuxsampler_patch/linuxsampler-arm.patch
then
patch -p1 <pi_linuxsampler_patch/linuxsampler-arm.patch
fi
Perhaps the installation of libsqlite3-dev before compiling may be useful in future for storing setups in linuxsampler.
Starting /zynthian/zynthian-ui/zynthian.sh I get the following error. Maybe line 26 can be deleted?
$ cd /zynthian/zynthian-ui; ZYNTHIAN_DIR=/zynthian FRAMEBUFFER=/dev/fb1 HOME=/root PATH=/bin:/usr/bin:/usr/local/bin:/zynthian/zynthian-sys/sbin /usr/bin/startx ./zynthian.sh -- :0 vt3
./zynthian.sh: line 26: /etc/X11/zynthian: No such file or directory
Power off from the menu or long pressing SELECT for powering down does a reboot and not a halt.
Thatâs all I found until now . A little bit strange: I had to erase and checkout linuxsampler completely due to problems with missing lines in the code⌠but after fully checking out it works again.
I havenât commited the fixes for install_linuxsampler.sh. I will do so if you say itâs OK.
Is the Admin play Test Audio function working properly?. It doesnât seem to quit and it isnât killable on all three of my boxes including the everso vanilla . zynthian-orig.local ( I do like avahi)
another very small thing: when I choose setBfree as engine, on the next screen nothing in the menu is marked as chosen by default.
⌠and: In Zynthians Admin menu; when WiFi is enabled (after restart) the menu entry is named Start Wifi. Is there a way to detect that WiFi is configured an started, so Stop WiFi should appear?
I tryed adding the missing r on both lines (48&50) and running the installer afterwards with
sh install_linuxsampler.sh
And this is the result:
Good. Now type 'make' to compile, followed by 'make install' as root.
+ cd src/scriptvm
+ yacc -o parser parser.y
parser.y:36.1-13: warning: deprecated directive, use â%name-prefixâ [-Wdeprecated]
%name-prefix="InstrScript_"
^^^^^^^^^^^^^
+ cd ../..
+ rm -rf rpi_linuxsampler_patch
+ git clone https://github.com/steveb/rpi_linuxsampler_patch.git
Cloning into 'rpi_linuxsampler_patch'...
remote: Counting objects: 12, done.
remote: Total 12 (delta 0), reused 0 (delta 0), pack-reused 12
Unpacking objects: 100% (12/12), done.
Checking connectivity... done.
+ patch -R -p0 --dry-run
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/src/common/RTMath.cpp b/src/common/RTMath.cpp
|index f228c08..bc53f8f 100644
|--- a/src/common/RTMath.cpp
|+++ b/src/common/RTMath.cpp
--------------------------
File to patch:
Is it possible to run the installer as I did or am I missing something?