This argument is in order to use Web Audio API.
Protected
analyserProtected
autopannerProtected
bitcrusherProtected
chorusProtected
compressorProtected
contextProtected
delayProtected
envelopegeneratorProtected
equalizerProtected
filterProtected
flangerProtected
fuzzProtected
listenerProtected
mastervolumeProtected
mixedProtected
modulesProtected
noisegateProtected
noisesuppressorProtected
overdriveProtected
pannerProtected
phaserProtected
pitchshifterProtected
preampProtected
processorProtected
recorderProtected
reverbProtected
ringmodulatorProtected
runningProtected
stereoProtected
tremoloProtected
vocalcancelerProtected
wahStatic
Readonly
NUMBER_Static
Readonly
NUMBER_This method edits module to use and module connection order.
This argument is edited modules.
Return value is previous modules.
This method gets or sets fade-in time.
Optional
time: numberThis argument is fade-in time. If this argument is omitted, this method is getter.
Return value is fade-in time. Otherwise, return value is for method chain.
This method gets or sets fade-out time.
Optional
time: numberThis argument is fade-out time. If this argument is omitted, this method is getter.
Return value is fade-out time. Otherwise, return value is for method chain.
Protected
initThis method installs customized effector.
This argument is subclass that extends Effector
class.
Return value is instance of customized effector (that extends Effector
class).
This method gets instance of Module
(Analyser, Recorder, Effector ... etc).
This argument selects module.
Optional
stopTime: numberOptional
startTime: numberThis method gets or sets parameters for media module. This method is overloaded for type interface and type check.
This argument is string if getter. Otherwise, setter.
Return value is parameter for media module if getter. Otherwise, return value is for method chain.
This method gets media module parameters as associative array.
This method prepares for playing media anytime after loading media resource.
This argument is Object URL or file name for media resource.
Optional
mimeType: stringThis argument is required in case of audio streaming.
Return value is for method chain.
This method gets HTMLMediaElement
and selects media format. In addition, this method adds event listeners that are defined by HTMLMediaElement
.
Optional
autoplay?: booleanOptional
formats?: string[]Optional
listeners?: { Return value is for method chain.
This method starts media from designated time.
Optional
position: numberThis argument is time that media is started at. The default value is 0
.
Optional
errorCallback: ((error: Error) => void)This argument is invoked on failure.
Return value is for method chain.
This method stops media.
Optional
successCallback: (() => void)This argument is invoked on success.
Optional
errorCallback: ((error: Error) => void)This argument is invoked on failure.
Return value is for method chain.
This class processes sound data from
HTMLMediaElement
. Namely, this class enables to create audio player that has higher features fromHTMLMediaElement
. But, this class is disadvantage to play many one shot audios. In that case, developer should useOneshotModule
.