Skip to content

Add custom EQ preset names via plugin API #152

@Kyrunner

Description

@Kyrunner

Description

cliamp.player.set_eq_preset() only accepts built-in preset names (Flat, Rock, Pop, Jazz, Classical, Bass Boost, Treble Boost, Vocal, Electronic, Acoustic). It would be great to support custom preset names so plugins can register and display their own presets.

Use case

An auto-eq plugin that switches EQ based on track genre. Genres like Metal, Country, Punk, Reggae, Disco, and Funk don't have matching built-in presets. The plugin can set individual bands via set_eq_band() with custom curves, but the UI label stays on "Custom" instead of showing the genre-specific name.

Suggestion

Allow set_eq_preset() to accept any string. If it matches a built-in preset, apply those bands. If not, set the UI label to the given name and either:

  • Keep the current band values (set separately via set_eq_band()), or
  • Accept a second argument with band values: set_eq_preset("Metal", {6, 4, 1, -1, -2, 2, 4, 6, 6, 5})

This would let plugins define genre-specific EQ profiles with proper UI labels.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions