zynthian / zynthian-issue-tracking

Centralized Issue Tracking for Zynthian Project
https://github.com/orgs/zynthian/projects/1
11 stars 3 forks source link

Bug: Sequencer trigger device not saved/loaded correctly #1250

Open pianissimo-dev opened 1 month ago

pianissimo-dev commented 1 month ago

Describe the bug It seems that the trigger device is not (reliably) saved or restored in the sequencer. I have now saved 3 snapshots and set up one of my MIDI devices (Products - Hotone Audio 1) as a trigger to start a Zynpad. After restarting Zynthian and loading the snapshot, it seems as if a device is randomly entered as a trigger. There exists 3 midi devices in my setup, all connected via USB. After I manually correct the device, everything works as expected. Can anyone confirm this? The background is that I can start/stop the sequencer with my foot while I play the piano. I am using Zynthian V5.1 with Pi5 8GB and the latest ORAM stable release.

To Reproduce

When I reload these kind of snapshots I have to adjust the trigger device manually after loading the snapshot. After adjusting the trigger device manually, everything is working fine as expected.

Expected behavior I don't know if the existance of connected USB midi devices during start of Zynthian is important. When I turn on my devices, I first start Zynthian, Ampero Control starts together with Zynthian and the other midi devices, I turn them on when Zynthian finished starting. In the latest when I load a saved Snapshot, the midi devices should be linked as expected in the snapshot.

Screenshots The following screenshot shows the correct trigger device, that I would like to have restored when loading the snapshot. The screenshot was done with Korg SV1 and Circuit Tracks turned off, only Ampero Control was turned on. grafik

Setup: grafik

Additional context In the forum, see also https://discourse.zynthian.org/t/sequencer-trigger-device-not-saved/10345

One of my snapshots which makes use of Zynpad trigger device 001-San Jacinto.zip The Zynpad is empty, not playing any note because I use the Zynpad to start midi transportation for my external midi sequencer Circuit Tracks. Ampero Control has buttons that are configured to play a note. So I can start the external sequencer with my foot.