Commit graph

1904 commits

Author SHA1 Message Date
Yotam Mann
0f7089c852 only clamp to the context time when the source is not synced
addresses #540
2019-09-05 18:24:08 -04:00
Yotam Mann
f7405d963a Removing disconnect on ended
not necessary and caused a lot of issues

fixes #463
2019-08-07 11:50:44 -04:00
Yotam Mann
86b2848378 total time = decay + predelay
summing instead of subtracting fixes potential range issues when preDelay is larger than decay

fixes #512
2019-08-07 11:48:11 -04:00
Yotam Mann
507f095992 compute time string values for envelope attack/release
fixes #501
2019-08-07 11:46:04 -04:00
Yotam Mann
cf31bb6bda end exponentialApproach with a linearRamp
this makes sure that the value ends at the correct value and time instead of continuously approaching.

also addresses https://bugs.chromium.org/p/chromium/issues/detail?id=990393&can=2&q=small%20timeConstant
2019-08-02 13:09:24 -04:00
Yotam Mann
f393cf5815 version should always be 'dev' until built by travis 2019-08-02 11:37:59 -04:00
Yotam Mann
d20f6e8fe9 Releases all held notes
thanks @lidiovargas! i ended up going with something more similar to your first solution. just removing the arrow function to fix the linting error
2019-08-02 10:43:31 -04:00
Lidio Vargas
82a9b54de1 Fixing sustained notes on Tone.Sampler (travis checked) 2019-08-01 21:00:05 -03:00
Lidio Vargas
f0febbdade Fixing sustained notes on Tone.Sampler (passing test) 2019-08-01 20:32:24 -03:00
Lidio Vargas
65098a0229 Fixing released-sustained notes on Tone.Sampler 2019-07-28 14:01:50 -03:00
Jared Ellison
6eaa8328cb Update JSDoc for loop property of Tone.Part and Tone.Event 2019-07-08 13:43:04 -04:00
Jared Ellison
a3d4cd2007 Refactor _rescheduleEvents to prevent repeating events when loop = 1 2019-07-05 10:57:39 -04:00
ixnv
54fa8cddb3 fix doc for FatOscillator (#496)
* fix doc for FatOscillator

seems to be copypaste from FMOscillator

* fix doc for FatOscillator
2019-06-10 15:43:40 -04:00
tboie
ec4d306751 addresses osc type from #463 (#497) 2019-06-10 15:42:45 -04:00
tambien
4e92be1639 Merge branch 'dev' of https://github.com/Tonejs/Tone.js into dev 2019-05-23 14:01:06 -04:00
tboie
ba1900dab6 Tone.Disconnect Fix (#483)
-use while loop with a flag
-fixes #461
2019-05-14 21:40:23 -04:00
Stephan Lagerwaard
01670b2644 Change const to var for ES5 compatibility (#488) 2019-05-13 09:29:41 -04:00
Colin
bb67e9c83d Improved explanation of size in FFT/Analyser docs (#477) 2019-04-12 10:45:34 -04:00
tboie
bcd22b0463 #473 (#478)
Fixes Part loop toggle
2019-04-12 10:44:24 -04:00
tambien
a32ad7f0d0 Merge branch 'dev' of https://github.com/Tonejs/Tone.js into dev 2019-04-12 10:39:48 -04:00
Colin
aa92ea6162 Correct description for Tone.FFT (#476) 2019-04-11 17:43:21 -04:00
tboie
8f08316b41 #471 (#472) 2019-04-04 15:10:03 -04:00
tambien
755aae326f removing unused import 2019-03-25 22:17:13 -07:00
tambien
75fc8c3874 fixing docs
[skip ci]
2019-03-25 19:44:58 -07:00
tambien
3c2d1250ea passes in the player to the callback
fixes #460
2019-03-25 11:53:57 -07:00
tambien
56800fe11b Disconnecting but not disposing onend
addresses #463
2019-03-19 20:26:28 -04:00
tambien
ae8be83cc5 fixing typo
fixes #462
2019-03-14 10:29:51 -04:00
tambien
c1d748deed adding case where attack time is 0
fixes #425
2019-03-12 13:22:25 -04:00
tambien
023758425b use the playbackRate when computing the offset of a synced player
fixes #349
2019-03-12 11:25:33 -04:00
tambien
15823d2664 Merge branch 'dev' of https://github.com/Tonejs/Tone.js into dev 2019-03-12 10:53:08 -04:00
tambien
66d6dad002 reverse buffer when setting
This way when the buffer is loaded or set in any way, reverse will be applied.

fixes #456
2019-03-12 10:53:03 -04:00
Vasilii Smirnov
cd7b4c7fed Fixed 'notes' parameter in Sampler methods to point that several notes can be played. (#457) 2019-03-11 19:38:29 -04:00
tambien
ff371dfd69 converting arg to time 2019-03-09 17:52:03 -05:00
tambien
655b3310d3 setting reverse value which is passed into through an object
fixes #456
2019-03-09 16:14:51 -05:00
tambien
d694612ef8 fixing docs and deps imports 2019-03-08 13:01:41 -05:00
tambien
a3cc8d0f60 guarding against double disposing 2019-03-08 13:01:09 -05:00
tambien
a23ba73fc4 dispose oscillator onended 2019-03-08 12:17:27 -05:00
tambien
57d30ff6d6 optimizing case of basic oscillator types
fixes #427
2019-03-08 12:17:20 -05:00
tambien
34405caeb1 Merge branch 'dev' of https://github.com/Tonejs/Tone.js into dev 2019-03-08 11:36:29 -05:00
tambien
380c901558 explicitly listing methods/properties instead of iterating over the context properties 2019-03-08 11:36:27 -05:00
tambien
d601b4be3a dispose the buffer onended
addresses #378
2019-03-08 11:30:00 -05:00
Stephan Lagerwaard
2f9d21006c Removed linear ramp from the reverb pre-delay (#454)
fixes #450
2019-03-07 09:48:00 -05:00
Stephan Lagerwaard
7269f3bdfa Added option to silence both loggers the context (#453) 2019-03-06 14:59:17 -05:00
tambien
0e94a0f046 correction in docs 2019-03-03 20:37:18 -05:00
tambien
fd4ec1ee97 CtrlPattern should return undefined when there's no values 2019-02-15 13:08:44 -05:00
tambien
c023181579 linting 2019-02-15 13:03:10 -05:00
Pirmin Schneider
a0be597564 update documentation examples of FeedbackDelay and PingPongDelay (#442)
rename DrumSynth->MembraneSynth
2019-02-08 09:29:10 -06:00
tambien
7818531e0f increasing render chunk size
addresses #436
2019-02-04 12:38:10 -05:00
tambien
45e4bf11c8 shim to ensure that AudioNode.connect returns the destination node
as per the spec.
2019-02-02 14:24:51 -05:00
tambien
933136abdf removing unnecessary proxy parameter 2019-02-02 14:05:07 -05:00