class Tone::Effect::Vibrato

Attributes

depth[R]
frequency[R]

Public Class Methods

new(frequency: 5, depth: 0.1) click to toggle source
Calls superclass method
# File lib/tone/effect.rb, line 36
def initialize(frequency: 5, depth: 0.1)
  @frequency = frequency
  @depth = depth
  super `new Tone.Vibrato(frequency, depth)`
end

Public Instance Methods

==(other) click to toggle source
Calls superclass method Tone::Effect::Base#==
# File lib/tone/effect.rb, line 42
def ==(other)
  super &&
    frequency == other.frequency &&
      depth == other.depth
end