Class: Browser::Audio::Node::BiquadFilter
- Defined in:
- opal/browser/audio/node.rb
Constant Summary collapse
- TYPES =
%i(lowpass highpass bandpass lowshelf highshelf peaking notch allpass)
Instance Method Summary collapse
-
#initialize(audio_context) ⇒ BiquadFilter
constructor
A new instance of BiquadFilter.
- #type ⇒ Object
- #type=(type) ⇒ Object
Methods inherited from Base
#connect, #disconnect, #method_missing, #respond_to_missing?
Constructor Details
#initialize(audio_context) ⇒ BiquadFilter
Returns a new instance of BiquadFilter.
96 97 98 |
# File 'opal/browser/audio/node.rb', line 96 def initialize(audio_context) super `#{audio_context.to_n}.createBiquadFilter()` end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Browser::Audio::Node::Base
Instance Method Details
#type ⇒ Object
108 109 110 |
# File 'opal/browser/audio/node.rb', line 108 def type `#@native.type` end |