Pianoteq does not work after update

Hi,
I update my zynthian, after that pianoteq is not running.
I forward the pianoteq ui on my desktop, if I press on the UI keyboard, the sound works correctly.
On my piano, nothing.
I try to run zynthian in console to see if there is debug message, but nothing.
Other engine works ok (not test all, aeolus, linuxsampler, helm works)

I burn image from june 26/06 and update to see, same problem.
Edit: when I press midi keyboard, I have the midi icon on zynthian screen working, same in the midi log, all works except pianoteq does not receive midi signal

I try to run qjackctl, but the software does not show
Anyone have the same problem?

Have you changed the Raspi-Hardware (e.g. upgrade from Raspi-2->Raspi-3)?

No, I have raspberry 3b+, in an official zynthian box.

Since I don’t arrive to open qjackctl, I don’t know if my keyboard is connected to pianoteq

Ok. I had a problem when putting the SD card with licensed version of PT into another Raspi. I tried to add my license but nothing happend because no free license was left…

Regards, Holger

Like I say, when I forward with ssh, if I press the virtual keyboard on the pianoteq guy, sound works.
Seems to me a midi connection problem.
I will burn again, try pianoteq and see if it’s work before update

Mmmh some progress:
I put pianoteq on channel 1 -> no sound
I clone the channel to channel 2 -> no sound
I add a working engine on channel 2 -> pianoteq make sound.
I can erase the cloning, pianoteq works

Are you using the Pianoteq demo or you have a license?
When you burn a fresh RC-3 (the image from 2019-06-26), does it work before updating?

Thanks!

I have a stage license.
With only update of pianoteq 6.5.3, pianoteq works correctly.

I make an update, reboot, update again and reboot.
Pianoteq does not make sound, but midi icone blink when I press my midi keyboard.
I try to disable, re-enable audio routing, same problem.

I add an audio effect (mverb) audio works, I can remove the effect, audio continu to works.

Best regards

1 Like

Did you install your license before updating your Zynthian?

Yes, I install the license before the update.
When pianoteq not working, I open an ssh -X to see the UI, moving pianoteq volume does not affect zynthian UI, same if I turn encoder.

When working (after add an audio effect), turning encoder move the volume slider on the pianoteq UI

Could you try to install the license after updating?

Thanks!

Same problem.
I try to check connection with qjackctl, but after install it, never shown the UI like before.

It is possible to check the connection like qjackctl?

Thanks

Use this command:

$ jack_lsp -c

Ok, I use the command.
When not working:

root@zynthian:~# jack_lsp -c
system:playback_1
   Pianoteq:out_1
system:playback_2
   Pianoteq:out_2
system:midi_capture_1
   ZynMidiRouter:main_in
system:midi_capture_2
   ZynMidiRouter:main_in
system:midi_playback_1
ttymidi:MIDI_in
   ZynMidiRouter:main_in
ttymidi:MIDI_out
   ZynMidiRouter:midi_out
a2j:Midi Through [14] (capture): Midi Through Port-0
   ZynMidiRouter:main_in
a2j:Midi Through [14] (playback): Midi Through Port-0
jackpeak:input_a
jackpeak:input_b
ZynMidiRouter:main_out
ZynMidiRouter:midi_out
   ttymidi:MIDI_out
ZynMidiRouter:net_out
ZynMidiRouter:ctrl_out
ZynMidiRouter:ch0_out
ZynMidiRouter:ch1_out
ZynMidiRouter:ch2_out
ZynMidiRouter:ch3_out
ZynMidiRouter:ch4_out
ZynMidiRouter:ch5_out
ZynMidiRouter:ch6_out
ZynMidiRouter:ch7_out
ZynMidiRouter:ch8_out
ZynMidiRouter:ch9_out
ZynMidiRouter:ch10_out
ZynMidiRouter:ch11_out
ZynMidiRouter:ch12_out
ZynMidiRouter:ch13_out
ZynMidiRouter:ch14_out
ZynMidiRouter:ch15_out
ZynMidiRouter:main_in
   system:midi_capture_1
   system:midi_capture_2
   ttymidi:MIDI_in
   a2j:Midi Through [14] (capture): Midi Through Port-0
ZynMidiRouter:net_in
ZynMidiRouter:seq_in
ZynMidiRouter:ctrl_in
Pianoteq:out_1
   system:playback_1
Pianoteq:out_2
   system:playback_2
Pianoteq:out_3
Pianoteq:out_4
Pianoteq:out_5
Pianoteq:midi_in

And when working (after add/remove audio effect):
root@zynthian:~# jack_lsp -c
system:playback_1
Pianoteq:out_1
system:playback_2
Pianoteq:out_2
system:midi_capture_1
ZynMidiRouter:main_in
system:midi_capture_2
ZynMidiRouter:main_in
system:midi_playback_1
ttymidi:MIDI_in
ZynMidiRouter:main_in
ttymidi:MIDI_out
ZynMidiRouter:midi_out
a2j:Midi Through [14] (capture): Midi Through Port-0
ZynMidiRouter:main_in
a2j:Midi Through [14] (playback): Midi Through Port-0
jackpeak:input_a
Pianoteq:out_1
jackpeak:input_b
Pianoteq:out_2
ZynMidiRouter:main_out
ZynMidiRouter:midi_out
ttymidi:MIDI_out
ZynMidiRouter:net_out
ZynMidiRouter:ctrl_out
ZynMidiRouter:ch0_out
Pianoteq:midi_in
ZynMidiRouter:ch1_out
ZynMidiRouter:ch2_out
ZynMidiRouter:ch3_out
ZynMidiRouter:ch4_out
ZynMidiRouter:ch5_out
ZynMidiRouter:ch6_out
ZynMidiRouter:ch7_out
ZynMidiRouter:ch8_out
ZynMidiRouter:ch9_out
ZynMidiRouter:ch10_out
ZynMidiRouter:ch11_out
ZynMidiRouter:ch12_out
ZynMidiRouter:ch13_out
ZynMidiRouter:ch14_out
ZynMidiRouter:ch15_out
ZynMidiRouter:main_in
system:midi_capture_1
system:midi_capture_2
ttymidi:MIDI_in
a2j:Midi Through [14] (capture): Midi Through Port-0
ZynMidiRouter:net_in
ZynMidiRouter:seq_in
ZynMidiRouter:ctrl_in
Pianoteq:out_1
system:playback_1
jackpeak:input_a
Pianoteq:out_2
system:playback_2
jackpeak:input_b
Pianoteq:out_3
Pianoteq:out_4
Pianoteq:out_5
Pianoteq:midi_in
ZynMidiRouter:ch0_out

The connection added when working:

  • jackpeak: input_a and input_b connected with Pianoteq:out_1 and out_2
  • ZynMidiRouter:ch0_out connected with PIanoteq:midi_in
  • PIanoteq:out_1 and out_2 connected with jack_peak:input_a and input_b
  • Pianoteq:midi_n connected to ZynMidiRouter:ch0_out

I’m having exactly the same problem. Pianoteq 6.5.3 installed and working, updated Zynthian, now no sound.

I’m restoring my SD card to an earlier backup when it still worked. Is there a way to see the Zynthian software versions so that we can work out what change affected Pianoteq?

For the moment, there is the workaround to add an effect to pianoteq and after remove the effect.

Maybe the problem come with this change https://github.com/zynthian/zynthian-ui/commit/c95d2ebc11f5af1c6fc5ab34bcd53363e8704074 but I don’t have enough knowledge to do anything

Edit:
I make a modification to have pianoteq work all the time, but don’t know if it’s a correct modification, I send to Jofemodo.
You need to edit the file /zynthian/zynthian-ui/zyngine/zynthian_engine_pianoteq.py like this:

diff --git a/zyngine/zynthian_engine_pianoteq.py b/zyngine/zynthian_engine_pianoteq.py
index eb79c80..e64d50e 100644
--- a/zyngine/zynthian_engine_pianoteq.py
+++ b/zyngine/zynthian_engine_pianoteq.py
@@ -555,7 +555,7 @@ class zynthian_engine_pianoteq(zynthian_engine):
                        self.command += " --preset \"{}\"".format(preset[0])
                        self.stop()
                        self.start()
-
+                       self.zyngui.zynautoconnect(True)
                layer.send_ctrl_midi_cc()
                return True

This working for me, not sure if the modification is enough or correct

Best regards

2 Likes

Seems that you find a bug related with the recent optimization on zynconnect code. Let me test a little bit and i will commit the change.

If you want to get the “merit”, please, send a pull request to the zynthian-ui repository :wink:

Thanks a lot!

1 Like

OK! I commited the change ASAP:

Thanks a lot, @lguyome45!!

1 Like

Great, fiest bug found and corrected :slight_smile:

3 Likes