MCPcopy Create free account

hub / github.com/pixijs/sound / functions

Functions246 in github.com/pixijs/sound

Methodplay
* Play the sound sprite. * @param {Function} [complete] - Function call when complete * @return Sound instance being played.
src/SoundSprite.ts:92
FunctionplayOnce
* Create a new "Audio" stream based on given audio path and project uri; returns the audio object. * @memberof utils * @param url - Full path of the
src/utils/playOnce.ts:17
Methodprogress
The current playback progress from 0 to 1.
src/webaudio/WebAudioInstance.ts:351
Methodprogress
The current playback progress from 0 to 1.
src/htmlaudio/HTMLAudioInstance.ts:95
Methodrefresh
()
src/interfaces/IMediaInstance.ts:89
MethodrefreshPaused
()
src/interfaces/IMediaInstance.ts:90
MethodremoveListeners
()
src/htmlaudio/HTMLAudioMedia.ts:170
Functionrender
* Render image as Texture. **Only supported with WebAudio** * @memberof utils * @param sound - Instance of sound to render * @param options - Custo
src/utils/render.ts:31
Methodresume
* Resumes a sound. * @param alias - The sound alias reference. * @return Instance for chaining.
src/SoundLibrary.ts:479
MethodresumeAll
* Resumes any sounds. * @return Instance for chaining.
src/SoundLibrary.ts:311
Methodreverse
* Reverse value from 0 to 1 * @default false
src/filters/ReverbFilter.ts:74
Methodscript
* Get the script processor node. * @readonly
src/webaudio/WebAudioNodes.ts:80
Methodseconds
* Length of reverb in seconds from 1 to 50 * @default 3
src/filters/ReverbFilter.ts:46
Methodset
* Set a property by name, this makes it easy to chain values * @param name - Name of the property to set. * @param value - Value to set prop
src/webaudio/WebAudioInstance.ts:87
Methodset
* Fired when the sound when progress updates. * @param name - Name of property. * @param value - The total number of seconds of audio *
src/interfaces/IMediaInstance.ts:114
Methodset
* Set a property by name, this makes it easy to chain values * @param name - Name of the property to set * @param value - Value to set prope
src/htmlaudio/HTMLAudioInstance.ts:73
FunctionsineTone
* Create a new sound for a sine wave-based tone. **Only supported with WebAudio** * @memberof utils * @param hertz - Frequency of sound. * @param
src/utils/sineTone.ts:12
Methodsource
* Get the audio source element. * @type {HTMLAudioElement} * @readonly
src/htmlaudio/HTMLAudioMedia.ts:91
Methodspeed
* Get or set the speed for a sound. * @param alias - The sound alias reference. * @param speed - Optional current speed to set. * @retu
src/SoundLibrary.ts:508
Methodspeed
The playback rate.
src/Sound.ts:375
Methodspeed
Set the instance speed from 0 to 1
src/webaudio/WebAudioInstance.ts:119
Methodspeed
Set the instance speed from 0 to 1
src/htmlaudio/HTMLAudioInstance.ts:174
MethodspeedAll
* Set the global speed for all sounds. To set per-sound speed see {@link SoundLibrary#speed}.
src/SoundLibrary.ts:276
Methodsprites
Get the map of sprites.
src/Sound.ts:725
Methodstop
* Stops a sound. * @param alias - The sound alias reference. * @return Sound object.
src/SoundLibrary.ts:459
Methodstop
Stops all the instances of this sound from playing.
src/Sound.ts:482
Methodstop
Stops the instance, don't use after this.
src/webaudio/WebAudioInstance.ts:109
Methodstop
Stop the sound playing
src/htmlaudio/HTMLAudioInstance.ts:163
Methodstream
()
src/filters/StreamFilter.ts:30
Methodsupported
* `true` if WebAudio is supported on the current browser.
src/SoundLibrary.ts:105
Functiontest
Should we attempt to load this file?
src/soundAsset.ts:38
MethodtoString
* To string method for instance. * @return The string representation of instance.
src/webaudio/WebAudioInstance.ts:401
MethodtoString
()
src/interfaces/IMediaInstance.ts:94
MethodtoString
* To string method for instance. * @return The string representation of instance.
src/htmlaudio/HTMLAudioInstance.ts:426
Functiontoggle
(ctrl, e)
examples/client/filters.js:65
MethodtoggleMute
* Toggles the muted state. * @return The current muted state.
src/webaudio/WebAudioContext.ts:312
MethodtoggleMute
* Toggles the muted state. * @return The current muted state.
src/htmlaudio/HTMLAudioContext.ts:66
MethodtogglePause
* Toggles the paused state. * @return The current muted state.
src/webaudio/WebAudioContext.ts:324
MethodtogglePause
* Toggles the paused state. * @return The current paused state.
src/htmlaudio/HTMLAudioContext.ts:78
Functionunload
Remove the sound from the library
src/soundAsset.ts:73
MethodunmuteAll
* Unmutes all playing sounds. * @return Instance for chaining.
src/SoundLibrary.ts:344
MethoduseLegacy
* Do not use WebAudio, force the use of legacy. This **must** be called before loading any files.
src/SoundLibrary.ts:216
Methodvolume
* Get or set the volume for a sound. * @param alias - The sound alias reference. * @param volume - Optional current volume to set. * @r
src/SoundLibrary.ts:490
Methodvolume
Get the set the volume for this instance from 0 to 1
src/webaudio/WebAudioInstance.ts:131
Methodvolume
Get the set the volume for this instance from 0 to 1
src/htmlaudio/HTMLAudioInstance.ts:185
MethodvolumeAll
* Set the global volume for all sounds. To set per-sound volume see {@link SoundLibrary#volume}.
src/SoundLibrary.ts:263
← previous201–246 of 246, ranked by callers