uMIDI
The swiss army knife for quick and easy developement of MIDI applications.
Data Fields
linear_range Struct Reference

Configuration for a linear scaling function. More...

#include <math.h>

Collaboration diagram for linear_range:
Collaboration graph

Data Fields

uint16_t from
 The lowest input (linear_to_midi) / output (linear_from_midi) value. More...
 
uint16_t to
 The highest input (linear_to_midi) / output (linear_from_midi) value. More...
 
fixed_t slope
 The slope of the linear function (computed in init_linear_...()) More...
 

Detailed Description

Configuration for a linear scaling function.

Field Documentation

◆ from

uint16_t linear_range::from

The lowest input (linear_to_midi) / output (linear_from_midi) value.

◆ slope

fixed_t linear_range::slope

The slope of the linear function (computed in init_linear_...())

◆ to

uint16_t linear_range::to

The highest input (linear_to_midi) / output (linear_from_midi) value.


The documentation for this struct was generated from the following file: