Class: Tone::Effect::JCReverb
Instance Attribute Summary collapse
-
#room_size ⇒ Object
readonly
Returns the value of attribute room_size.
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(room_size: 0.5) ⇒ JCReverb
constructor
A new instance of JCReverb.
Constructor Details
#initialize(room_size: 0.5) ⇒ JCReverb
Returns a new instance of JCReverb.
113 114 115 116 |
# File 'lib/tone/effect.rb', line 113 def initialize(room_size: 0.5) @room_size = room_size super `new Tone.JCReverb(room_size)` end |
Instance Attribute Details
#room_size ⇒ Object (readonly)
Returns the value of attribute room_size.
111 112 113 |
# File 'lib/tone/effect.rb', line 111 def room_size @room_size end |
Instance Method Details
#==(other) ⇒ Object
118 119 120 |
# File 'lib/tone/effect.rb', line 118 def ==(other) super && room_size == other.room_size end |