class Orange::Note

Direct Known Subclasses

Defined in:

orange/note.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(*, note : String = "None", frequency : Float64 | Nil = nil, waveform : ::Orange::Waveforms::Wave.class = Waveforms::Sine, duration : Float64 = 0.0, envelope : Orange::Envelopes::Envelope = Envelopes::None.new) #

[View source]

Instance Method Detail

def duration : Float64 #

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

[View source]
def envelope : Envelopes::Envelope #

[View source]
def envelope=(envelope : Envelopes::Envelope) #

[View source]
def frequency : Float64 #

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

[View source]
def sample(second : Float) #

[View source]
def waveform : Waveforms::Wave.class #

[View source]
def waveform=(waveform : Waveforms::Wave.class) #

[View source]