Commit graph

85 commits

Author SHA1 Message Date
Luke Phillips
a7e4e316c1 Source getter functions 2015-01-20 13:48:54 +00:00
Luke Phillips
b11f86be7c Oscillator getter functions 2015-01-20 12:33:07 +00:00
Luke Phillips
e6caa81479 don't crash if user deny's microphone stream 2014-12-16 17:55:08 +00:00
Luke Phillips
8fafb3d20b microphone disconnect error 2014-12-15 17:08:14 +00:00
Yotam Mann
cd31d02048 jsdoc'ing 2014-12-03 21:38:24 -05:00
Yotam Mann
1b9cc1483b jsdoc'ing 2014-12-03 17:20:23 -05:00
Yotam Mann
2d0bcffc9f adding defaults to jsdocs 2014-12-02 01:42:08 -05:00
Yotam Mann
25496dea77 switched to updated chain method 2014-11-30 21:32:09 -05:00
Yotam Mann
cf2cb263b2 chain -> connectSeries, fan -> connectParallel 2014-11-30 17:37:29 -05:00
Yotam Mann
310231dbd1 using Tone.WaveShaper instead of native node 2014-11-30 13:20:35 -05:00
Yotam Mann
2b22bfac31 updating dependencies 2014-11-24 18:51:35 -05:00
Yotam Mann
0a442a2608 oscillator accepts Tone.Time as frequency 2014-11-09 10:57:14 -05:00
Yotam Mann
dcfac108eb using Tone constructor in signal classes 2014-11-04 01:21:42 -05:00
Yotam Mann
0bea209d68 simplify buffer constructor 2014-10-22 22:27:21 -04:00
Yotam Mann
3b10b93eca Merge pull request #39 from indefinit/unicode-fix
Unicode fix
2014-10-22 21:55:21 -04:00
Kevin Siwoff
054d5ff2e8 fixes buffer initialization in Player.js 2014-10-22 18:24:58 -04:00
Kevin Siwoff
b45c983152 updates player class and build for Buffer 2014-10-21 14:55:29 -04:00
Yotam Mann
9f827a8dad short delay to avoid clicks on change OmniOsc type 2014-10-16 14:52:08 -04:00
Kevin Siwoff
f784f5585f adds Buffer class, refactors Player class to use new Buffer member 2014-10-16 14:48:23 -04:00
Yotam Mann
a4cc79cfde stopped state doesn't wait for on ended event
the oneneded event is inconsistent when the source is not connected
directly to Master (such as in the case of an LFO).

Fixes #34
2014-10-08 11:59:31 -04:00
Yotam Mann
7972f0db34 Pulse, PWM, and Omni extend Oscillator 2014-10-03 16:07:30 -04:00
Yotam Mann
a8e156fcaf made Oscillator.oscillator _private 2014-10-03 16:06:42 -04:00
Yotam Mann
2daa8c64ad Oscillators inherit Tone.Oscillator setFrequency 2014-10-03 15:16:32 -04:00
Yotam Mann
e2c0e47f2f Noise getType method 2014-10-03 14:54:09 -04:00
Yotam Mann
1ed4f5288c allowing for loopEnd to be a Tone.Time 2014-10-03 01:00:48 -04:00
Yotam Mann
02c21fed73 switches types without a pop 2014-10-03 01:00:37 -04:00
Yotam Mann
35bdca0568 default Player loop is still the end of the file 2014-10-02 18:58:24 -04:00
Yotam Mann
7d26a67910 loop attributes can be passed in options object
also attributes can remain tempo relative. #27
2014-10-02 13:21:22 -04:00
Yotam Mann
d3f9834ca0 typo in Noise 2014-10-01 00:55:31 -04:00
Yotam Mann
452983920f using OmniOscType enum type 2014-09-30 22:48:21 -04:00
Yotam Mann
14d254fd97 altering default values 2014-09-30 22:48:00 -04:00
Yotam Mann
18bab7da59 setters and options objects for Sources
Fixes #27
2014-09-30 00:28:48 -04:00
Yotam Mann
1e7f46ff61 jsdoc addition 'const' 2014-09-29 23:45:31 -04:00
Yotam Mann
23128469ca combination oscillator class 2014-09-29 23:44:59 -04:00
Yotam Mann
014c5e5db2 new PWMOscillator class 2014-09-29 23:44:43 -04:00
Yotam Mann
c67468cab6 PulseOscillator setters 2014-09-29 23:44:35 -04:00
Yotam Mann
1dcaccdb4c defaults to loopStart offset if offset is not given 2014-09-29 23:44:15 -04:00
Yotam Mann
71af6ca206 testing dispose methods for all classes.
a few classes were not being disposed correctly and leaving some
garbage attached.
2014-09-06 18:55:11 -04:00
Yotam Mann
818797712c made the sawtooth private in pulse oscillator 2014-09-06 15:56:41 -04:00
Yotam Mann
af85ae7e19 Added "use strict" to all classes
Fixes #17
2014-09-04 00:41:40 -04:00
Yotam Mann
39c7da2ab1 styling examples 2014-09-04 00:06:01 -04:00
Yotam Mann
9adbcc3c4d getType 2014-09-02 00:25:20 -04:00
Yotam Mann
c88826e979 setPhase method on Oscillator
This method uses not DelayNode so sample accurate start/stop are
maintained.

Fixes #18
2014-08-31 16:35:02 -04:00
Yotam Mann
76ee2b5540 Tone.PulseOscillator first commit
fixes #25
2014-08-31 16:29:56 -04:00
Yotam Mann
7f7493105a added set method
#27

also fixed dispose method
2014-08-29 17:14:41 -04:00
Yotam Mann
42288c5942 setVolume in db now 2014-08-25 21:47:22 -04:00
Yotam Mann
3cd76459e5 link to parent's dispose method
Fixes #15
2014-08-24 16:24:16 -04:00
Yotam Mann
b2c85eaf44 signals inherit Signal.connect method
this is so that params and signals they connect to don’t need to be
manually zeroed out after connecting.

Fixed #11
2014-08-24 13:19:49 -04:00
Yotam Mann
3f40e26c14 fixed typo 2014-08-23 15:18:51 -04:00
Yotam Mann
be344b7963 unused argument 2014-08-21 14:20:55 -04:00