zynthian / zynthian-issue-tracking

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

Can't stop Test MIDI #1170

Closed riban-bw closed 2 months ago

riban-bw commented 2 months ago

Describe the issue

After starting the Test MIDI function in admin menu, there seems no way to stop it.

To Reproduce

Steps to reproduce the behavior:

  1. Go to admin menu.
  2. Select "Test MIDI" to start playback.
  3. Select "Test MIDI" again to stop playback.

    Expected behaviour

    MIDI playback stops.

    Actual behaviour

    MIDI playback continues.

    Additional context

    Similar workflow for "Test Audio" works so expect same behavior for "Test MIDI".

Configuration

Hardware

Raspberry Pi 4 Model B Rev 1.4
Audio: ZynADAC
Display: ZynScreen 3.5 (v1)
Wiring: MCP23017_ZynScreen
I2C: MCP23017@0x20, MCP23017@0x21, ADS1115@0x48

System

Debian GNU/Linux 12 (bookworm)
Build Date: 2024-03-01
Memory: 35% (649M/1846M)
SD Card: 26% (14G/57G)
Temperature: 52.1ºC
Overclock: Medium

MIDI & UI

Tuning: 440 Hz
Master Channel: Off
Preload Presets: On
ZS3 (SubSnapShots): On
Power Save: 60 minutes
Audio Levels on Snapshots: On

Software

zyncoder: oram (62626a8) 
zynthian-ui: oram (1a86c76)
zynthian-sys: oram (5affa51)
zynthian-data: oram (e222e11)
zynthian-webconf: oram (0327ac4)
riban-bw commented 2 months ago

@jofemodo the function to play MIDI test file sets zyngui.alt_mode but I don't think this performs a useful function.

jofemodo commented 2 months ago

Yes, it allows to simply push STOP to stop MIDI demo

riban-bw commented 2 months ago

Yes - but it doesn't work! Setting ALT does not seem to actually enable alt mode.