MCPcopy Create free account

hub / github.com/pixijs/sound / functions

Functions246 in github.com/pixijs/sound

Methodconstructor
* Use `Sound.from` * @ignore
src/Sound.ts:283
Methodconstructor
* @param input - The source audio node * @param output - The output audio node
src/Filterable.ts:23
Methodconstructor
* @param f32 - Default gain for 32 Hz * @param f64 - Default gain for 64 Hz * @param f125 - Default gain for 125 Hz * @param f250 - Def
src/filters/EqualizerFilter.ts:103
Methodconstructor
()
src/filters/MonoFilter.ts:14
Methodconstructor
* @param seconds - Seconds for reverb * @param decay - The decay length * @param reverse - Reverse reverb
src/filters/ReverbFilter.ts:21
Methodconstructor
()
src/filters/StreamFilter.ts:13
Methodconstructor
@param pan - The amount of panning, -1 is left, 1 is right, 0 is centered.
src/filters/StereoFilter.ts:22
Methodconstructor
@param amount - The amount of distoration from 0 to 1.
src/filters/DistortionFilter.ts:18
Methodconstructor
()
src/filters/TelephoneFilter.ts:12
Methodconstructor
* @param {AudioNode} destination - The audio node to use as the destination for the input AudioNode * @param {AudioNode} [source] - Optional outp
src/filters/Filter.ts:19
Methodconstructor
()
src/webaudio/WebAudioContext.ts:70
Methodconstructor
(media: WebAudioMedia)
src/webaudio/WebAudioInstance.ts:68
Methodconstructor
* @param context - The audio context.
src/webaudio/WebAudioNodes.ts:56
Methodconstructor
@param parent - Parent element
src/htmlaudio/HTMLAudioInstance.ts:59
Methodcontext
* The global context to use. * @readonly
src/SoundLibrary.ts:69
Methodcontext
Instance of the media context.
src/Sound.ts:340
Methodcontext
()
src/webaudio/WebAudioMedia.ts:71
Methodcontext
* Reference to the context. * @readonly
src/htmlaudio/HTMLAudioMedia.ts:56
Methodcreate
()
src/webaudio/WebAudioMedia.ts:65
Methodcreate
()
src/htmlaudio/HTMLAudioMedia.ts:29
Methoddecay
* Decay value from 0 to 100 * @default 2
src/filters/ReverbFilter.ts:60
Methoddestination
The destination output audio node
src/Filterable.ts:30
Methoddestroy
Destroy and don't use after this
src/SoundSprite.ts:104
Methoddestroy
Destructor, safer to use `SoundLibrary.remove(alias)` to remove this sound.
src/Sound.ts:438
Methoddestroy
Cleans up.
src/Filterable.ts:85
Methoddestroy
()
src/filters/EqualizerFilter.ts:365
Methoddestroy
()
src/filters/MonoFilter.ts:31
Methoddestroy
()
src/filters/StreamFilter.ts:35
Methoddestroy
()
src/filters/StereoFilter.ts:71
Methoddestroy
()
src/filters/DistortionFilter.ts:65
Methoddestroy
Destroy the filter and don't use after this.
src/filters/Filter.ts:47
Methoddestroy
Destroy this context.
src/webaudio/WebAudioContext.ts:230
Methoddestroy
Destructor, safer to use `SoundLibrary.remove(alias)` to remove this sound.
src/webaudio/WebAudioMedia.ts:46
Methoddestroy
Don't use after this.
src/webaudio/WebAudioInstance.ts:369
Methoddestroy
Cleans up.
src/webaudio/WebAudioNodes.ts:92
Methoddestroy
Destroy the context and don't use after this.
src/interfaces/IMediaContext.ts:47
Methoddestroy
()
src/interfaces/IMediaInstance.ts:93
Methoddestroy
()
src/htmlaudio/HTMLAudioMedia.ts:72
Methoddestroy
Don't use after this.
src/htmlaudio/HTMLAudioInstance.ts:385
Methoddestroy
Destroy and don't use after this
src/htmlaudio/HTMLAudioContext.ts:87
MethoddisableAutoPause
* This disables auto-pause all playback when the window blurs (WebAudio only). * This is helpful to keep from playing sounds when the user switch
src/SoundLibrary.ts:237
Methodduration
* Get the length of a sound in seconds. * @param alias - The sound alias reference. * @return The current duration in seconds.
src/SoundLibrary.ts:525
Methodduration
Get the duration of the audio in seconds.
src/Sound.ts:731
Methodduration
()
src/webaudio/WebAudioMedia.ts:93
Methodduration
* THe duration of the media in seconds. * @readonly
src/htmlaudio/HTMLAudioMedia.ts:47
Methodf125
* Gain at 125 Hz frequencey. * @default 0
src/filters/EqualizerFilter.ts:256
Methodf16k
* Gain at 16 KHz frequencey. * @default 0
src/filters/EqualizerFilter.ts:347
Methodf1k
* Gain at 1 KHz frequencey. * @default 0
src/filters/EqualizerFilter.ts:295
Methodf250
* Gain at 250 Hz frequencey. * @default 0
src/filters/EqualizerFilter.ts:269
Methodf2k
* Gain at 2 KHz frequencey. * @default 0
src/filters/EqualizerFilter.ts:308
Methodf32
* Gain at 32 Hz frequencey. * @default 0
src/filters/EqualizerFilter.ts:230
Methodf4k
* Gain at 4 KHz frequencey. * @default 0
src/filters/EqualizerFilter.ts:321
Methodf500
* Gain at 500 Hz frequencey. * @default 0
src/filters/EqualizerFilter.ts:282
Methodf64
* Gain at 64 Hz frequencey. * @default 0
src/filters/EqualizerFilter.ts:243
Methodf8k
* Gain at 8 KHz frequencey. * @default 0
src/filters/EqualizerFilter.ts:334
Methodfilters
Set the filters. Only supported with WebAudio.
src/Sound.ts:386
Methodfilters
The collection of filters.
src/Filterable.ts:36
Methodfilters
()
src/webaudio/WebAudioMedia.ts:83
Methodfilters
The collection of filters.
src/webaudio/WebAudioInstance.ts:164
Methodfilters
The collection of filters, does not apply to HTML Audio.
src/htmlaudio/HTMLAudioMedia.ts:62
Methodfilters
* HTML Audio does not support filters, this is non-functional API.
src/htmlaudio/HTMLAudioInstance.ts:220
Methodfilters
* HTML Audio does not support filters, this is non-functional API.
src/htmlaudio/HTMLAudioContext.ts:39
MethodfiltersAll
* Apply filters to all sounds. Can be useful * for setting global planning or global effects. * **Only supported with WebAudio.** * @ex
src/SoundLibrary.ts:85
Functionget
()
src/browser.ts:16
MethodhandleError
(err: Error)
src/webaudio/WebAudioContext.ts:339
Methodinit
* Re-initialize without constructing. * @param parent - - Instance of parent Sound container
src/webaudio/WebAudioMedia.ts:37
Methodinit
(parent: IMedia)
src/interfaces/IMediaInstance.ts:91
Methodinit
(parent: Sound)
src/htmlaudio/HTMLAudioMedia.ts:18
Methodinstances
Gets the list of instances that are currently being played of this sound.
src/Sound.ts:719
MethodisPlayable
If the current sound is playable (loaded).
src/Sound.ts:476
MethodisPlayable
()
src/webaudio/WebAudioMedia.ts:77
MethodisPlayable
* If the audio media is playable (ready). * @readonly
src/htmlaudio/HTMLAudioMedia.ts:38
Functionload
Load the sound file, this is mostly handled by Sound.from()
src/soundAsset.ts:46
Methodload
(callback?: LoadedCallback)
src/webaudio/WebAudioMedia.ts:118
Methodload
(callback?: LoadedCallback)
src/htmlaudio/HTMLAudioMedia.ts:97
Functionloaded
(err, sound)
src/soundAsset.ts:53
Functionloaded
()
examples/client/sprites.js:53
Methodloop
Gets and sets the looping.
src/Sound.ts:702
Methodloop
If the sound instance should loop playback
src/webaudio/WebAudioInstance.ts:153
Methodloop
If the sound instance should loop playback
src/htmlaudio/HTMLAudioInstance.ts:196
MethodmuteAll
* Mutes all playing sounds. * @return Instance for chaining.
src/SoundLibrary.ts:332
Methodmuted
Gets and sets the muted flag.
src/Sound.ts:691
Methodmuted
`true` if the sound is muted
src/webaudio/WebAudioInstance.ts:142
Methodmuted
`true` if the sound is muted
src/htmlaudio/HTMLAudioInstance.ts:207
Methodnodes
Get the current chained nodes object
src/webaudio/WebAudioMedia.ts:112
MethodofflineContext
* The WebAudio API OfflineAudioContext object. * @readonly * @type {OfflineAudioContext}
src/webaudio/WebAudioContext.ts:268
MethodonAbort
()
src/htmlaudio/HTMLAudioMedia.ts:143
MethodonBlur
Handle mobile WebAudio context suspend
src/webaudio/WebAudioContext.ts:141
MethodonError
()
src/htmlaudio/HTMLAudioMedia.ts:153
MethodonFocus
Handle mobile WebAudio context resume
src/webaudio/WebAudioContext.ts:122
MethodonLoad
()
src/htmlaudio/HTMLAudioMedia.ts:130
Methodpan
Set the amount of panning, where -1 is left, 1 is right, and 0 is centered
src/filters/StereoFilter.ts:54
Methodpause
* Pauses a sound. * @param alias - The sound alias reference. * @return Sound object.
src/SoundLibrary.ts:469
MethodpauseAll
* Pauses any playing sounds. * @return Instance for chaining.
src/SoundLibrary.ts:299
Methodpaused
Stops all the instances of this sound from playing.
src/Sound.ts:364
Methodpaused
* Pauses all sounds, even though we handle this at the instance * level, we'll also pause the audioContext so that the * time used to comput
src/webaudio/WebAudioContext.ts:279
Methodpaused
Pauses the sound.
src/webaudio/WebAudioInstance.ts:357
Methodpaused
Pauses the sound.
src/htmlaudio/HTMLAudioInstance.ts:103
Functionplay
()
examples/client/demo.js:37
Methodplay
* Plays a sound. * @param alias - The sound alias reference. * @param {PlayOptions|Function} options - The options or callback when done.
src/SoundLibrary.ts:447
← previousnext →101–200 of 246, ranked by callers