Skip to content

[Proposal]: CC definitions for value and range mappings #49

Description

@yuhrao

Many devices has specific falue mappings for configuration.
Let's take Strymon BigSky as example:

CC 33 (Chorale - Vowel) has this value mapping:

value description
0 "AAHHOO"
1 "AAHH"
2 "AAHHOH"
3 "OH"
4 "OOOHOH"
5 "OOOO"
6 Random

At same time we also have some devices that work with ranges, like HX Stopm:

CC 61 (1 Switch Looper Play/Stop):

range description
0-63 Stop
64-127 Play

My proposal is to extend the CC schema to be able to represent those values in a more plesant way for the end user and also priovide a better experience for those who consume it via code.

cc:
  - name: 'Chorale - Vowel'
    value: 33
    min: 0
    max: 6
    description: 'some description'
    type: Parameter
    value_mapping:
      0: AAHHOO
      1: AAHH
      2: AAHHOH
      3: OH
      4: OOOHOH
      5: OOOO
      6: Random
  - name: 'Switch Looper Play/Stop'
    value: 61
    min: 0
    max: 6
    description: 'some description'
    type: Parameter
    range_mapping:
      - min: 0
        max: 63
        description: Stop
      - min: 64
        max: 127
        description: Play

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions