Commit graph

32 commits

Author SHA1 Message Date
Michael "Z" Goddard
16883f60f8
support null AudioPlayer in Effect
Support null AudioPlayer so Effect chains can be declared without it.
2018-06-11 16:16:13 -04:00
Michael "Z" Goddard
0059ff53e1
start audio param transition at now
Explicitly start the param transitions at the audio context's now time.
2018-06-11 16:16:13 -04:00
Michael "Z" Goddard
841b029d7f
streamline connecting Effects
- Add sanity checks to connect
2018-06-08 12:39:30 -04:00
Michael "Z" Goddard
1d9e530df2
add VolumeEffect 2018-06-06 14:40:21 -04:00
Michael "Z" Goddard
8a75061a19
fix Effect bugs 2018-06-06 14:38:26 -04:00
Michael "Z" Goddard
618239654f
fixup! extend existing effects from Effect 2018-06-05 14:42:46 -04:00
Michael "Z" Goddard
5b8f0fce65
fixup! extend existing effects from Effect 2018-06-05 13:59:53 -04:00
Michael "Z" Goddard
61e54b2457
extend existing effects from Effect
Add Effect class that manages connecting the effects in a chain from
their AudioPlayer to the AudioEngine.
2018-06-05 12:46:29 -04:00
Eric Rosenbaum
d2b6cb40e3 Disconnect audio nodes on dispose 2018-01-09 18:18:49 -05:00
Eric Rosenbaum
734f976585 New name and value for DECAY_TIME 2017-12-20 15:17:26 -05:00
Eric Rosenbaum
1c8a545a8a Set gain using setTargetAtTime 2017-12-20 12:07:53 -05:00
Eric Rosenbaum
68d5ac2e34 Lint 2017-07-21 12:10:32 -04:00
Eric Rosenbaum
89cdb92c23 Implement panning without panner node 2017-07-21 12:04:43 -04:00
Eric Rosenbaum
b7ff586ca1 Inline the interval to frequency function 2017-06-22 11:06:12 -04:00
Eric Rosenbaum
0bc892f03d Use “audioContext” to refer to webAudioContext 2017-06-22 10:51:57 -04:00
Eric Rosenbaum
43e0408434 Lint 2017-06-21 10:46:42 -04:00
Eric Rosenbaum
03034dd2f7 Remove dependency on Tone.js 2017-06-20 16:50:02 -04:00
Eric Rosenbaum
865d3cde88 Correctly call this.intervalToFrequencyRatio 2017-06-19 17:41:08 -04:00
Eric Rosenbaum
e515bf4026 Cleanup 2017-06-19 17:40:53 -04:00
Eric Rosenbaum
5e6e33264d Remove tone.js dependency 2017-06-19 17:25:11 -04:00
Eric Rosenbaum
ff6cd4a094 Remove all audio effects except pitch and pan 2017-06-19 14:33:23 -04:00
Ray Schamp
9874cf006f Update to use ES6 class syntax 2017-04-18 12:22:06 -04:00
Ray Schamp
e50ba400f9 Update syntax for eslint-config-scratch 2017-04-17 11:52:12 -04:00
Ray Schamp
ee8462f53f Pass with eslint --fix 2017-04-17 11:52:12 -04:00
Eric Rosenbaum
b68c84af02 check for own property in for (var _ in _ ) 2017-02-02 15:10:10 -05:00
Eric Rosenbaum
1a26fecca1 Comment all the things! 2017-02-02 14:53:17 -05:00
Eric Rosenbaum
7483cbdb2f JSDoc comments 2017-02-01 18:02:04 -05:00
Eric Rosenbaum
e1d478244d audioengine loads sounds indexed by md5
audioplayers store list of their own active sound players indexed by md5 of the sound. sound players are created when the sound is played, deleted when it ends, and removed from the list of active sound players. the pitch effect uses this list of active sound players to set their playback ratios.
2017-01-30 11:09:45 -05:00
Eric Rosenbaum
c54fc0f154 comments 2017-01-10 18:03:15 -05:00
Eric Rosenbaum
b99b639cd2 set wet value for echo to 0.5 2017-01-04 15:30:20 -05:00
Eric Rosenbaum
645a080b89 lint 2016-11-30 11:29:00 -05:00
Eric Rosenbaum
9120c3d430 make objects for each effect 2016-11-29 18:33:09 -05:00