Commit graph

199 commits

Author SHA1 Message Date
Pavle Goloskokovic
436a86a597 Updated onFocus method docs 2018-01-07 22:12:17 +01:00
Pavle Goloskokovic
aa71b6d7a8 Updated onBlur method docs 2018-01-07 22:12:04 +01:00
Pavle Goloskokovic
0055947e59 Added destroy method docs 2018-01-07 20:20:32 +01:00
Pavle Goloskokovic
69b3348aca Implemented destroy method for WebAudioSoundManager class 2018-01-07 20:20:01 +01:00
Pavle Goloskokovic
9b0ed25a4d Disconnecting loop buffer source from its destination after stopping it 2018-01-07 18:18:53 +01:00
Pavle Goloskokovic
f4f3ecccdd Disconnecting buffer source from its destination after stopping it 2018-01-07 18:18:30 +01:00
Pavle Goloskokovic
dd494c08ac Updated volume property docs 2018-01-06 19:20:28 +01:00
Pavle Goloskokovic
34210c4933 Updated mute property docs 2018-01-06 19:20:13 +01:00
Pavle Goloskokovic
3c0b7ce07d Added onFocus method docs 2018-01-06 19:19:48 +01:00
Pavle Goloskokovic
967fc608ed Added onBlur method docs 2018-01-06 19:19:37 +01:00
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
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
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
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
e36e18977e Dispatching loop event when sound loops 2017-12-22 15:47:15 +01:00
Pavle Goloskokovic
97e648bea6 Removed debug logging 2017-12-22 15:46:05 +01:00
Pavle Goloskokovic
c569aabc73 Resetting rate updates on sound loop 2017-12-22 15:45:28 +01:00
Pavle Goloskokovic
5635c04da0 Stopping and removing loop source when stopping and removing main source 2017-12-22 15:42:45 +01:00
Pavle Goloskokovic
c15afd2d29 Setting loopTime to 0 when stopping and resetting loop source 2017-12-22 15:42:09 +01:00
Pavle Goloskokovic
9b1db4257c Setting playTime and startTime properties to loopTime value whe sound loops 2017-12-22 15:40:58 +01:00
Pavle Goloskokovic
c1688ddbfe Setting loopTime to loop source start call when parameter value when creating it 2017-12-22 15:37:36 +01:00
Pavle Goloskokovic
54de230ac4 Added loopTime property to keep track of the time at which the sound loop source should actually start playback based on BaseAudioContext.currentTime value 2017-12-22 15:35:57 +01:00
Pavle Goloskokovic
34d0e4f7a6 Setting loop source to be main source when sound loops and creating next loop source 2017-12-22 15:33:19 +01:00