Sfizz Integration

It works perfectly OK for me.
You have to be more explicit about the steps you followed for updating, create the layers, etc.

Regards,

“sfizz” does not see folders SFZ on the USB flash…

The SFZs folders must be located on “USBDISK://soundfonts/sfz”. It’s the same for Linuxsampler & Sfizz.

Regards

Hallo @jofemodo,

In my case I have problem with sound, exactly I have not sound from sfizz engine. I try the same sfz font in Sfizz and LS synt layer. Here is debug log:

Restarting UI in normal mode
-- Logs begin at Mon 2021-08-23 21:17:08 BST. --
Aug 23 21:26:14 zynthian startx[510]: xinit: unexpected signal 15
Aug 23 21:26:14 zynthian systemd[1]: zynthian.service: Main process exited, code=exited, status=1/FAILURE
Aug 23 21:26:14 zynthian startx[510]: Cannot read socket fd = 11 err = Interrupted system call
Aug 23 21:26:14 zynthian startx[510]: Could not read result type = 24
Aug 23 21:26:14 zynthian startx[510]: New instance of zynseq
Aug 23 21:26:14 zynthian startx[510]: **zynseq initialising as zynthstep**
Aug 23 21:26:14 zynthian startx[510]: ***Jackpeak closing***
Aug 23 21:26:14 zynthian systemd[1]: zynthian.service: Failed with result 'exit-code'.
Aug 23 21:26:14 zynthian systemd[1]: Stopped Zynthian User Interface.
Aug 23 21:45:31 zynthian systemd[1]: Started Zynthian User Interface.
Aug 23 21:45:31 zynthian startx[4735]: X.Org X Server 1.20.4
Aug 23 21:45:31 zynthian startx[4735]: X Protocol Version 11, Revision 0
Aug 23 21:45:31 zynthian startx[4735]: Build Operating System: Linux 5.10.17-v8+ aarch64 Raspbian
Aug 23 21:45:31 zynthian startx[4735]: Current Operating System: Linux zynthian 5.10.52-v7l+ #1441 SMP Tue Aug 3 18:11:56 BST 2021 armv7l
Aug 23 21:45:31 zynthian startx[4735]: Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=640 bcm2708_fb.fbheight=480 bcm2708_fb.fbswap=1 smsc95xx.macaddr=E4:5F:01:25:E3:EF vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 dwc_otg.lpm_enable=0 console=tty3 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait logo.nologo quiet splash
Aug 23 21:45:31 zynthian startx[4735]: Build Date: 19 April 2021 03:23:36PM
Aug 23 21:45:31 zynthian startx[4735]: xorg-server 2:1.20.4-1+rpt3+deb10u3 (https://www.debian.org/support)
Aug 23 21:45:31 zynthian startx[4735]: Current version of pixman: 0.36.0
Aug 23 21:45:31 zynthian startx[4735]: Before reporting problems, check http://wiki.x.org
Aug 23 21:45:31 zynthian startx[4735]: to make sure that you have the latest version.
Aug 23 21:45:31 zynthian startx[4735]: Markers: (--) probed, (**) from config file, (==) default setting,
Aug 23 21:45:31 zynthian startx[4735]: (++) from command line, (!!) notice, (II) informational,
Aug 23 21:45:31 zynthian startx[4735]: (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
Aug 23 21:45:31 zynthian startx[4735]: (==) Log file: "/var/log/Xorg.0.log", Time: Mon Aug 23 21:45:31 2021
Aug 23 21:45:31 zynthian startx[4735]: (==) Using config directory: "/etc/X11/xorg.conf.d"
Aug 23 21:45:31 zynthian startx[4735]: (==) Using system config directory "/usr/share/X11/xorg.conf.d"
Aug 23 21:45:31 zynthian startx[4735]: ./zynthian.sh: line 55: /sys/class/backlight/*/bl_power: No such file or directory
Aug 23 21:45:31 zynthian startx[4735]: /zynthian/config/img/fb_zynthian_boot.png is 640x480 PNG image, color type GRAY, 8 bit
Aug 23 21:45:31 zynthian startx[4735]: Zooming image by 100%...done
Aug 23 21:45:31 zynthian startx[4735]: Merging...didn't find evidence of prior run.
Aug 23 21:45:31 zynthian startx[4735]: done
Aug 23 21:45:31 zynthian startx[4735]: Building XImage...done
Aug 23 21:45:33 zynthian startx[4735]: lilv_world_load_bundle(): warning: Replacing version 2071.7 of <http://gareus.org/oss/lv2/b_whirl#extended> from <file:///zynthian/zynthian-plugins/lv2/b_whirl.lv2/>
Aug 23 21:45:33 zynthian startx[4735]: lilv_world_load_bundle(): note: New version 2071.11 found in <file:///zynthian/zynthian-plugins/lv2/b_whirl/>
Aug 23 21:45:33 zynthian startx[4735]: lilv_world_load_bundle(): warning: Replacing version 2071.7 of <http://gareus.org/oss/lv2/b_whirl#simple> from <file:///zynthian/zynthian-plugins/lv2/b_whirl.lv2/>
Aug 23 21:45:33 zynthian startx[4735]: lilv_world_load_bundle(): note: New version 2071.11 found in <file:///zynthian/zynthian-plugins/lv2/b_whirl/>
Aug 23 21:45:33 zynthian startx[4735]: lilv_world_load_bundle(): warning: Ignoring bundle <file:///zynthian/zynthian-plugins/lv2/b_synth.lv2/>
Aug 23 21:45:33 zynthian startx[4735]: lilv_world_load_bundle(): note: Newer version of <http://gareus.org/oss/lv2/b_synth> loaded from <file:///zynthian/zynthian-plugins/lv2/b_synth/>
Aug 23 21:45:34 zynthian startx[4735]: libjackpeak registering as 'jackpeak'.
Aug 23 21:45:34 zynthian startx[4735]: libjackpeak created input ports
Aug 23 21:45:39 zynthian startx[4735]: A dependency job for novnc0.service failed. See 'journalctl -xe' for details.
Aug 23 21:45:39 zynthian startx[4735]: ERROR:zynthian_gui_admin.start_vncserver: Command 'systemctl start novnc0' returned non-zero exit status 1.
Aug 23 21:45:39 zynthian startx[4735]: ERROR:zynthian_engine.start: Can't start engine Sfizz => The command was not found or was not executable: sfizz_jack.
Aug 23 21:46:30 zynthian startx[4735]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN!
Aug 23 21:46:42 zynthian startx[4735]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN!
Aug 23 21:46:42 zynthian startx[4735]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN!
Aug 23 21:46:53 zynthian startx[4735]: ERROR:zynthian_engine.start: Can't start engine Sfizz => The command was not found or was not executable: sfizz_jack

Details from from start sfizz engine:

Aug 23 21:51:30 zynthian startx[5782]: DEBUG:zynthian_gui_controller.config: ZCTRL 'Layer': 0 (0 -> 8), None, None
Aug 23 21:51:30 zynthian startx[5782]: DEBUG:zynthian_gui_controller.config: ZCTRL 'Layer': 0 (0 -> 8), None, None
Aug 23 21:51:42 zynthian startx[5782]: INFO:zynthian_gui.zynswitch_short: Short Switch 3
Aug 23 21:51:42 zynthian startx[5782]: DEBUG:zynthian_gui_controller.config: ZCTRL 'Engine': 0 (0 -> 7), None, None
Aug 23 21:51:44 zynthian startx[5782]: INFO:zynthian_gui.zynswitch_short: Short Switch 3
Aug 23 21:51:44 zynthian startx[5782]: DEBUG:zynthian_gui_controller.config: ZCTRL 'Channel': 0 (0 -> 15), None, None
Aug 23 21:51:45 zynthian startx[5782]: INFO:zynthian_gui.zynswitch_short: Short Switch 3
Aug 23 21:51:45 zynthian startx[5782]: INFO:zynthian_engine.start: Starting Engine Sfizz
Aug 23 21:51:45 zynthian startx[5782]: DEBUG:zynthian_engine.start: Command: sfizz_jack --client_name 'sfizz-00' --preload_size 32768 --num_voices 40
Aug 23 21:51:45 zynthian startx[5782]: ERROR:zynthian_engine.start: Can't start engine Sfizz => The command was not found or was not executable: sfizz_jack.
Aug 23 21:51:45 zynthian startx[5782]: DEBUG:zynthian_layer.load_bank_list: BANK LIST =>
Aug 23 21:51:45 zynthian startx[5782]: [['/zynthian/zynthian-data/soundfonts/sfz/Bass', 0, 'SFZ/Bass', 'SFZ', 'Bass'], ['/zynthian/zynthian-data/soundfonts/sfz/Brass', 1, 'SFZ/Brass', 'SFZ', 'Brass'], ['/zynthian/zynthian-data/soundfonts/sfz/Drum Machines', 2, 'SFZ/Drum Machines', 'SFZ', 'Drum Machines'], ['/zynthian/zynthian-data/soundfonts/sfz/Drums', 3, 'SFZ/Drums', 'SFZ', 'Drums'], ['/zynthian/zynthian-data/soundfonts/sfz/Ethnic', 4, 'SFZ/Ethnic', 'SFZ', 'Ethnic'], ['/zynthian/zynthian-data/soundfonts/sfz/Guitars', 5, 'SFZ/Guitars', 'SFZ', 'Guitars'], ['/zynthian/zynthian-data/soundfonts/sfz/Organs', 6, 'SFZ/Organs', 'SFZ', 'Organs'], ['/zynthian/zynthian-data/soundfonts/sfz/Other', 7, 'SFZ/Other', 'SFZ', 'Other'], ['/zynthian/zynthian-data/soundfonts/sfz/Percussion', 8, 'SFZ/Percussion', 'SFZ', 'Percussion'], ['/zynthian/zynthian-data/soundfonts/sfz/Pianos', 9, 'SFZ/Pianos', 'SFZ', 'Pianos'], ['/zynthian/zynthian-data/soundfonts/sfz/Strings', 10, 'SFZ/Strings', 'SFZ', 'Strings'], ['/zynthian/zynthian-data/soundfonts/sfz/Synths', 11, 'SFZ/Synths', 'SFZ', 'Synths'], ['/zynthian/zynthian-data/soundfonts/sfz/Woodwinds', 12, 'SFZ/Woodwinds', 'SFZ', 'Woodwinds']]
Aug 23 21:51:45 zynthian startx[5782]: DEBUG:zynthian_gui_bank.show: BANK INDEX => 0
Aug 23 21:51:45 zynthian startx[5782]: DEBUG:zynthian_layer.load_bank_list: BANK LIST =>
Aug 23 21:51:45 zynthian startx[5782]: [['/zynthian/zynthian-data/soundfonts/sfz/Bass', 0, 'SFZ/Bass', 'SFZ', 'Bass'], ['/zynthian/zynthian-data/soundfonts/sfz/Brass', 1, 'SFZ/Brass', 'SFZ', 'Brass'], ['/zynthian/zynthian-data/soundfonts/sfz/Drum Machines', 2, 'SFZ/Drum Machines', 'SFZ', 'Drum Machines'], ['/zynthian/zynthian-data/soundfonts/sfz/Drums', 3, 'SFZ/Drums', 'SFZ', 'Drums'], ['/zynthian/zynthian-data/soundfonts/sfz/Ethnic', 4, 'SFZ/Ethnic', 'SFZ', 'Ethnic'], ['/zynthian/zynthian-data/soundfonts/sfz/Guitars', 5, 'SFZ/Guitars', 'SFZ', 'Guitars'], ['/zynthian/zynthian-data/soundfonts/sfz/Organs', 6, 'SFZ/Organs', 'SFZ', 'Organs'], ['/zynthian/zynthian-data/soundfonts/sfz/Other', 7, 'SFZ/Other', 'SFZ', 'Other'], ['/zynthian/zynthian-data/soundfonts/sfz/Percussion', 8, 'SFZ/Percussion', 'SFZ', 'Percussion'], ['/zynthian/zynthian-data/soundfonts/sfz/Pianos', 9, 'SFZ/Pianos', 'SFZ', 'Pianos'], ['/zynthian/zynthian-data/soundfonts/sfz/Strings', 10, 'SFZ/Strings', 'SFZ', 'Strings'], ['/zynthian/zynthian-data/soundfonts/sfz/Synths', 11, 'SFZ/Synths', 'SFZ', 'Synths'], ['/zynthian/zynthian-data/soundfonts/sfz/Woodwinds', 12, 'SFZ/Woodwinds', 'SFZ', 'Woodwinds']]
Aug 23 21:51:45 zynthian startx[5782]: DEBUG:zynthian_gui_controller.config: ZCTRL 'Bank': 0 (0 -> 13), None, None
Aug 23 21:51:48 zynthian startx[5782]: INFO:zynthian_gui.zynswitch_short: Short Switch 3
Aug 23 21:51:48 zynthian startx[5782]: INFO:zynthian_layer.set_bank: Bank Selected: SFZ/Woodwinds (12)
Aug 23 21:51:48 zynthian startx[5782]: DEBUG:zynthian_layer.reset_preset: PRESET RESET!
Aug 23 21:51:48 zynthian startx[5782]: INFO:zynthian_engine_sfizz._get_preset_list: Getting Preset List for SFZ/Woodwinds
Aug 23 21:51:48 zynthian startx[5782]: DEBUG:zynthian_layer.load_preset_list: PRESET LIST =>
Aug 23 21:51:48 zynthian startx[5782]: [['/zynthian/zynthian-data/soundfonts/sfz/Woodwinds/SoloBassoon/bassoon.sfz', 0, 'SoloBassoon/bassoon', 'sfz', 'SoloBassoon/bassoon.sfz'], ['/zynthian/zynthian-data/soundfonts/sfz/Woodwinds/FluteSect/flute_sect.sfz', 1, 'FluteSect/flute sect', 'sfz', 'FluteSect/flute_sect.sfz'], ['/zynthian/zynthian-data/soundfonts/sfz/Woodwinds/Recorder/recorder.sfz', 2, 'Recorder/recorder', 'sfz', 'Recorder/recorder.sfz'], ['/zynthian/zynthian-data/soundfonts/sfz/Woodwinds/BassoonSect/bassoons.sfz', 3, 'BassoonSect/bassoons', 'sfz', 'BassoonSect/bassoons.sfz'], ['/zynthian/zynthian-data/soundfonts/sfz/Woodwinds/Oboe/OboeSect/oboes_legped.sfz', 4, 'Oboe/OboeSect/oboes legped', 'sfz', 'Oboe/OboeSect/oboes_legped.sfz'], ['/zynthian/zynthian-data/soundfonts/sfz/Woodwinds/Oboe/OboeSect/oboes_legsus.sfz', 5, 'Oboe/OboeSect/oboes legsus', 'sfz', 'Oboe/OboeSect/oboes_legsus.sfz'], ['/zynthian/zynthian-data/soundfonts/sfz/Woodwinds/Oboe/OboeSect/oboes.sfz', 6, 'Oboe/OboeSect/oboes', 'sfz', 'Oboe/OboeSect/oboes.sfz'], ['/zynthian/zynthian-data/soundfonts/sfz/Woodwinds/Oboe/OboeSect/oboes_legmode.sfz', 7, 'Oboe/OboeSect/oboes legmode', 'sfz', 'Oboe/OboeSect/oboes_legmode.sfz'], ['/zynthian/zynthian-data/soundfonts/sfz/Woodwinds/Oboe/SoloOboe/oboe_legmode.sfz', 8, 'Oboe/SoloOboe/oboe legmode', 'sfz', 'Oboe/SoloOboe/oboe_legmode.sfz'], ['/zynthian/zynthian-data/soundfonts/sfz/Woodwinds/Oboe/SoloOboe/oboe_legsus.sfz', 9, 'Oboe/SoloOboe/oboe legsus', 'sfz', 'Oboe/SoloOboe/oboe_legsus.sfz'], ['/zynthian/zynthian-data/soundfonts/sfz/Woodwinds/Oboe/SoloOboe/oboe.sfz', 10, 'Oboe/SoloOboe/oboe', 'sfz', 'Oboe/SoloOboe/oboe.sfz'], ['/zynthian/zynthian-data/soundfonts/sfz/Woodwinds/Oboe/SoloOboe/oboe_legped.sfz', 11, 'Oboe/SoloOboe/oboe legped', 'sfz', 'Oboe/SoloOboe/oboe_legped.sfz'], ['/zynthian/zynthian-data/soundfonts/sfz/Woodwinds/SoloClarinet/clarinet.sfz', 12, 'SoloClarinet/clarinet', 'sfz', 'SoloClarinet/clarinet.sfz'], ['/zynthian/zynthian-data/soundfonts/sfz/Woodwinds/SoloFlute/flute_vib_legped.sfz', 13, 'SoloFlute/flute vib legped', 'sfz', 'SoloFlute/flute_vib_legped.sfz'], ['/zynthian/zynthian-data/soundfonts/sfz/Woodwinds/SoloFlute/flute_legsus.sfz', 14, 'SoloFlute/flute legsus', 'sfz', 'SoloFlute/flute_legsus.sfz'], ['/zynthian/zynthian-data/soundfonts/sfz/Woodwinds/SoloFlute/flute_full.sfz', 15, 'SoloFlute/flute full', 'sfz', 'SoloFlute/flute_full.sfz'], ['/zynthian/zynthian-data/soundfonts/sfz/Woodwinds/SoloFlute/flute.sfz', 16, 'SoloFlute/flute', 'sfz', 'SoloFlute/flute.sfz'], ['/zynthian/zynthian-data/soundfonts/sfz/Woodwinds/SoloFlute/flute_vib_legsus.sfz', 17, 'SoloFlute/flute vib legsus', 'sfz', 'SoloFlute/flute_vib_legsus.sfz'], ['/zynthian/zynthian-data/soundfonts/sfz/Woodwinds/SoloFlute/flute_vib.sfz', 18, 'SoloFlute/flute vib', 'sfz', 'SoloFlute/flute_vib.sfz'], ['/zynthian/zynthian-data/soundfonts/sfz/Woodwinds/SoloFlute/flute_legped.sfz', 19, 'SoloFlute/flute legped', 'sfz', 'SoloFlute/flute_legped.sfz'], ['/zynthian/zynthian-data/soundfonts/sfz/Woodwinds/SoloFlute/flute_legmode.sfz', 20, 'SoloFlute/flute legmode', 'sfz', 'SoloFlute/flute_legmode.sfz'], ['/zynthian/zynthian-data/soundfonts/sfz/Woodwinds/SoloFlute/flute_vib_legmode.sfz', 21, 'SoloFlute/flute vib legmode', 'sfz', 'SoloFlute/flute_vib_legmode.sfz'], ['/zynthian/zynthian-data/soundfonts/sfz/Woodwinds/ClarinetSect/clarinets.sfz', 22, 'ClarinetSect/clarinets', 'sfz', 'ClarinetSect/clarinets.sfz']]
Aug 23 21:51:48 zynthian startx[5782]: DEBUG:zynthian_gui_controller.config: ZCTRL 'Preset': 0 (0 -> 23), None, None
Aug 23 21:51:51 zynthian startx[5782]: INFO:zynthian_gui.zynswitch_short: Short Switch 3
Aug 23 21:51:51 zynthian startx[5782]: INFO:zynthian_layer.set_preset: Preset Selected: SoloFlute/flute (16)
Aug 23 21:51:51 zynthian startx[5782]: DEBUG:zynthian_gui_control.set_controller_screen: SET CONTROLLER SCREEN main
Aug 23 21:51:51 zynthian startx[5782]: DEBUG:zynthian_gui_controller.config: ZCTRL 'volume': 96 (0 -> 127), None, None
Aug 23 21:51:51 zynthian startx[5782]: DEBUG:zynthian_gui_controller.config: ZCTRL 'sostenuto': 0 (0 -> 64), ['off', 'on'], [0, 64]
Aug 23 21:51:51 zynthian startx[5782]: DEBUG:zynthian_gui_controller.config: ZCTRL 'pan': 64 (0 -> 127), None, None
Aug 23 21:51:51 zynthian startx[5782]: DEBUG:zynthian_gui_controller.config: ZCTRL 'sustain': 0 (0 -> 64), ['off', 'on'], [0, 64]

I installed the latest image from the site. The new installation did not solve the problem. :roll_eyes:

Moreover, linuxsampler now only defines a directory with gig samples. the sfz directory on the flash usb is not available.

USBDISK://soundfonts/sfz
USBDISK://soundfonts/gig
USBDISK://soundfonts/sf2

The log is pretty clear:

The command was not found or was not executable: sfizz_jack.

Probably there was some problem with update process. Try to update again, or run the sfizz install recipe from command line:

# $ZYNTHIAN_RECIPE_DIR/install_sfizz.sh

Regards,

– Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed

login: root
pass: raspberry

Curious. It seems that some of the needed packages is not installed, but the install recipe contains these lines:

apt-get -y update --allow-releaseinfo-change
apt-get -y install libxcb-util0-dev libxcb-keysyms1-dev libxcb-xkb-dev libxkbcommon-x11-dev zenity

Please, try to install the packages by hand and update again.

Regards,

1 Like

There was a missing fi on the last line of install_sfiz.sh Maybe that’s what some people are running into ? It’s ok… I know the adrenalin is probably peaking a bit because your excited about adding Sfizz. That’s cool, we all are. When I ran the install_sfizz.sh script at least that’s what I ran into. It’s installing now and I will check it out during my lunch break.

I just plugged my EWI into the Zynthian and used the SFIZZ synth with the TensorSax soundfont. It works! I don’t know if I’m imagining it but it sounds better than the LinuxSampler. Also it appears that I can hear vibrato when I’m biting the mouthpiece. I have the EWI set to pitch bend up/down when I’m biting the mouthpiece.

I’m working after lunch but later tonight I will record a short with SF2, then with SFIZZ, compare and post here.

Awesome job jofemodo!

2 Likes

Hi @jofemodo,

I tried install recipe and I found that something conected with xcb is missing.
so I used apt-get instruction from your instruction.
Next run of install recipe was sucsefful.
YES, sfizz is working!

The @Jerryn conclusion, that sfizz is more better than the LinuxSampler, is simply true. My playing on AKAI EWI USB is more dynamicaly now.

1 Like

it works! :slightly_smiling_face:

Bugs:

  1. Folders on the usb flash drive are still not visible. (USBDISK://soundfonts/sfz)

  2. The “preview mode” breaks the loading of samples in sfizz. This happens when the list of sfz instruments is open. navigate through the list, but do not make the download. Start playing and the engine will reset the download instead of loading samples. After this bug, it becomes impossible to download any other “sfz”. The complete removal of the engine and its subsequent loading helps.

My installation works but I boot from a m.2 usb 3 attached ssd. Everything works. Just update the appropriate files.

You are rIght! A “too-quick-fix” :relaxed:

A “thread concurrence” problem. It should be fixed now.
Those who have already installed sfizz, have to manually run this command after updating your zynthian:

# $ZYNTHIAN_RECIPE_DIR/install_sfizz.sh

And restart the UI or reboot.

Enjoy!

1 Like

The display Zynthian does not vision folders from the USB flash drive, but they are visible in the web configurator

1 Like

It should be fixed now. Update and test, please.

Regards,

1 Like

Just trying out sfizz… does it install with a bunch of sfz sound banks, or do they need to be added manually? I can see the sfizz engine, but don’t get any sfz banks to choose from after that.

The official zynthian image include a good amount of SFZ files that should be available from sfizz.
Could you be more explicit about your case:

  • hardware
  • software version
  • how you updated
  • etc.

thanks

I’ve been running a slimline zynthian (rpi4, 4.3" touch screen and hifiberry dac/adc) on testing branch for the last few weeks with no issues.

Updating the software from within zynthian has added sfizz, but neither sfizz nor Linux sampler see the standard library of sfz presets. I can see them in webconfig so presumably they’ve not been deleted. I add a new layer, choosing sfizz or LS as the engine but it doesn’t then move on to the next screen where you’d get to select which bank/sfz to load.