class Orange::Note
- Orange::Note
- Reference
- Object
Direct Known Subclasses
Defined in:
orange/note.crConstructors
Instance Method Summary
- #duration : Float64
- #duration=(duration : Float64)
- #envelope : Envelopes::Envelope
- #envelope=(envelope : Envelopes::Envelope)
- #frequency : Float64
- #frequency=(frequency : Float64)
- #sample(second : Float)
- #waveform : Waveforms::Wave.class
- #waveform=(waveform : Waveforms::Wave.class)
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)
#