module Sound

Extended Modules

Defined in:

sound.cr

Instance Method Summary

Instance Method Detail

def generate_samples(sample_rate : Int, frequency : Float, waveform : Waveform) : Slice(Int16) #

[View source]
def sawtooth_sample(sample_rate : Int, time : Float, frequency : Float) : Int16 #

[View source]
def sine_sample(sample_rate : Int, time : Float, frequency : Float) : Int16 #

[View source]
def square_sample(sample_rate : Int, time : Float, frequency : Float) : Int16 #

[View source]