Skip to content

Fix equalizer presets output in JSON, YAML, and ENV formats#468

Merged
Sapd merged 2 commits intomasterfrom
fix-equalizer-presets-output
Jan 22, 2026
Merged

Fix equalizer presets output in JSON, YAML, and ENV formats#468
Sapd merged 2 commits intomasterfrom
fix-equalizer-presets-output

Conversation

@Sapd
Copy link
Owner

@Sapd Sapd commented Jan 22, 2026

Fixes #458 - SteelSeries Arctis 7+ and other devices now properly output equalizer preset names and values in all output formats.

Changes:

  • Add EqualizerPresetData struct and equalizer_presets field to output
  • Implement getEqualizerPresets() for SteelSeries devices:
    • Arctis 7+
    • Arctis Nova 3
    • Arctis Nova 3P Wireless
    • Arctis Nova 5
    • Arctis Nova 7
  • Fix YAML output to include equalizer, equalizer_presets_count, equalizer_presets, and parametric_eq fields (were missing entirely)
  • Fix ENV output to include equalizer info and presets
  • Add getEqualizerPresets() to test device for testing

The equalizer_presets array now shows preset names and band values in all output formats (JSON, YAML, ENV).

Fixes #458 - SteelSeries Arctis 7+ and other devices now properly
output equalizer preset names and values in all output formats.

Changes:
- Add EqualizerPresetData struct and equalizer_presets field to output
- Implement getEqualizerPresets() for SteelSeries devices:
  - Arctis 7+
  - Arctis Nova 3
  - Arctis Nova 3P Wireless
  - Arctis Nova 5
  - Arctis Nova 7
- Fix YAML output to include equalizer, equalizer_presets_count,
  equalizer_presets, and parametric_eq fields (were missing entirely)
- Fix ENV output to include equalizer info and presets
- Add getEqualizerPresets() to test device for testing

The equalizer_presets array now shows preset names and band values
in all output formats (JSON, YAML, ENV).
Changes format from:
  "equalizer_presets": [{"name": "Flat", "values": [...]}]
to:
  "equalizer_presets": {"flat": [...], "bass": [...]}

This maintains backward compatibility with the existing API.
Preset names are lowercased for consistency.
@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
20.8% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

@Sapd Sapd merged commit 25a769b into master Jan 22, 2026
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SteelSeries Arctis 7+ equalizer_presets_count is there (4) but no equalizer presets are reported

1 participant