IpatchUnit_generic

IpatchUnit_generic — Generic unit types and conversions

Stability Level

Stable, unless otherwise indicated

Functions

Description

Functions

ipatch_unit_hertz_to_cents ()

double
ipatch_unit_hertz_to_cents (double hz);

Convert frequency in Hertz to relative cents.

Parameters

hz

Hertz (cycles per second) value

 

Returns

Converted value in relative cents.


ipatch_unit_cents_to_hertz ()

double
ipatch_unit_cents_to_hertz (double cents);

Convert cents to relative frequency in Hertz.

Parameters

cents

Value in cents

 

Returns

Value in relative Hertz (cycles per second)