Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pixijs/sound
/ functions
Functions
246 in github.com/pixijs/sound
⨍
Functions
246
◇
Types & classes
49
Method
play
* Play the sound sprite. * @param {Function} [complete] - Function call when complete * @return Sound instance being played.
src/SoundSprite.ts:92
Function
playOnce
* 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
Method
progress
The current playback progress from 0 to 1.
src/webaudio/WebAudioInstance.ts:351
Method
progress
The current playback progress from 0 to 1.
src/htmlaudio/HTMLAudioInstance.ts:95
Method
refresh
()
src/interfaces/IMediaInstance.ts:89
Method
refreshPaused
()
src/interfaces/IMediaInstance.ts:90
Method
removeListeners
()
src/htmlaudio/HTMLAudioMedia.ts:170
Function
render
* 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
Method
resume
* Resumes a sound. * @param alias - The sound alias reference. * @return Instance for chaining.
src/SoundLibrary.ts:479
Method
resumeAll
* Resumes any sounds. * @return Instance for chaining.
src/SoundLibrary.ts:311
Method
reverse
* Reverse value from 0 to 1 * @default false
src/filters/ReverbFilter.ts:74
Method
script
* Get the script processor node. * @readonly
src/webaudio/WebAudioNodes.ts:80
Method
seconds
* Length of reverb in seconds from 1 to 50 * @default 3
src/filters/ReverbFilter.ts:46
Method
set
* 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
Method
set
* 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
Method
set
* 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
Function
sineTone
* 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
Method
source
* Get the audio source element. * @type {HTMLAudioElement} * @readonly
src/htmlaudio/HTMLAudioMedia.ts:91
Method
speed
* 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
Method
speed
The playback rate.
src/Sound.ts:375
Method
speed
Set the instance speed from 0 to 1
src/webaudio/WebAudioInstance.ts:119
Method
speed
Set the instance speed from 0 to 1
src/htmlaudio/HTMLAudioInstance.ts:174
Method
speedAll
* Set the global speed for all sounds. To set per-sound speed see {@link SoundLibrary#speed}.
src/SoundLibrary.ts:276
Method
sprites
Get the map of sprites.
src/Sound.ts:725
Method
stop
* Stops a sound. * @param alias - The sound alias reference. * @return Sound object.
src/SoundLibrary.ts:459
Method
stop
Stops all the instances of this sound from playing.
src/Sound.ts:482
Method
stop
Stops the instance, don't use after this.
src/webaudio/WebAudioInstance.ts:109
Method
stop
Stop the sound playing
src/htmlaudio/HTMLAudioInstance.ts:163
Method
stream
()
src/filters/StreamFilter.ts:30
Method
supported
* `true` if WebAudio is supported on the current browser.
src/SoundLibrary.ts:105
Function
test
Should we attempt to load this file?
src/soundAsset.ts:38
Method
toString
* To string method for instance. * @return The string representation of instance.
src/webaudio/WebAudioInstance.ts:401
Method
toString
()
src/interfaces/IMediaInstance.ts:94
Method
toString
* To string method for instance. * @return The string representation of instance.
src/htmlaudio/HTMLAudioInstance.ts:426
Function
toggle
(ctrl, e)
examples/client/filters.js:65
Method
toggleMute
* Toggles the muted state. * @return The current muted state.
src/webaudio/WebAudioContext.ts:312
Method
toggleMute
* Toggles the muted state. * @return The current muted state.
src/htmlaudio/HTMLAudioContext.ts:66
Method
togglePause
* Toggles the paused state. * @return The current muted state.
src/webaudio/WebAudioContext.ts:324
Method
togglePause
* Toggles the paused state. * @return The current paused state.
src/htmlaudio/HTMLAudioContext.ts:78
Function
unload
Remove the sound from the library
src/soundAsset.ts:73
Method
unmuteAll
* Unmutes all playing sounds. * @return Instance for chaining.
src/SoundLibrary.ts:344
Method
useLegacy
* Do not use WebAudio, force the use of legacy. This **must** be called before loading any files.
src/SoundLibrary.ts:216
Method
volume
* 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
Method
volume
Get the set the volume for this instance from 0 to 1
src/webaudio/WebAudioInstance.ts:131
Method
volume
Get the set the volume for this instance from 0 to 1
src/htmlaudio/HTMLAudioInstance.ts:185
Method
volumeAll
* Set the global volume for all sounds. To set per-sound volume see {@link SoundLibrary#volume}.
src/SoundLibrary.ts:263
← previous
201–246 of 246, ranked by callers