Method: Synthesizer::OscillatorSource::Pulse::Context#initialize

Defined in:
lib/synthesizer/oscillator_source/pulse.rb

#initialize(soundinfo, note_perform, init_phase) ⇒ Context

Returns a new instance of Context.



23
24
25
26
27
# File 'lib/synthesizer/oscillator_source/pulse.rb', line 23

def initialize(soundinfo, note_perform, init_phase)
  super(soundinfo, note_perform, init_phase)

  @prev = -1.0
end