Deluge Firmware
1.3.0
Build date: 2026.08.29
Toggle main menu visibility
Loading...
Searching...
No Matches
value_scaling.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <cstdint>
4
73
76
int32_t computeCurrentValueForStandardMenuItem(int32_t value);
77
80
int32_t computeFinalValueForStandardMenuItem(int32_t value);
81
84
int32_t computeCurrentValueForHalfPrecisionMenuItem(int32_t value);
85
88
int32_t computeFinalValueForHalfPrecisionMenuItem(int32_t value);
89
92
int32_t computeCurrentValueForPan(int32_t value);
93
96
int32_t computeFinalValueForPan(int32_t value);
97
111
int32_t computeCurrentValueForUnsignedMenuItem(uint32_t value);
112
119
uint32_t computeFinalValueForUnsignedMenuItem(int32_t value);
120
121
int32_t computeCurrentValueForTranspose(int32_t transpose, int32_t cents);
122
void
computeFinalValuesForTranspose(int32_t current, int32_t* transpose, int32_t* cents);