cater for Note translations. e.g. "Ré ♯" UTF-8
This commit is contained in:
parent
8f19aed7eb
commit
78fef4a253
@ -192,7 +192,7 @@ ParameterDescriptor::update_steps()
|
|||||||
std::string
|
std::string
|
||||||
ParameterDescriptor::midi_note_name (const uint8_t b)
|
ParameterDescriptor::midi_note_name (const uint8_t b)
|
||||||
{
|
{
|
||||||
char buf[8];
|
char buf[16];
|
||||||
if (b > 127) {
|
if (b > 127) {
|
||||||
snprintf(buf, sizeof(buf), "%d", b);
|
snprintf(buf, sizeof(buf), "%d", b);
|
||||||
return buf;
|
return buf;
|
||||||
|
Loading…
Reference in New Issue
Block a user