Commit graph

232 commits

Author SHA1 Message Date
Pavle Goloskokovic
0363116383 updated BaseSound fields docs
updated sound config initialization
2017-11-15 17:26:20 +01:00
Pavle Goloskokovic
f11dcf3979 added source field for WebAudioSound class 2017-11-15 16:55:13 +01:00
Pavle Goloskokovic
2d91fe2d14 defined mute property on WebAudioSound prototype 2017-11-15 16:14:04 +01:00
Pavle Goloskokovic
049dd4aada properly connect nodes for WebAudioSound class 2017-11-15 16:03:40 +01:00
Pavle Goloskokovic
9381ab0305 added muteNode field for WebAudioSound class 2017-11-15 16:02:11 +01:00
Pavle Goloskokovic
18ca26e50b defined volume property on WebAudioSound prototype
connected properly WebAudioSound nodes
2017-11-15 15:58:38 +01:00
Pavle Goloskokovic
c4f09de225 added volumeNode field for WebAudioSound class 2017-11-15 15:42:37 +01:00
Pavle Goloskokovic
6811ba56a5 defined mute property on WebAudioSoundManager prototype 2017-11-15 15:31:24 +01:00
Pavle Goloskokovic
7a3b288219 added masterMuteNode field for WebAudioSoundManager class 2017-11-15 15:20:01 +01:00
Pavle Goloskokovic
e5a5ee847f defined volume property on WebAudioSoundManager prototype 2017-11-15 15:11:37 +01:00
Pavle Goloskokovic
3820e75a5a added destination property to WebAudioSoundManager class
setting destination to be master volume node and connecting mater volume node to context destination
connecting individual sounds to manager destination node instead of context destination
2017-11-15 14:46:12 +01:00
Pavle Goloskokovic
031f40999e added masterVolumeNode to WebAudioSoundManager class 2017-11-15 14:38:45 +01:00
Pavle Goloskokovic
70a07ed793 fixed reference issue
added default value for WebAudioSound constructor config
2017-11-14 20:09:44 +01:00
Pavle Goloskokovic
2ad39a9a47 added play method to WebAudioSound class 2017-11-14 19:35:18 +01:00
Pavle Goloskokovic
57c602de7f added audio buffer property to WebAudioSound class
printing error if audio with provided key is not present in cache
updating config duration property based on audio buffer duration
2017-11-14 19:30:51 +01:00
Pavle Goloskokovic
cae01aacf1 added add method to WebAudioSoundManager class, put super constructor call at the top 2017-11-14 17:35:44 +01:00
Pavle Goloskokovic
ca1b81ae12 added sounds array initialisation 2017-11-14 17:21:58 +01:00
Pavle Goloskokovic
8bc6979c73 swapped properties initialization and base constructor call 2017-11-14 16:49:01 +01:00
Pavle Goloskokovic
98b51cea3d added WebAudioSound class 2017-11-14 16:27:22 +01:00
Pavle Goloskokovic
ced54044e9 added return value to BaseSound addMarker method 2017-11-14 16:26:52 +01:00
Pavle Goloskokovic
b5db604ae6 added BaseSound class 2017-11-14 16:00:24 +01:00
Pavle Goloskokovic
d43eb0de50 added basic methods and properties to the BaseSoundManager class 2017-11-13 19:39:32 +01:00
Pavle Goloskokovic
0fe8757054 moved create method meant for instantiating global sound manager object form BaseSoundManager class to dedicated SoundManagerCreator class
moved setting local game reference from WebAudioSoundManager class to BaseSoundManager class constructor
fixed bug with audio context creation condition in WebAudioSoundManager class
2017-11-10 19:05:26 +01:00
Pavle Goloskokovic
0b348f83ec updated conditional logic for choosing correct sound manager and audio files implementation 2017-11-10 13:36:13 +01:00
Pavle Goloskokovic
24dfdb1e54 renamed SoundManager class to BaseSoundManager 2017-11-10 13:05:29 +01:00
Pavle Goloskokovic
73aa864914 added WebAudioSoundManager class 2017-11-10 12:55:32 +01:00
Pavle Goloskokovic
2dff3dd1be added SoundManager class 2017-11-09 14:37:41 +01:00
photonstorm
f79db37cda Updated to new class structure, fixed lots of ESLint errors and moved EarCut into the geom folder and used the un-minified and latest version. 2017-07-04 14:48:18 +01:00
Richard Davey
5fff7c4c55 Removed console.log and fixed Wrap function. 2017-06-17 04:15:02 +01:00
photonstorm
8264351f75 Renamed GetObjectValue to GetValue and replaced through-out entire codebase. More consistent now with GetAdvancedValue, etc. 2017-04-26 16:03:22 +01:00
Richard Davey
7999f72d81 Moved GetObjectValue into utils/object 2017-02-04 05:39:37 +00:00
photonstorm
36825cd487 Added new Dynamic FX Generator.
Added AudioContext polyfill.
Added start of ROADMAP.
2017-01-11 04:38:15 +00:00