Commit graph

433 commits

Author SHA1 Message Date
Pavle Goloskokovic
5990ed3875 Updated unlock method docs 2018-01-06 19:18:48 +01:00
Pavle Goloskokovic
6c469ec59b Added add method docs 2018-01-06 19:18:00 +01:00
Pavle Goloskokovic
dd56f4f682 Updated createAudioContext method docs 2018-01-06 19:17:19 +01:00
Pavle Goloskokovic
8ae7ac4527 Updated properties docs 2018-01-06 19:14:43 +01:00
Pavle Goloskokovic
6e306544fe Added class constructor docs 2018-01-06 19:14:17 +01:00
Pavle Goloskokovic
6d42d97bcc Various docs updates 2018-01-06 18:26:22 +01:00
Pavle Goloskokovic
cca7f19fc7 Updated detune property docs 2018-01-06 18:11:03 +01:00
Pavle Goloskokovic
a2afbc280c Updated rate property docs 2018-01-06 18:10:48 +01:00
Pavle Goloskokovic
41b9dee693 Updated forEachActiveSound method docs 2018-01-06 18:10:19 +01:00
Pavle Goloskokovic
bdcca496ea Added destroy method docs 2018-01-06 17:59:43 +01:00
Pavle Goloskokovic
040f189194 Updated update method docs 2018-01-06 17:58:28 +01:00
Pavle Goloskokovic
78d611ee16 Updated onBlur and onFocus methods docs 2018-01-06 17:57:14 +01:00
Pavle Goloskokovic
88fcd1f18b Added stopAll method docs 2018-01-06 17:56:05 +01:00
Pavle Goloskokovic
34b9bb6324 Added resumeAll method docs 2018-01-06 17:55:48 +01:00
Pavle Goloskokovic
934b715314 Added pauseAll method docs 2018-01-06 17:55:34 +01:00
Pavle Goloskokovic
84cccfa2dc Destroying removed sounds in removeByKey method 2018-01-06 17:55:12 +01:00
Pavle Goloskokovic
261452a893 Updated removeByKey method docs 2018-01-06 17:52:34 +01:00
Pavle Goloskokovic
89ad4f1b39 Destroying removed sound in remove method 2018-01-06 17:49:42 +01:00
Pavle Goloskokovic
39a5c2907f Updated remove method docs 2018-01-06 17:49:17 +01:00
Pavle Goloskokovic
d8eb945f84 Added playAudioSprite method docs 2018-01-06 17:48:31 +01:00
Pavle Goloskokovic
a548e4d873 Added play method docs 2018-01-06 17:47:41 +01:00
Pavle Goloskokovic
bacce96541 Updated addAudioSprite method docs 2018-01-06 17:44:27 +01:00
Pavle Goloskokovic
8f3a7e8449 Added add method docs 2018-01-06 17:42:20 +01:00
Pavle Goloskokovic
a570710a09 Updated properties docs 2018-01-06 17:40:23 +01:00
Pavle Goloskokovic
cc25f7052f Added class constructor docs 2018-01-06 17:38:17 +01:00
Pavle Goloskokovic
44ce131ce6 Various docs updates 2018-01-06 17:34:22 +01:00
Pavle Goloskokovic
9d577a4ffc Added update method docs 2018-01-06 17:33:46 +01:00
Pavle Goloskokovic
712e95b45a Added destroy method docs 2018-01-06 15:53:50 +01:00
Pavle Goloskokovic
1f1aebdaf1 Added stop method docs 2018-01-06 15:53:23 +01:00
Pavle Goloskokovic
2effb504be Added resume method docs 2018-01-06 15:53:03 +01:00
Pavle Goloskokovic
d8a7b5d402 Added pause method docs 2018-01-06 15:52:46 +01:00
Pavle Goloskokovic
c37acdfade Added play method docs 2018-01-06 15:52:22 +01:00
Pavle Goloskokovic
c89cfcdef8 Added removeMarker method docs 2018-01-06 15:51:12 +01:00
Pavle Goloskokovic
418f957ed5 Added updateMarker method docs 2018-01-06 15:50:40 +01:00
Pavle Goloskokovic
974a9c0577 Added addMarker method docs 2018-01-06 15:50:14 +01:00
Pavle Goloskokovic
f76aff724d Added properties docs 2018-01-06 15:47:58 +01:00
Pavle Goloskokovic
dbea4d27bf Added class constructor docs 2018-01-06 15:45:42 +01:00
Pavle Goloskokovic
6c7b73b0dc Removed webkit flag as it is not used (polyfill handles the differences) 2018-01-06 15:13:56 +01:00
Pavle Goloskokovic
6b291e890e Reverting compatibility changes as they are handled by a polyfill 2018-01-06 15:12:39 +01:00
Pavle Goloskokovic
b151ba518a Reverting compatibility changes as they are handled by a polyfill 2018-01-06 15:12:12 +01:00
Pavle Goloskokovic
2d2bf4c0e3 Added check for touch events when trying to unlock web audio on iOS devices 2018-01-06 15:03:28 +01:00
Pavle Goloskokovic
01e5274c76 Removed completed webkit implementation compatibility TODO 2018-01-06 15:02:30 +01:00
Pavle Goloskokovic
0645145010 Added fallback to noteOff method call for webkit implementation when stopping loop buffer source 2018-01-06 15:01:41 +01:00
Pavle Goloskokovic
7f04143b7c Added fallback to noteOff method call for webkit implementation when stopping buffer source 2018-01-06 15:01:24 +01:00
Pavle Goloskokovic
cd0c6b27a7 Added fallback to noteGrainOn method call for webkit implementation when starting loop buffer source 2018-01-06 15:00:43 +01:00
Pavle Goloskokovic
00c90eb81a Added fallback to noteGrainOn method call for webkit implementation when starting buffer source 2018-01-06 14:59:56 +01:00
Pavle Goloskokovic
9665ab2f7c Added fallback to createGainNode method call for webkit implementation when creating global volume node 2018-01-06 14:58:15 +01:00
Pavle Goloskokovic
e66f1b7030 Added fallback to createGainNode method call for webkit implementation when creating global mute node 2018-01-06 14:57:50 +01:00
Pavle Goloskokovic
e635351f0b Added fallback to createGainNode method call for webkit implementation when creating sound volume node 2018-01-06 14:56:59 +01:00
Pavle Goloskokovic
a508d7ef4c Added fallback to createGainNode method call for webkit implementation when creating sound gain node 2018-01-06 14:56:39 +01:00
Pavle Goloskokovic
7c2bd98e44 Simplified logic for removal of destroyed sounds 2018-01-05 20:14:34 +01:00
Pavle Goloskokovic
78c74739fc Fixed sounds array truncate logic in update method 2018-01-05 19:35:44 +01:00
Pavle Goloskokovic
7e223685b3 Dispatching event when stopAll is called 2018-01-04 20:01:19 +01:00
Pavle Goloskokovic
734ce7e628 Dispatching event when resumeAll is called 2018-01-04 20:01:07 +01:00
Pavle Goloskokovic
4c172b6ffa Dispatching event when pauseAll is called 2018-01-04 20:00:43 +01:00
Pavle Goloskokovic
ec657a6517 Using forEachActiveSound method when updating global rate and detune settings 2018-01-04 19:53:47 +01:00
Pavle Goloskokovic
55f8ca51af Using forEachActiveSound method when destroying BaseSoundManager 2018-01-04 19:53:15 +01:00
Pavle Goloskokovic
2572b01e61 Using forEachActiveSound method for global playback methods 2018-01-04 19:52:44 +01:00
Pavle Goloskokovic
c424b61939 Added utility method forEachActiveSound that enables traversing only active (not destroyed) sounds 2018-01-04 19:51:54 +01:00
Pavle Goloskokovic
b3fad218bc Added logic for removing destroyed sounds from sounds array on BaseSoundManager update call 2018-01-04 19:50:06 +01:00
Pavle Goloskokovic
cf31ed9a4d Implemented destroy method for BaseSoundManager class 2018-01-04 19:48:00 +01:00
Pavle Goloskokovic
c919d331a6 Added docs for remove and removeByKey methods 2018-01-04 19:44:22 +01:00
Pavle Goloskokovic
267cfed1d0 Implemented removeByKey method 2018-01-04 19:43:41 +01:00
Pavle Goloskokovic
5f56d038f5 Implemented remove method 2018-01-04 19:41:43 +01:00
Pavle Goloskokovic
5790fe9a4f Reordered destroy method calls 2018-01-04 19:39:21 +01:00
Pavle Goloskokovic
03187ae8b5 Using pendingRemove flag when destroying BaseSound 2018-01-04 19:38:51 +01:00
Pavle Goloskokovic
5d5acb40a9 Added pendingRemove flag that indicates if destroy method was called on this sound 2018-01-04 19:37:20 +01:00
Pavle Goloskokovic
1a38273cd8 Implemented resumeAll method 2018-01-04 19:32:10 +01:00
Pavle Goloskokovic
17dee3cd8d Implemented pauseAll method 2018-01-04 19:30:29 +01:00
Pavle Goloskokovic
13f752baca Implemented global playAudioSprite method to enable playing audiosprite sprites on the fly 2018-01-04 19:28:34 +01:00
Pavle Goloskokovic
6a64693257 Updated global play method to accept sound config and sound marker as second argument 2018-01-04 19:27:12 +01:00
Pavle Goloskokovic
66936490a1 Implemented global play method to enable playing sounds on the fly 2018-01-04 19:24:28 +01:00
Pavle Goloskokovic
70b31c7273 Implemented stopAll method 2018-01-04 15:59:44 +01:00
Pavle Goloskokovic
4ff8fca1c5 Instantiating event dispatcher before setting any property values 2018-01-03 21:55:51 +01:00
Pavle Goloskokovic
0472463dad Instantiating event dispatcher before setting any property values 2018-01-03 21:55:41 +01:00
Pavle Goloskokovic
c293d4a516 Dispatching event when global detune value changes 2018-01-03 21:29:00 +01:00
Pavle Goloskokovic
f6976daf2b Dispatching event when global rate value changes 2018-01-03 21:28:45 +01:00
Pavle Goloskokovic
3b5289a733 Dispatching event when global volume value changes 2018-01-03 21:28:13 +01:00
Pavle Goloskokovic
3967a111a4 Dispatching event when global mute value changes 2018-01-03 21:27:53 +01:00
Pavle Goloskokovic
d73208349f Dispatching event when sound seek changes 2018-01-03 21:27:09 +01:00
Pavle Goloskokovic
dc796465b7 Dispatching event when sound detune value changes 2018-01-03 21:26:49 +01:00
Pavle Goloskokovic
de8919645a Dispatching event when sound rate value changes 2018-01-03 21:26:31 +01:00
Pavle Goloskokovic
e0591df9fc Dispatching event when sound volume value changes 2018-01-03 21:26:15 +01:00
Pavle Goloskokovic
0c70ae236e Dispatching event when sound mute value changes 2018-01-03 21:26:01 +01:00
Pavle Goloskokovic
c8a0591b62 Added SoundValueEvent to index.js 2018-01-03 21:24:47 +01:00
Pavle Goloskokovic
a157dd2ccc Added event class for sound value change 2018-01-03 21:24:33 +01:00
Pavle Goloskokovic
4210898a24 Replaced stop method call with logic needed to stop sound in order to avoiding dispatching both stop and ended events 2018-01-03 21:23:41 +01:00
Pavle Goloskokovic
89fce9135a Dispatching event when sound ends 2018-01-03 21:22:07 +01:00
Pavle Goloskokovic
3356fc2d92 Dispatching event when calling stop method 2018-01-03 21:20:40 +01:00
Pavle Goloskokovic
99accdbbd0 Dispatching event when calling resume method 2018-01-03 21:20:22 +01:00
Pavle Goloskokovic
fbc7264d4c Dispatching event when calling pause method 2018-01-03 21:20:02 +01:00
Pavle Goloskokovic
17985a0147 Dispatching event when calling play method 2018-01-03 21:19:44 +01:00
Pavle Goloskokovic
a664714c12 Removed unused dynamic fx code 2018-01-03 20:38:08 +01:00
Pavle Goloskokovic
d25b714e7e Added global playAudioSprite method that enables playing sounds from audiosprite on the fly 2018-01-03 20:35:28 +01:00
Pavle Goloskokovic
912a737561 Added global play method that enables playing sounds on the fly 2018-01-03 20:32:31 +01:00
Pavle Goloskokovic
1c896ba1f7 Removed fadeTo method 2018-01-03 20:31:33 +01:00
Pavle Goloskokovic
92ee1bb7e0 Removed fade tween property from destroy method 2018-01-03 20:31:07 +01:00
Pavle Goloskokovic
36f918c26b Removed fade tween property 2018-01-03 20:28:22 +01:00
Pavle Goloskokovic
aad8dea41b Added SoundEvent class to index.js 2017-12-22 15:47:37 +01:00
Pavle Goloskokovic
e36e18977e Dispatching loop event when sound loops 2017-12-22 15:47:15 +01:00