Commit graph

2099 commits

Author SHA1 Message Date
Yotam Mann
a60328345e using Tone.Gain everywhere instead of GainNode 2016-09-19 23:53:07 -04:00
Yotam Mann
cc232ce3c3 updated buses to use Gain. clearing send/recv on new AudioContext
testing that a gain can be passed in.
2016-09-19 23:30:43 -04:00
Yotam Mann
76ad44360d updating to new API 2016-09-19 23:02:42 -04:00
Yotam Mann
66911d4c72 internal method for making inputs/outputs 2016-09-19 23:01:21 -04:00
Yotam Mann
66c344de38 using Tone.Gain for Multiply 2016-09-19 21:44:41 -04:00
Yotam Mann
31ea7abbd5 styling the code a bit
[skip ci]
2016-09-19 20:21:42 -04:00
Yotam Mann
a6cc5fe845 Decibels ramp linearly
sounds better.
2016-09-19 19:13:59 -04:00
Yotam Mann
2f525e74b7 will emit 'progress' when there is .lengthComputable is false 2016-09-19 00:16:44 -04:00
Yotam Mann
53d7e8df60 noting changes
[skip ci]
2016-09-19 00:09:18 -04:00
Yotam Mann
03c98a2e79 throws error if Tone.LFO isn't available
might be useful to debug.
2016-09-19 00:08:54 -04:00
Yotam Mann
ebf0eb4f64 added Promise tests 2016-09-19 00:08:23 -04:00
Yotam Mann
3b8d44d344 Buffer.prototype.load returns Promise
Also simplified/removed XHR queuing and other complications
2016-09-19 00:08:16 -04:00
Yotam Mann
6a951fa217 using 'emit' instead of 'trigger'
more similar to Node.js EventEmitter class
2016-09-18 20:07:00 -04:00
Yotam Mann
d8d69ae662 changing old docs which used Buffer.onload
[skip ci]
2016-09-18 20:05:01 -04:00
Yotam Mann
8982688f9e can now pass in Infinity or other valid numbers 2016-09-18 20:03:04 -04:00
Yotam Mann
ceefac97e7 adding lengthComputable so that it never divides by 0 2016-09-18 19:45:16 -04:00
Yotam Mann
702fc5f3c2 noting changes
[skip ci]
2016-09-18 19:42:57 -04:00
Yotam Mann
86fa6233c3 Time copy/clone tests 2016-09-18 19:41:41 -04:00
Yotam Mann
f115b4cdf5 clone/copy methods of Time/TimeBase 2016-09-18 19:41:25 -04:00
Yotam Mann
c135392f55 changing sync to match new Source sync API 2016-09-18 19:37:31 -04:00
Yotam Mann
ad25515c93 Merge branch 'dev' of https://github.com/Tonejs/Tone.js into dev 2016-09-18 19:28:40 -04:00
Yotam Mann
46fc0c732c testing LFO as value 2016-09-18 19:28:20 -04:00
Yotam Mann
71a4c986fc Can pass in an LFO description in the .value parameter 2016-09-18 19:25:47 -04:00
Yotam Mann
bf02bcc894 fixing parens in README
[skip ci]

fixes #162
2016-09-12 11:20:07 -04:00
Yotam Mann
74ffe5ad89 added another demo
[skip ci]
2016-09-08 21:21:00 -04:00
Yotam Mann
de9f15f1e7 fixed another linting error
[skip ci]
2016-09-08 21:20:49 -04:00
Yotam Mann
3eaa98ef51 fixed some linting errors
[skip ci]
2016-09-08 10:29:41 -04:00
Yotam Mann
81c65f0bb0 testing loaded 2016-08-19 18:03:13 -04:00
Yotam Mann
b4c31342fe loaded attribute
iterates over the contained buffers and returns true if all of them are
loaded
2016-08-19 18:03:13 -04:00
Yotam Mann
a1563b90af removing console log
[skip ci]
2016-08-18 22:35:39 -04:00
Yotam Mann
ff5ef1c045 toMilliseconds test 2016-08-18 11:41:15 -04:00
Yotam Mann
f751bba814 can convert to Milliseconds 2016-08-18 11:41:04 -04:00
Yotam Mann
5f38177b9b testing error callbacks 2016-08-16 15:26:56 -04:00
Yotam Mann
535ce86179 adding error callbacks 2016-08-16 15:26:51 -04:00
Yotam Mann
eb706a0f6c noting changes
[skip ci]
2016-08-15 23:35:44 -04:00
Yotam Mann
0971f4a80c noting buffer changes
[skip ci]
2016-08-15 23:15:16 -04:00
Yotam Mann
cea47e5cdb added seek event when changing the Transport's position 2016-08-15 23:13:09 -04:00
Yotam Mann
f5b7924bf2 make sure the duration is always positive
otherwise it throws an error
2016-08-15 23:13:09 -04:00
Yotam Mann
e8f7020eaf sync tests 2016-08-15 23:13:09 -04:00
Yotam Mann
12392eba34 new Transport syncing API
now all calls after sync will be placed along the Transport’s timeline
instead of the AudioContext

Fixes #154
2016-08-15 23:13:09 -04:00
Yotam Mann
f5c5d6cd9a noting changes
[skip ci]
2016-08-15 23:13:09 -04:00
Yotam Mann
2c1e1167a6 buffer length is inconsistent on linux....
might be because it’s block aligned or something. broadening the test
to deal to deal with this.
2016-08-15 11:50:30 -04:00
Yotam Mann
1270727098 testing to/from Array methods 2016-08-15 10:23:01 -04:00
Yotam Mann
2569bfef8b to/fromArray
plus a few more properties.
2016-08-15 10:23:01 -04:00
Yotam Mann
682ec0e46e get/set the progress in seconds 2016-08-15 07:28:52 -04:00
Yotam Mann
e8178581c0 Merge pull request #161 from JackCA/allow-silencing-version-log
allow silencing of version log
2016-08-15 06:44:15 -04:00
Jack Anderson
f2f1cf6b9c allow silencing of version log
- useful for test environments
2016-08-14 12:21:50 -07:00
Yotam Mann
6d0565387e only schedule the stop in a valid state
the playbackState API has been deprecated, but the bug still is
implemented in Safari.
2016-08-11 23:58:48 -04:00
Yotam Mann
79a723cf03 removing effects test 2016-08-09 16:47:14 -04:00
Yotam Mann
ba18a6468d trying to use trusty on travis-ci 2016-08-09 16:22:36 -04:00