class Tone::Event::Pattern

Public Class Methods

new(notes, type, &block) click to toggle source
Calls superclass method
# File lib/tone/event.rb, line 14
def initialize(notes, type, &block)
  super `new Tone.Pattern(#{block.to_n}, #{notes.to_n}, type)`
end