velocityCurve

A MIDI processor for Jack. It alters the velocity of note messages according to a given curve function.

Members

Functions

curve
double curve(double x)

the curve function [0,1]->[0,1] is defined as 1-((exp(s*(1-x))-1)/(exp(s)-1)) with the constant slope factor s=4

fastexp
double fastexp(double x)

fast approximate exp function

main
void main()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta