Commit graph

1087 commits

Author SHA1 Message Date
Eric Rosenbaum
730c57a976 Remove instruments and drums 2017-11-21 10:44:50 -05:00
Eric Rosenbaum
eb27dcd03a
Merge pull request #64 from LLK/feature/get-audioplayer-input-node
Add a function to get an AudioPlayer’s input node
2017-11-14 18:50:53 -05:00
Eric Rosenbaum
202d6d8b02 Add a function to get an AudioPlayer’s input node 2017-11-09 16:28:03 -05:00
Eric Rosenbaum
3cad765e76 Merge pull request #60 from LLK/bugfix/safari-stop
Safely stop sounds in safari
2017-08-22 14:13:36 -04:00
Eric Rosenbaum
283049e514 Safely stop sounds in safari 2017-08-22 11:33:18 -04:00
Paul Kaplan
e57484c2f5 Merge pull request #58 from paulkaplan/start-audio-ios
Use StartAudioContext to allow playing on mobile safari
2017-07-27 09:54:51 -04:00
Paul Kaplan
a9168f04aa Use StartAudioContext to allow playing on mobile safari 2017-07-26 20:20:39 -04:00
Paul Kaplan
20d05ee5c9 Merge pull request #57 from paulkaplan/use-uid-not-md5
Play sounds by unique sound ID and allow getting/setting buffers by sound ID
2017-07-26 08:59:43 -04:00
Paul Kaplan
e8334e5a9b Fix getter 2017-07-25 12:55:23 -04:00
Paul Kaplan
062f39244b Add public getter/setter for buffers 2017-07-25 12:30:30 -04:00
Eric Rosenbaum
f26dbde03b Merge pull request #56 from LLK/feature/decodeaudiodata-safari
Fall back to the older callback API for decodeAudioData
2017-07-25 11:35:09 -04:00
Eric Rosenbaum
5cb4146aa7 Merge pull request #55 from LLK/feature/panner
Implement panning without panner node
2017-07-25 11:34:51 -04:00
Paul Kaplan
0555407406 Use uid instead of md5 for keying audio buffer cache 2017-07-25 11:33:56 -04:00
Eric Rosenbaum
6863ad25a2 Merge pull request #54 from LLK/feature/shared-audio-context
Use audio-context module for shared audiocontext
2017-07-25 10:13:44 -04:00
Eric Rosenbaum
63cf44b269 Pin to exact version 2017-07-25 10:06:53 -04:00
Eric Rosenbaum
aa2adf6c03 Fall back to the older callback API for decodeAudioData
If promises are not supported, such as on Safari
2017-07-21 12:35:21 -04: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
643d33e482 Use audio-context module for shared audiocontext
To prevent creating multiple audio contexts
2017-07-21 10:50:15 -04:00
Eric Rosenbaum
bd1820ebf7 Merge pull request #47 from LLK/feature/remove-tonejs
Remove tone.js
2017-06-23 13:24:29 -04:00
Eric Rosenbaum
dd0d9556ed Explain loudness scaling, and clamp to 100 2017-06-23 13:13:30 -04:00
Eric Rosenbaum
5add85bd60 Fix comments 2017-06-23 11:58:04 -04:00
Eric Rosenbaum
dba8c6f91d Adjust loudness smoothing 2017-06-23 10:59:10 -04:00
Eric Rosenbaum
a081333ddd Fix comment 2017-06-22 11:07:24 -04:00
Eric Rosenbaum
b7ff586ca1 Inline the interval to frequency function 2017-06-22 11:06:12 -04:00
Eric Rosenbaum
66b4ae3795 Remove unused variable 2017-06-22 10:54:52 -04:00
Eric Rosenbaum
0bc892f03d Use “audioContext” to refer to webAudioContext 2017-06-22 10:51:57 -04:00
Eric Rosenbaum
90af375b03 Use arrow functions 2017-06-21 11:23:32 -04:00
Eric Rosenbaum
43e0408434 Lint 2017-06-21 10:46:42 -04:00
Eric Rosenbaum
2974a5e65b Re-implement loudness block 2017-06-20 18:34:12 -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
09b017ccf4 Merge pull request #46 from LLK/feature/remove-most-effects
Remove all audio effects except pitch and pan
2017-06-19 17:18:38 -04:00
Eric Rosenbaum
ff6cd4a094 Remove all audio effects except pitch and pan 2017-06-19 14:33:23 -04:00
Paul Kaplan
c85c757a72 Merge pull request #43 from paulkaplan/fix-detached-buffer-error
Make a copy before using audio buffer
2017-06-14 12:31:36 -04:00
Paul Kaplan
5c4a88b739 Make a copy before using audio buffer 2017-06-14 09:10:35 -04:00
Eric Rosenbaum
19e1136e3b Merge pull request #41 from LLK/bugfix/sound-onended
Use native audio buffer source node
2017-04-19 14:10:59 -04:00
Chris Willis-Ford
206dce7268 Merge pull request #37 from cwillisf/standardize-settings
Standardize repository settings
2017-04-19 09:51:22 -07:00
Chris Willis-Ford
33293dc426 Merge branch 'develop' into standardize-settings 2017-04-19 09:48:32 -07:00
Eric Rosenbaum
e8864387c6 Use native audio buffer source node
Instead of the Tone js wrapper for it, because a recent update to Tone changed the ‘onended’ callback in a way that broke our “play sound until done” block.
2017-04-18 18:40:06 -04:00
Ray Schamp
1fd097d396 Merge pull request #40 from rschamp/es6
Update to use ES6 class syntax
2017-04-18 18:29:57 -04:00
Ray Schamp
ea3c4a47f2 Fix while condition, disable eslint complaint 2017-04-18 18:05:36 -04:00
Ray Schamp
fa879cee9d Fix static getters
Thanks @ericrosenbaum!
2017-04-18 17:59:37 -04:00
Ray Schamp
bdd6f55dcc Update Travis to Node 6 LTS
For compatibility with ES6
2017-04-18 12:22:06 -04:00
Ray Schamp
9874cf006f Update to use ES6 class syntax 2017-04-18 12:22:06 -04:00
Eric Rosenbaum
5007c43ddf Merge pull request #39 from rschamp/eslint-config-scratch
Use eslint-config-scratch
2017-04-18 12:01:54 -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