This method selects domain for visualization. This method is overloaded for type interface and type check.
This argument is one of 'timeoverview', 'time', 'fft'.
Optional
channel: ChannelNumberThis argument is channel number (Left: 0, Right: 1 ...).
Return value is instance of selected Visualizer
class.
Optional
channel: ChannelNumberOptional
channel: ChannelNumberThis method gets or sets parameters for analyser. This method is overloaded for type interface and type check.
This argument is string if getter. Otherwise, setter.
Return value is parameter for analyser if getter. Otherwise, return value is for method chain.
This method visualizes sound wave.
This argument is one of 'timeoverview', 'time', 'fft'.
Optional
channel: ChannelNumberThis argument is channel number (Left: 0, Right: 1 ...).
Optional
buffer: AudioBufferThis argument is instance of AudioBuffer
(If domain is 'timeoverview', this argument is required).
Return value is for method chain.
This private class manages 3 private classes (
TimeOverview
,Time
,FFT
) for visualizing sound wave.