Class: Browser::Audio::Node::Gain

Inherits:
Base show all
Defined in:
opal/browser/audio/node.rb

Instance Method Summary collapse

Methods inherited from Base

#connect, #disconnect, #method_missing, #respond_to_missing?

Constructor Details

#initialize(audio_context) ⇒ Gain

Returns a new instance of Gain.


46
47
48
# File 'opal/browser/audio/node.rb', line 46

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