Pan flute (and only this) sfz patch causing massive xruns

Yesterday on reheasal I tried some instruments here and there to the delight of my band members. Must have been delightful, because someone eventually said: “So whats next? A pan flute?” Well.

I opened the patch in zynthian-data/soundfonts/ethnic, played 3 notes and: xruns and zynthian health indicator getting increasingly red-ish. I mean, this is a sfz patch containing 8 samples. Reproced that today in the morning:

Feb 28 09:14:42 zynthian startx[3971]: INFO:zynthian_processor.set_preset: Preset selected: Pan Flute (17)
Feb 28 09:14:42 zynthian startx[3971]: DEBUG:zynthian_engine_sfizz.set_preset: load_instrument "/zynthian/zynthian-data/soundfonts/sfz/Ethnic/Pan Flute.sfz"
Feb 28 09:14:42 zynthian startx[3971]: Instrument loaded: /zynthian/zynthian-data/soundfonts/sfz/Ethnic/Pan Flute.sfz
Feb 28 09:14:42 zynthian startx[3971]: ===========================
Feb 28 09:14:42 zynthian startx[3971]: Total:
Feb 28 09:14:42 zynthian startx[3971]: Masters: 0
Feb 28 09:14:42 zynthian startx[3971]: Groups: 2
Feb 28 09:14:42 zynthian startx[3971]: Regions: 11
Feb 28 09:14:42 zynthian startx[3971]: Curves: 7
Feb 28 09:14:42 zynthian startx[3971]: PreloadedSamples: 8
Feb 28 09:14:42 zynthian startx[3971]: ===========================
Feb 28 09:14:42 zynthian startx[3971]: Unknown opcodes:
Feb 28 09:14:42 zynthian startx[3971]:
Feb 28 09:14:42 zynthian startx[3971]: DEBUG:zynthian_engine_sfz.load_yaml_config: Yaml config file '/zynthian/zynthian-data/soundfonts/sfz/Ethnic/Pan Flute.yml' not found
Feb 28 09:14:42 zynthian startx[3971]: DEBUG:zynthian_engine_sfz.load_yaml_config: Yaml config file '/zynthian/zynthian-data/soundfonts/sfz/Ethnic/common.yml' not found
Feb 28 09:14:42 zynthian startx[3971]: DEBUG:zynthian_engine_sfz.get_controllers_dict: Custom Controllers =>
Feb 28 09:14:42 zynthian startx[3971]: []
Feb 28 09:14:42 zynthian startx[3971]: DEBUG:zynthian_engine_sfz.get_controllers_dict: Custom Controller Screens =>
Feb 28 09:14:42 zynthian startx[3971]: []
Feb 28 09:14:42 zynthian startx[3971]: DEBUG:zynthian_gui_control.set_controller_screen: SET CONTROLLER SCREEN main
Feb 28 09:14:42 zynthian startx[3971]: DEBUG:zynthian_gui.prune_screen_history: SCREEN HISTORY => ['control']
Feb 28 09:14:42 zynthian startx[3971]: DEBUG:zynthian_gui.prune_screen_history: PRUNE 'control' FROM SCREEN HISTORY => ['control']
Feb 28 09:14:45 zynthian startx[3971]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN! =>count: 328, delay: 3166.0us
Feb 28 09:14:45 zynthian startx[3971]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN! =>count: 329, delay: 3166.0us
Feb 28 09:14:45 zynthian startx[3971]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN! =>count: 330, delay: 206126.0us
Feb 28 09:14:45 zynthian startx[3971]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN! =>count: 331, delay: 206150.0us
Feb 28 09:14:45 zynthian startx[3971]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN! =>count: 332, delay: 206173.0us
Feb 28 09:14:46 zynthian startx[3971]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN! =>count: 333, delay: 206144.0us
Feb 28 09:14:46 zynthian startx[3971]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN! =>count: 334, delay: 206147.0us
Feb 28 09:14:46 zynthian startx[3971]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN! =>count: 335, delay: 206151.0us
Feb 28 09:14:46 zynthian startx[3971]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN! =>count: 336, delay: 206137.0us
Feb 28 09:14:47 zynthian startx[3971]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN! =>count: 337, delay: 206146.0us
Feb 28 09:14:47 zynthian startx[3971]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN! =>count: 338, delay: 206154.0us
Feb 28 09:14:47 zynthian startx[3971]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN! =>count: 339, delay: 206159.0us
Feb 28 09:14:47 zynthian startx[3971]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN! =>count: 340, delay: 206158.0us
Feb 28 09:14:47 zynthian startx[3971]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN! =>count: 341, delay: 206144.0us
Feb 28 09:14:47 zynthian startx[3971]: DEBUG:zynthian_gui.zynswitch_short: Short Switch 6
Feb 28 09:14:47 zynthian startx[3971]: DEBUG:zynthian_gui.callable_ui_action: CUIA 'BANK_PRESET' => None
Feb 28 09:14:47 zynthian startx[3971]: DEBUG:zynthian_gui_control.set_controller_screen: SET CONTROLLER SCREEN main
Feb 28 09:14:48 zynthian startx[3971]: INFO:zynthian_processor.get_bank_list: Loaded 30 banks
Feb 28 09:14:48 zynthian startx[3971]: INFO:zynthian_engine_sfizz._get_preset_list: Getting Preset List for Ethnic
Feb 28 09:14:48 zynthian startx[3971]: INFO:zynthian_processor.load_preset_list: Loaded 36 presets
Feb 28 09:14:48 zynthian startx[3971]: DEBUG:zynthian_gui.prune_screen_history: SCREEN HISTORY => ['control', 'control']
Feb 28 09:14:48 zynthian startx[3971]: DEBUG:zynthian_gui.prune_screen_history: PRUNE 'preset' FROM SCREEN HISTORY => ['control', 'control']
Feb 28 09:14:48 zynthian startx[3971]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN! =>count: 342, delay: 206183.0us
Feb 28 09:14:48 zynthian startx[3971]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN! =>count: 343, delay: 206154.0us
Feb 28 09:14:48 zynthian startx[3971]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN! =>count: 344, delay: 206139.0us
Feb 28 09:14:48 zynthian startx[3971]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN! =>count: 345, delay: 206157.0us
Feb 28 09:14:48 zynthian startx[3971]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN! =>count: 346, delay: 206158.0us
Feb 28 09:14:49 zynthian startx[3971]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN! =>count: 347, delay: 206167.0us
Feb 28 09:14:49 zynthian startx[3971]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN! =>count: 348, delay: 206163.0us
Feb 28 09:14:49 zynthian startx[3971]: WARNING:zynthian_autoconnect.cb_jack_xrun: Jack Audio XRUN! =>count: 349, delay: 206142.0us
Feb 28 09:14:49 zynthian startx[3971]: DEBUG:zynthian_gui.zynswitch_short: Short Switch 27
Feb 28 09:14:49 zynthian startx[3971]: DEBUG:zynthian_gui.callable_ui_action: CUIA 'V5_ZYNPOT_SWITCH' => [3, 'S']
Feb 28 09:14:49 zynthian startx[3971]: DEBUG:zynthian_gui.zynswitch_short: Short Switch 3
Feb 28 09:14:49 zynthian startx[3971]: INFO:zynthian_processor.set_preset: Preset selected: Ney Flute (16)
Feb 28 09:14:49 zynthian startx[3971]: DEBUG:zynthian_engine_sfizz.set_preset: [Voice] Empty source in promise
Feb 28 09:14:49 zynthian startx[3971]: [Voice] Empty source in promise
Feb 28 09:14:49 zynthian startx[3971]: [Voice] Empty source in promise
Feb 28 09:14:49 zynthian startx[3971]: [Voice] Empty source in promise
Feb 28 09:14:49 zynthian startx[3971]: [Voice] Empty source in promise
Feb 28 09:14:49 zynthian startx[3971]: [Voice] Empty source in promise
Feb 28 09:14:49 zynthian startx[3971]: [Voice] Empty source in promise
Feb 28 09:14:49 zynthian startx[3971]: [Voice] Empty source in promise
Feb 28 09:14:49 zynthian startx[3971]: [Voice] Empty source in promise
Feb 28 09:14:49 zynthian startx[3971]: [Voice] Empty source in promise
Feb 28 09:14:49 zynthian startx[3971]: [Voice] Empty source in promise
Feb 28 09:14:49 zynthian startx[3971]: [Voice] Empty source in promise
Feb 28 09:14:49 zynthian startx[3971]: [Voice] Empty source in promise
Feb 28 09:14:49 zynthian startx[3971]: [Voice] Empty source in promise
Feb 28 09:14:49 zynthian startx[3971]: [Voice] Empty source in promise
Feb 28 09:14:49 zynthian startx[3971]: [Voice] Empty source in promise
[...HUNDREDS OF IDENTICAL LINES I HAD TO CUT BECAUSE EXCEEDING MAXUMUM CHARS...]
Feb 28 09:14:49 zynthian startx[3971]: load_instrument "/zynthian/zynthian-data/soundfonts/sfz/Ethnic/Ney Flute.sfz"
Feb 28 09:14:49 zynthian startx[3971]: [Voice] Empty source in promise
Feb 28 09:14:49 zynthian startx[3971]: [Voice] Empty source in promise
Feb 28 09:14:49 zynthian startx[3971]: [Voice] Empty source in promise
Feb 28 09:14:49 zynthian startx[3971]: [Voice] Empty source in promise
Feb 28 09:14:49 zynthian startx[3971]: [Voice] Empty source in promise
Feb 28 09:14:49 zynthian startx[3971]: Instrument loaded: /zynthian/zynthian-data/soundfonts/sfz/Ethnic/Ney Flute.sfz

What I also checked:

  • Edited the sfz, removed every opcode other than sample key assigment
  • Tried every other soundfont in that folder, they work
  • Thought, it could be a corrupted sd card area (?), moved that file around. (well, second thought, I reuploaded the sfz, not the samples… :unamused:)
  • Checked cpu, ram usage and temperature. No rise in any value.
  • Sfz with 2000 samples, 5 GB size and multiple mic positions work flawlessly.
  • For context, if it matters: I installed the nosfz image last time, then I missed my ethnic flutes and just copied the system soundfonts over to zynthian-data/soundfonts/sfz from the image

I mean, we are talking about this (after streamlining):

<global>
effect1=7
pitcheg_release=0.538
fileg_release=0.538
pitchlfo_freq=4.252
fillfo_freq=5.999
amplfo_freq=5.999
<group> volume=-6.16 ampeg_release=0.828 pitcheg_decay=0.966 pitcheg_sustain=0 fileg_decay=0.966 fileg_sustain=0
<region> sample=Samples\Pan Flute\NyeFlute B2.wav lokey=21 hikey=73 pitch_keycenter=71
<region> sample=Samples\Pan Flute\NyeFlute F3.wav lokey=74 hikey=81 pitch_keycenter=77
<region> sample=Samples\Pan Flute\NyeFlute B3.wav lokey=82 hikey=88 pitch_keycenter=83
<region> sample=Samples\Pan Flute\NyeFlute A4.wav lokey=89 hikey=108 pitch_keycenter=93
<group> volume=-5.005 ampeg_release=0.931
<region> sample=Samples\Pan Flute\Siku E2.wav lokey=21 hikey=56 pitch_keycenter=52
<region> sample=Samples\Pan Flute\Siku B2.wav lokey=57 hikey=63 pitch_keycenter=59
<region> sample=Samples\Pan Flute\Siku F#3.wav lokey=64 hikey=88 pitch_keycenter=66
<region> sample=Samples\Pan Flute\Siku F#5.wav lokey=89 hikey=108 pitch_keycenter=90

Not that I am concerned about the missing pan flute, I am more interested in why my machine does this. Any idea? (If it helps: the band members troubleshooting concluded in assumung, my Zynthian just had good taste)

So do you think the sample data might be corrupted? I mean, I had some problems in the past with that sd card. May it be a good idea to chkdsk or testdisk the sd card, and if so, is repairing an sd card that way permanent?

I just tested the pan flute from ethnic bank and i can’t reproduce your issue. It works flawlessly for me:

Regards,

1 Like

So no general corruption of the patch.

Any idea from anyone what error could cause that behaviour? I can exclude:

  • corruption of the sfz file itself
  • perfomance issues of the patch
  • corruption of the original patch from the sd image

I can’t see anything suspicious from the debug log above. Any other idea of having another log? It does play the notes two or three times, increasingly running into massive xruns without any other input.

mine is also ok