Class: Browser::Audio::Node::Delay

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, max_time = 1) ⇒ Delay

Returns a new instance of Delay.



78
79
80
# File 'opal/browser/audio/node.rb', line 78

def initialize(audio_context, max_time = 1)
  super `#{audio_context.to_n}.createDelay(max_time)`
end

Dynamic Method Handling

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