Class: Browser::Audio::Node::Gain
- Defined in:
- opal/browser/audio/node.rb
Instance Method Summary collapse
-
#initialize(audio_context) ⇒ Gain
constructor
A new instance of Gain.
Methods inherited from Base
#connect, #disconnect, #method_missing, #respond_to_missing?
Constructor Details
#initialize(audio_context) ⇒ Gain
Returns a new instance of Gain.
47 48 49 |
# File 'opal/browser/audio/node.rb', line 47 def initialize(audio_context) super `#{audio_context.to_n}.createGain()` end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Browser::Audio::Node::Base