logue-sdk icon indicating copy to clipboard operation
logue-sdk copied to clipboard

Customize display of parameter values

Open ptarabbia opened this issue 5 years ago • 2 comments

Is your feature request related to a problem? Please describe. The manifest.json file is used to specify ranges for the parameters, but there is no way to customize how these display on the OLED. For example a parameter with 3 values for setting a LFO shape to Sine, Square and Triangle, will display as "1", "2", "3".

Describe the solution you'd like Add a new hook method: void _hook_display(uint16_t index, uint16_t value, char* display); The custom osc/fx would write in the provided "display" buffer string, which text to show when parameter 'index' has value 'value'.

ptarabbia avatar Dec 29 '19 17:12 ptarabbia

by the way, the current display of parameters is off by one. If you have a parameter entry such as: ["PlayMode", 1, 4, ""] it will display as 2..5 in the OLED.

ptarabbia avatar Dec 29 '19 18:12 ptarabbia

by the way, the current display of parameters is off by one. This is an expected behaviour: https://github.com/korginc/logue-sdk/blame/master/platform/prologue/README.md#L129

dukesrg avatar Dec 29 '19 20:12 dukesrg