audio/curve.h file

Contents

Curves.

Classes

struct CurveOptions
Curve options.

Enums

enum CurveAlgorithm { CURVE_ALGORITHM_EXPONENT, CURVE_ALGORITHM_SUPERELLIPSE, CURVE_ALGORITHM_VITAL, CURVE_ALGORITHM_PULSE, NUM_CURVE_ALGORITHMS }
The algorithm to use for curves.

Typedefs

using CurveAlgorithm = enum CurveAlgorithm
The algorithm to use for curves.
using CurveOptions = struct CurveOptions
Curve options.

Functions

void curve_algorithm_get_localized_name(CurveAlgorithm algo, char* buf)
Stores the localized name of the algorithm in buf.
auto curve_get_normalized_y(double x, CurveOptions* opts, int start_higher) -> double
Returns the Y value on a curve spcified by algo.

Defines

#define CURVE_SUPERELLIPSE_CURVINESS_BOUND
Bounds for each algorithm.