This argument is in order to use the interfaces of 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 rewinds audio.
Return value is for method chain.
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 audio module. This method is overloaded for type interface and type check.
This argument is string if getter. Otherwise, setter.
Return value is parameter for audio module if getter. Otherwise, return value is for method chain.
This method gets audio module parameters as associative array.
This method decodes instance of ArrayBuffer
to ArrayBuffer
or sets instanceof AudioBuffer
.
This argument is instance of ArrayBuffer
or AudioBuffer
.
If this is ArrayBuffer
, this method executes decode.
Return value is for method chain.
This method sets up envelope generator for fade-in and fade-out.
Optional
callbacks: { Return value is for method chain.
This method slices instance of AudioBuffer
.
Optional
startTime: numberThis argument is start time [sec] on AudioBuffer
.
Optional
endTime: numberThis argument is end time [sec] on AudioBuffer
.
Return value is sliced AudioBuffer
.
This method sprites audio.
This argument is associative array that contains sprite times.
Return value is associative array that contains sprited AudioBuffer
.
This method starts audio from designated time.
Optional
startTime: numberThis argument is time that audio is started at. The default value is 0
.
Optional
endTime: numberThis argument is time that audio is ended at. The default value is audio duration.
This is returned for method chain.
This method stops audio.
Return value is for method chain.
This subclass is for playing single audio. This class enables to create audio player that has higher features than
HTMLAudioElement
. But, this class is disadvantage to play many one shot audios. In that case, developer should useOneshotModule
.