module Haematite::SoundFontMath

Overview

The SoundFontMath module implements various pieces of audio math.

Extended Modules

Defined in:

haematite/soundfontmath.cr

Instance Method Summary

Instance Method Detail

def centsToHertz(x : Float64) : Float64 #

def centsToMultiplyingFactor(x : Float64) : Float64 #

def decibelsToLinear(x : Float64) : Float64 #

def expCutoff(x : Float64) : Float64 #

def keyNumberToMultiplyingFactor(cents : Int, key : Int) : Float64 #

def linearToDecibels(x : Float64) : Float64 #

def timecentsToSeconds(x : Float64) : Float64 #