zynthian / zynthian-issue-tracking

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

When loading snapshots, webconf's MIDI options doesn't reflect UI state #809

Open riban-bw opened 2 years ago

riban-bw commented 2 years ago

Describe the bug Loading snapshot "FluidR3 GM" adds 15 chains of Fluidsynth. Attempts to add a 16th chain fail.

To Reproduce Steps to reproduce the behaviour:

  1. Load snapshot "FluidR3 GM"
  2. Add another chain

Expected behaviour Can add another chain.

Actual behaviour No MIDI channels available to add chain.

Setup:

Additional context Is this related to master channel? Master channel is shown as disabled in webconf.

riban-bw commented 2 years ago

It looks like master channel is configured within the snapshot but is not updating webconf.

jofemodo commented 2 years ago

Your are right. This is an old issue and it should be solved ASAP. When loading a snapshot, included MIDI options are not reflected in webconf, that shows the selected MIDI profile (on disk!) instead of showing the "currently-loaded MIDI options". Currently we don't have a mechanism for getting the "currently loaded MIDI options" and it should be implemented.