class PF::Audio

Defined in:

audio.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(freq : Int32 = 44100, channels : UInt8 = 2, samples : UInt16 = 512, &callback : Float64, UInt8 -> Float64) #

[View source]

Instance Method Detail

def finalize #

[View source]
def freq(*args, **options) #

[View source]
def freq(*args, **options, &) #

[View source]
def headroom : Float64 #

https://dsp.stackexchange.com/questions/3581/algorithms-to-mix-audio-signals-without-clipping


[View source]
def headroom=(headroom : Float64) #

https://dsp.stackexchange.com/questions/3581/algorithms-to-mix-audio-signals-without-clipping


[View source]
def pause #

[View source]
def play #

[View source]
def playing? : Bool #

[View source]
def queue(sample : Int16) #

[View source]
def queue(sample : Pointer(Int16), length = 1) #

[View source]
def time : Float64 #

[View source]
def volume : Float64 #

[View source]
def volume=(volume : Float64) #

[View source]