Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Audio Levels does not support arrays of controls #1259

Open
riban-bw opened this issue Oct 29, 2024 · 1 comment
Open

Audio Levels does not support arrays of controls #1259

riban-bw opened this issue Oct 29, 2024 · 1 comment
Assignees
Labels
Bug Something isn't working
Milestone

Comments

@riban-bw
Copy link

Describe the issue

Zynthian ignores amixer controls in an array. I strips off the array info and treats all controls in that array as the same control. This results in many controls being hidden and the audio levels view with controllers that adjust the wrong controls.

To Reproduce

Steps to reproduce the behavior:

  1. Add a soundcard with arrays of audio controls.
  2. Show "Mixer Controls" in webconf.

Expected behaviour

All controls are shown.

Actual behaviour

Only one of each element of an array of controls is shown.

Screenshots

image

Additional context

An example soundcard is the Tascam US-16x08 which has 16 channels inputs and 8 outputs. All the individual controls for each input and output is part of an array, e.g. has a name like, 'Line Out',0. The index of the parameter within the array is the integer after the comma, in this case, '0'.

The array index is ignored by zynthian_engine_alsa_mixer::get_mixer_zctrls but it should be monitored and if an array exists, the symbol and name should be created for each element.

This attached file is the output from amixer for the Tascam US-16x08.
us16x08.txt

Configuration

Hardware

Raspberry Pi 5 Model B Rev 1.0
Audio: Tascam US-16x08
Display: MIPI DSI 800x480
Wiring: DUMMIES
I2C: Not detected
Profile: 

System

Debian GNU/Linux 12 (bookworm)
Build Date: 2024-10-02
Memory: 19% (1574M/8052M)
SD Card: 51% (14G/29G)
Temperature: 47.7ºC
Overclock: Maximum

MIDI & UI

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

Software

zyncoder: vangelis (c1b7cb1) 
zynthian-ui: vangelis (1758f77)
zynthian-sys: vangelis (91bc67e)
zynthian-data: vangelis (305b301)
zynthian-webconf: vangelis (7923636)
@riban-bw riban-bw self-assigned this Oct 29, 2024
@riban-bw riban-bw added the Bug Something isn't working label Oct 29, 2024
@riban-bw riban-bw added this to the Vangelis milestone Oct 29, 2024
@riban-bw
Copy link
Author

riban-bw commented Nov 7, 2024

This is resolved in branch 1259_us16x08.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant