hz2mel, mel2hz
From STX Wiki
< Programmer Guide | Command Reference | EVAL
Jump to navigationJump to search
Convert all elements of x from Hertz to Mel and vice versa.
- Usage
hz2mel(x)
mel2hz(x)
- x
- a scalar, vector or matrix
- Result
- The result r has the same type as x and contains the converted elements of x.
- hz2mel
- ri,j = 2595. * log10(1. + xi,j / 700.) : 0.
- bark2hz
- Because the above formula is not directly invertable, an iteration algorithm is used to convert the xi,j from Bark to the result ri,j in Hz.
- Note: Both functions are also available in the expressions used in the NUM and INT command.
- See also
- hz2mel, mel2hz, hz2erb, erb2hz, hz2cent, cent2hz, hth, lin2log, log2lin