You may ask … what’s the meaning of this? Is Jodemodo totally crazy?
OK! “Faster” is the development branch in witch i’ve been working in the last weeks. It’s a set of changes that will make your zynthian faster:
Faster LV2: Native LV2 discovery system (LV2 world) is fantastic, but it’s slow. It takes a lot of time to search for presets every time you load a plugin, specially if the plugin have a good amount of presets. And the problem arises when you manage snapshots with several plugins on it. For solving this problem i decided to cache LV2 presets in a faster format (JSON). With this cache system you can have as many presets as you want on Dexed, OBXd or amsynth, and the load time will remain the same.
Faster loading/removing layers & snapshots: I’ve optimized the autoconnector code for avoiding some blocking conditions. The result is faster loading times, specially when changing between snapshots, or removing all layers for starting a new one.
The update could take some time (several minutes), as it needs to build the presets cache, so please, be patient. I recommend to do it from webconf for better control of what’s going on. Don’t be worried if you see some error/warning when generating the presets cache. There are several hundred plugins and some of them have “problems”.
When the update is over, you should restart your zynthian and cross your fingers …
I’ve tested carefully, but … if something goes wrong, i’m pretty sure the update works OK on a fresh Stretch or Buster image.
OK, @jofemodo, it’s time to kick off the bug reports…
I updated my software last night. Since then, I have been unable to load any of my snapshots.
The UI log shows:
Feb 28 12:25:11 zynthian startx[509]: for i, info in zynthian_lv2.get_plugin_ports(self.plugin_url).items():
Feb 28 12:25:11 zynthian startx[509]: File "/home/pi/zynthian-ui/zyngine/zynthian_lv2.py", line 407, in get_plugin_ports
Feb 28 12:25:11 zynthian startx[509]: plugin = plugins[plugin_url]
Feb 28 12:25:11 zynthian startx[509]: File "/usr/lib/python3.7/lilv.py", line 874, in __getitem__
Feb 28 12:25:11 zynthian startx[509]: return self.get_by_uri(key)
Feb 28 12:25:11 zynthian startx[509]: File "/usr/lib/python3.7/lilv.py", line 877, in get_by_uri
Feb 28 12:25:11 zynthian startx[509]: plugin = plugins_get_by_uri(self.collection, uri.node)
Feb 28 12:25:11 zynthian startx[509]: AttributeError: 'str' object has no attribute 'node'
Feb 28 12:25:11 zynthian startx[509]: ERROR:zynthian_autoconnect: Jack Audio XRUN!
Feb 28 12:25:11 zynthian startx[509]: ERROR:zynthian_autoconnect: Jack Audio XRUN!
Is something wrong with my snapshots?
Update
I created a brand-new snapshot, and it loaded successfully. So, is there a way I can fix my old snapshots?
I am using 2020-02-11 as base system and updated right now: loading my snapshots is working.
@jofemodo BUT: I think there is a problem with the volume setup. I have several snapshots where the initial volume is turned down (especially when YKChorus is in the FX-chain). The visual representation in the window is telling the right value but the sound is definitely too loud (=digital distortion). Turning the encoder just one step and the right value (+/- 1) is set (and distortion disapears).
This update is incredible@jofemodo!!! My Disco-Zynthian is used for our band since the RPI4 upgrade and I must say that it is so much fun to have such a great synth on stage! Thanks a lot!!!
I flashed a Zynthian image backup from 19 January 2020 to my SD card. I powered on my Zynthian and connected to the WiFi. I selected Update Software in the Zynthian UI. After the obligatory scrolling text, the screen turned all white. The Zynthian UI was gone.
I rebooted the Zynthian over SSH, but the screen was still white. I tried running update_zynthian.sh, and I got the error everybody’s been talking about:
Traceback (most recent call last):
File "./zynthian_lv2.py", line 28, in <module>
import lilv
ModuleNotFoundError: No module named 'lilv'
That’s weird. My build from Januar-15 worked. Only an early build had issues.
But let the install_lv2_lilv be the last action.
The update seems to delete it again.
I just updated. Problem while trying to add an affect layer:
I can select any LV2 plugin then I see the usual logo animation but the screen to select a channel or a preset never appear. I can just push “back” button to return to main menu.
The effect layer doesn’t seem to be created (audio can’t be routed to it).