Method: Sidtool::Synth#to_a

Defined in:
lib/sidtool/synth.rb

#to_aObject



39
40
41
42
# File 'lib/sidtool/synth.rb', line 39

def to_a
  tone = sid_frequency_to_nearest_midi(@frequency)
  [@start_frame, tone, @waveform, @attack.round(3), @decay.round(3), @sustain_length, @release.round(3), @controls]
end