Commit graph

156 commits

Author SHA1 Message Date
Yotam Mann
8efd9b9c64 allowing for shallow copies with defaults 2015-10-08 11:36:15 -04:00
Yotam Mann
4b29736ba2 don't do recurse defaultArg if it's an array 2015-09-05 19:17:00 -04:00
Yotam Mann
117337e5e1 make sure signal is defined before checking instanceof 2015-08-28 18:33:02 -04:00
Yotam Mann
180c7fc943 Better docs for some math functions 2015-08-21 17:05:09 -04:00
Yotam Mann
8047294b32 test if signal exists before checking instanceof 2015-08-16 14:23:30 -04:00
Yotam Mann
17f5e8bb8e delays are offset only 1 block now. 2015-07-21 11:22:36 -04:00
Yotam Mann
01060f13db removing old API test 2015-07-18 14:59:18 -04:00
Yotam Mann
5629ecd360 starting r6-dev 2015-07-11 14:55:48 -04:00
Yotam Mann
1d16c25ad9 r5 2015-07-04 16:35:46 -04:00
Yotam Mann
3ccc0683bf changing doc links to markdown style 2015-07-04 15:25:37 -04:00
Yotam Mann
8449622a68 new types MIDI and TransportTime 2015-06-20 15:50:06 -04:00
Yotam Mann
6306841779 doc'ing 2015-06-15 11:27:13 -04:00
Yotam Mann
bb4754928f styling docs 2015-06-14 01:21:10 -04:00
Yotam Mann
de3564827d set example 2015-06-13 22:03:58 -04:00
Yotam Mann
a81ba071f3 changing the styling of this in return statements 2015-06-13 20:54:29 -04:00
Yotam Mann
571183bf27 removing Tone.Type prefix in docs 2015-06-13 20:20:36 -04:00
Yotam Mann
3ee0ab2e3e adding typedefs to Tone.Type 2015-05-31 10:54:23 -04:00
Yotam Mann
68a47a9d58 Normal->NormalRange & Number->Default 2015-05-24 09:45:15 -04:00
Yotam Mann
38f66d92ad get can use "." to access deeper props 2015-05-24 09:34:17 -04:00
Yotam Mann
6ef3dd2f51 renamed Tone.Time -> Tone.Type.Time 2015-05-23 19:01:05 -04:00
Yotam Mann
f0bcd68812 renamed Tone.Signal.Units to Tone.Type
also renamed Tone.Source.State to Tone.State
2015-05-23 18:57:05 -04:00
Yotam Mann
d63290f4ee returning to original get method
gets everything, not just the defaults of the parent
2015-05-13 12:13:00 -04:00
Yotam Mann
d8575a38ba get crawls defaults correctly 2015-05-12 23:46:12 -04:00
Yotam Mann
a85b72727f setting read/write as an array 2015-04-05 14:53:27 -04:00
Yotam Mann
4be776955d private _writable method
inverse of readOnly
2015-04-05 14:42:32 -04:00
Yotam Mann
3a93d52ee1 making source's signal attributes readOnly
this helps avoid a common error which is overwriting a signal property
instead of setting the .value attribute
2015-04-05 14:00:52 -04:00
Yotam Mann
56e178af76 incremented version 2015-03-09 10:47:44 -04:00
Yotam Mann
269b2940c3 r4 build 2015-03-03 12:15:37 -05:00
Yotam Mann
a791d80ddf removing some vestigial methods 2015-02-26 11:26:49 -05:00
Yotam Mann
371e3ce387 more jsdoc examples 2015-02-25 16:20:12 -05:00
Yotam Mann
9e7742fde7 ramp values in set method 2015-02-23 14:07:52 -05:00
Yotam Mann
c7cf0d0823 setting a preset moved to core 2015-02-23 00:32:33 -05:00
Yotam Mann
0ae0d60419 safety checks on set 2015-02-17 11:07:34 -05:00
Yotam Mann
3d1ba46e4c fixed bug in fan method 2015-02-13 16:09:49 -05:00
Yotam Mann
35ca46e811 removing static annotation. 2015-02-11 14:38:10 -05:00
Yotam Mann
e1bdfdc8ef return this in Core 2015-02-10 11:41:14 -05:00
Yotam Mann
9c3aa24426 using new setter/getter in core 2015-02-04 10:16:33 -05:00
Yotam Mann
ee8c2cd43f using isFunction method 2015-02-02 09:41:32 -05:00
Yotam Mann
362afb32eb returning to public dispose method 2015-02-01 22:05:24 -05:00
Yotam Mann
0429548703 small optimization in getter/setter 2015-02-01 20:37:40 -05:00
Yotam Mann
650458fafd new dispose and get/set api
integrated new API on sources
2015-02-01 20:02:13 -05:00
Yotam Mann
9070b13c89 ES5 add getter/setter method 2015-02-01 15:48:20 -05:00
Yotam Mann
2e15f03490 Revert Tone.Volume representation 2015-01-05 23:33:05 -05:00
Yotam Mann
d659e923bb Tone.Volume representation
accepts db as strings like “6db”
2015-01-05 22:45:24 -05:00
Yotam Mann
bf325680a6 started r4-dev 2014-12-03 23:04:56 -05:00
Yotam Mann
f79ccd9825 release candidate 3 2014-12-03 22:41:56 -05:00
Yotam Mann
2d0bcffc9f adding defaults to jsdocs 2014-12-02 01:42:08 -05:00
Yotam Mann
c5da40969e chain and fan methods use 'this' nodes output 2014-11-30 17:46:09 -05:00
Yotam Mann
cf2cb263b2 chain -> connectSeries, fan -> connectParallel 2014-11-30 17:37:29 -05:00
Yotam Mann
484a7bf47d Tone constructor accepts input/output num as param 2014-11-04 01:01:57 -05:00
Yotam Mann
6362b59725 fixed connect method bug non-array multiple ins 2014-11-01 16:18:07 -04:00
Yotam Mann
f913c50241 precompute the bufferTime for a single frame
still need to figure out how to find the frame size
2014-10-16 14:51:25 -04:00
Yotam Mann
4f9850d315 disconnect method handles output arrays 2014-10-13 15:58:21 -04:00
Yotam Mann
666d8f96c1 removed reference to global 'define' with build
gets rid of the problem of having the global ‘define’ left defined in
the window which may have adverse effects on other AMD shim modules.
2014-10-02 18:55:24 -04:00
Yotam Mann
0233abf40e cool color console printing 2014-10-01 14:48:05 -04:00
Yotam Mann
d99de46c26 started r3-dev version. 2014-09-24 14:43:11 -04:00
Yotam Mann
4427463013 release candidate 2 2014-09-23 21:57:32 -04:00
Yotam Mann
b4d2ad9bc7 put bufferSize back to 2048
need a solution where i can determiner he buffer size of the sound
card.
2014-09-20 21:17:24 -04:00
Yotam Mann
49341e2eae lowered buffer size 2014-09-20 19:23:07 -04:00
Yotam Mann
41225430aa started r2-dev 2014-09-12 11:53:07 -04:00
Yotam Mann
2ebd70b09b release 1 candidate. 2014-09-11 20:37:40 -04:00
Yotam Mann
669c52ee60 jsdoc'ing. 2014-09-11 13:38:41 -04:00
Yotam Mann
f51f7370a4 moved note stuff to Tone.Note 2014-09-11 13:00:09 -04:00
Yotam Mann
50dcc6ccb0 jshint wants constructors to be Capitalized 2014-09-10 13:51:37 -04:00
Yotam Mann
06987ea9e6 class tag on Tone 2014-09-09 00:24:51 -04:00
Yotam Mann
af85ae7e19 Added "use strict" to all classes
Fixes #17
2014-09-04 00:41:40 -04:00
Yotam Mann
c1bdba8cf4 WaveTable -> PeriodicWave for old browsers 2014-09-02 16:57:25 -04:00
Yotam Mann
62b5bfffed flexible function signature if define is not defined 2014-09-02 12:08:52 -04:00
Yotam Mann
b45fc88ed0 removing base class set method.
it did nothing…
2014-08-29 16:40:20 -04:00
Yotam Mann
1dae08f874 switching to releases instead of versions 2014-08-25 18:43:37 -04:00
Yotam Mann
43206cbf29 ability to take options object AND parameters 2014-08-24 19:28:42 -04:00
Yotam Mann
ccc24fb21b fan out connections 2014-08-24 15:58:02 -04:00
Yotam Mann
595f81283e updated Tone.dispose to handle input/output arrays
#15
2014-08-24 15:51:24 -04:00
Yotam Mann
c92c76fef3 added an abstract set method to the base class
#16
2014-08-23 16:07:55 -04:00
Yotam Mann
dc98641558 dispose method calls parent's dispose method
related to issue #15. finished for all effects.
2014-08-23 15:51:21 -04:00
Yotam Mann
6f6d0ea91b recursively handles nested objects 2014-08-21 20:55:00 -04:00
Yotam Mann
b26f313bd7 defaultArgs can do defaults on objects 2014-08-21 00:58:44 -04:00
Yotam Mann
41e3e877d2 notes start at C instead of A 2014-08-20 20:46:28 -04:00
Yotam Mann
ffcd6807df simplified version number 2014-08-18 07:50:58 -04:00
Yotam Mann
a9714afbc2 setContext 2014-07-30 13:55:59 -04:00
Yotam Mann
1ce8c653a8 fixed output connection bug 2014-07-22 13:38:42 -04:00
Yotam Mann
524bae2e60 accepts input/output number selection 2014-07-22 12:48:04 -04:00
Yotam Mann
bd05a1c1ed startMobile. connect to array of inputs 2014-07-22 11:30:18 -04:00
Yotam Mann
b848ee9f9b incremented version 2014-07-02 17:11:50 -04:00
Yotam Mann
f840861496 added a version number 2014-07-02 15:59:11 -04:00
Yotam Mann
072709f5b3 license in JSDocs 2014-07-02 15:51:55 -04:00
Yotam Mann
0af07289fd recursive connect if the input is also a ToneNode 2014-07-02 15:36:41 -04:00
Yotam Mann
3391d0d08d added notes to frequency and updated connect method 2014-06-30 17:09:55 -04:00
Yotam Mann
9ea64668cc new docs theme. 2014-06-23 14:52:33 -04:00
Yotam Mann
5ff3b1e4ee working on docs 2014-06-23 14:20:20 -04:00
Yotam Mann
275b05b96e updated toSeconds api and throws error if no web audio 2014-06-21 15:55:14 -04:00
Yotam Mann
c9713d46dd renamed tests/WebAudio to tests/Core
added tests to core
2014-06-20 00:57:56 -04:00
Yotam Mann
4b319a0690 new docs. 2014-06-19 21:48:16 -04:00
Yotam Mann
2201089ebd working on docs 2014-06-19 13:38:21 -04:00
Yotam Mann
8c9c236bf1 Merge branch 'master' of https://github.com/TONEnoTONE/Tone.js
Conflicts:
	Tone/source/Player.js
2014-06-19 01:41:04 -04:00
Yotam Mann
0d16ca01ae handling Garbage Collection more explicitly
surfacing memory management methods so that users can control when
things get garbage collected
2014-06-18 22:35:31 -04:00
Chris Deaner
ab776cca3c Added Grunt Buid system for building the lib as well as generating jsdocs.modified files in accordance with the grunt jsdoc specs 2014-06-18 17:39:05 -04:00
Yotam Mann
5aba8dd6de component to record anything from it's input 2014-06-18 12:06:29 -04:00
Yotam Mann
93d053aec5 removed ability to set new AudioContext
for now…
2014-06-18 01:35:56 -04:00
Yotam Mann
164252cf0c moved frequency timing to Transport
now all timing is in Tone.Transport
2014-06-17 18:46:24 -04:00