Commit graph

215 commits

Author SHA1 Message Date
Yotam Mann
2d0bcffc9f adding defaults to jsdocs 2014-12-02 01:42:08 -05:00
Yotam Mann
c8478192e1 get the time till the next beat
useful for the eventual quantization
2014-11-30 22:40:07 -05:00
Yotam Mann
25496dea77 switched to updated chain method 2014-11-30 21:32:09 -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
7a8c8d168b Merge branch 'expr' into dev
Conflicts:
	.gitignore
	CHANGELOG.md
	Tone/signal/Modulo.js
	test/tests/Effect.js
2014-11-01 18:34:22 -04:00
Yotam Mann
6362b59725 fixed connect method bug non-array multiple ins 2014-11-01 16:18:07 -04:00
Yotam Mann
76c596ca31 Fixed whitespace problem with toSeconds 2014-10-25 11:57:00 -04:00
Yotam Mann
4766f5a27f Transport loops when greater than the loopEnd
used to be just equal to. caused bugs sometimes.
2014-10-23 00:24:02 -04:00
Yotam Mann
e1ba3a4487 returns an array when given an array 2014-10-22 22:27:01 -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
d71f83c8fd adds new Buffer class to core 2014-10-21 14:44:02 -04:00
Yotam Mann
4a4da6c85b use MasterConstructor on init 2014-10-19 16:08:40 -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
Kevin Siwoff
f784f5585f adds Buffer class, refactors Player class to use new Buffer member 2014-10-16 14:48:23 -04:00
Yotam Mann
3eba6e58a4 optimizing initial script loading 2014-10-16 00:49:31 -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
93d9dd24c0 can start the transport at a specific offset 2014-10-02 13:22:44 -04:00
Yotam Mann
0233abf40e cool color console printing 2014-10-01 14:48:05 -04:00
Yotam Mann
ef80d1e81c light styling. 2014-10-01 14:47:45 -04:00
Yotam Mann
0c6383c49c change swing to default to 16th note 2014-09-29 23:42:56 -04:00
Yotam Mann
704593b655 swing control on the Transport 2014-09-24 23:46:57 -04:00
Yotam Mann
26d2e1ef59 making a note of where methods get defined.
makes it easier to know which files to include.
2014-09-24 23:43:10 -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
b59978d5fa note<-->midi methods 2014-09-21 15:18:04 -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
603bc03d62 deferring on clock tick
to not block the audio thread
2014-09-15 21:45:31 -04:00
Yotam Mann
ef12e6e5d0 fixed bugs with context setting and stop method 2014-09-14 15:34:17 -04:00
Yotam Mann
f2ae3bd594 include an onend function for stop 2014-09-14 15:33:32 -04:00
Yotam Mann
41225430aa started r2-dev 2014-09-12 11:53:07 -04:00
Yotam Mann
01003bc9d5 fixed note comment. 2014-09-11 20:45:02 -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
7850bdabc1 changed Master class to Tone.Master
this is for jsdoc purposes.
2014-09-11 13:00:59 -04:00
Yotam Mann
f51f7370a4 moved note stuff to Tone.Note 2014-09-11 13:00:09 -04:00
Yotam Mann
b3af62fa4a documented Transport and Tone.Time 2014-09-10 22:37:57 -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
d6806a02ea setLoopPoint -> setLoopPoints 2014-09-06 15:37:33 -04:00
Yotam Mann
2016778123 checks if part is array 2014-09-06 15:37:15 -04:00
Yotam Mann
a01dbb8518 setVolume in db like other set volumes 2014-09-06 15:36:59 -04:00
Yotam Mann
d71f1cb5b7 jsdocs updates. 2014-09-05 11:32:35 -04:00
Yotam Mann
f378b81fcf can set context with master as well
Fixes #7
2014-09-04 19:04:16 -04:00
Yotam Mann
1cfa016026 fixes jsdoc error 2014-09-04 15:22:25 -04:00
Yotam Mann
af85ae7e19 Added "use strict" to all classes
Fixes #17
2014-09-04 00:41:40 -04:00
Yotam Mann
03bec5cb05 new score format. 2014-09-03 22:37:05 -04:00
Yotam Mann
c1bdba8cf4 WaveTable -> PeriodicWave for old browsers 2014-09-02 16:57:25 -04:00
Yotam Mann
e4d3aaab2b optional input arg to receive. 2014-09-02 12:09:16 -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
59b69a8d3a has an initial bpm of 120 2014-08-29 16:36:31 -04:00
Yotam Mann
1dae08f874 switching to releases instead of versions 2014-08-25 18:43:37 -04:00
Yotam Mann
b4b3b46521 Note values should be JSONable 2014-08-25 18:40:15 -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
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
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
5f383d1f03 Tone.Note registers note events
makes it easy to write JSON scores for multiple instruments.
2014-08-20 16:51:56 -04:00
Yotam Mann
ffcd6807df simplified version number 2014-08-18 07:50:58 -04:00
Yotam Mann
474b51ddd8 a single Transport object which doesn't get replaced 2014-07-30 15:12:21 -04:00
Yotam Mann
a9714afbc2 setContext 2014-07-30 13:55:59 -04:00
Yotam Mann
7081619bcf doesn't expose Buses anymore 2014-07-30 13:55:36 -04:00
Yotam Mann
9afc03afa7 fixed typo, can now set context 2014-07-30 13:55:24 -04:00
Yotam Mann
cd4388fe89 refactored out clock from Transport 2014-07-30 13:54:55 -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
0b4def6155 Tone.Sources can sync to the Transport 2014-06-25 12:47:47 -04:00
Yotam Mann
265b604e83 small doc changes 2014-06-23 23:18:19 -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
4cd751e541 transportTicks and timelineTicks are separate
this allows for timeouts and intervals to go on independent of timeline
loop points.
2014-06-23 13:30:38 -04:00
Yotam Mann
1f922516e7 aesthetic improvements 2014-06-23 00:53:59 -04:00
Yotam Mann
fd75f7e167 updated initial tempo value and toSeconds API 2014-06-21 15:55:14 -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
63278d6042 set master volume 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
9e1c46a85d merged transport.js with yotam 2014-06-18 17:41:39 -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
ded174c20a ability to clear all timeline events 2014-06-18 16:45:25 -04:00
Yotam Mann
7ca876d24a jshint 2014-06-18 15:46:31 -04:00
Yotam Mann
6566a32531 jshint + jsdoc 2014-06-18 15:39:10 -04:00
Yotam Mann
13f6e3df8a added transport state
stopped/started/paused
2014-06-18 15:10:18 -04:00
Yotam Mann
a43e745464 transport events added correctly 2014-06-18 14:44:30 -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
7d02476732 setBpm after start working 2014-06-18 01:35:34 -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
Yotam Mann
e69b897eac ability to set new AudioContext 2014-06-16 19:58:07 -04:00
Yotam Mann
6ff458845c document, cleanup and lint 2014-06-16 01:44:00 -04:00
Yotam Mann
91dfc19b60 jshint + jsdoc. setTimeline
refactor includes privatizing many functions and variables
2014-06-15 20:59:49 -04:00
Yotam Mann
5e41da8f46 JSHint + JSDoc 2014-06-15 18:32:49 -04:00
Yotam Mann
4f4db8d2ac started JSHinting + JSDocs 2014-06-15 17:38:36 -04:00
Yotam Mann
a9e965d5ae Added multiply signal
working towards being able to lock LFOs to tempo
2014-04-16 16:47:28 -04:00
Yotam Mann
481b728d18 added named buses. 2014-04-16 00:23:58 -04:00
Yotam Mann
85e0201371 integrated Transport and musical timing for all methods that take times 2014-04-11 19:17:01 -04:00
Yotam Mann
7fe5c47b8a major rename. sorry again. 2014-04-06 16:51:30 -04:00