class Orange::Rest

Defined in:

orange/rest.cr

Constructors

Instance Method Summary

Instance methods inherited from class Orange::Note

duration : Float64 duration, duration=(duration : Float64) duration=, envelope : Envelopes::Envelope envelope, envelope=(envelope : Envelopes::Envelope) envelope=, frequency : Float64 frequency, frequency=(frequency : Float64) frequency=, sample(second : Float) sample, waveform : Waveforms::Wave.class waveform, waveform=(waveform : Waveforms::Wave.class) waveform=

Constructor methods inherited from class Orange::Note

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) new

Constructor Detail

def self.new(duration) #

[View source]

Instance Method Detail

def sample(_second : Float) #

[View source]