Class: Browser::Audio::Node::StereoPanner

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) ⇒ StereoPanner

Returns a new instance of StereoPanner.


116
117
118
# File 'opal/browser/audio/node.rb', line 116

def initialize(audio_context)
  super `#{audio_context.to_n}.createStereoPanner()`
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Browser::Audio::Node::Base