class Tone::Effect::Tremolo
Attributes
depth[R]
frequency[R]
Public Class Methods
new(frequency: 10, depth: 0.5)
click to toggle source
Calls superclass method
# File lib/tone/effect.rb, line 65 def initialize(frequency: 10, depth: 0.5) @frequency = frequency @depth = depth super `new Tone.Tremolo(frequency, depth)` end
Public Instance Methods
==(other)
click to toggle source
Calls superclass method
Tone::Effect::Base#==
# File lib/tone/effect.rb, line 71 def ==(other) super && frequency == other.frequency && depth == other.depth end