Commit graph

3317 commits

Author SHA1 Message Date
Yotam Mann
a82740f593 moving deps and scripts to top level package.json 2018-05-18 12:11:21 -04:00
Yotam Mann
c12e27fb59 adding webpack build of test/prod 2018-05-18 12:10:52 -04:00
Yotam Mann
8631fd8180 ignoring generated files 2018-05-18 12:10:08 -04:00
Yotam Mann
65511e24f3 removing unnecessary files 2018-05-18 12:09:35 -04:00
Yotam Mann
3e16be1fcc updated test template html 2018-05-18 12:09:25 -04:00
Yotam Mann
b247706e4a linting 2018-05-18 12:07:39 -04:00
Yotam Mann
a18ab72da0 pointing at correct helper/Test 2018-05-18 12:07:20 -04:00
tambien
49b173166f noting that Oscillator is better for most cases 2018-05-17 18:38:53 -04:00
tambien
0f67791315 play silent audio for browsers that don't implement resume
this jumpstarts the AudioContext
2018-05-17 18:38:40 -04:00
tambien
8b92b7469b run tests on FF nightly 2018-05-17 12:12:24 -04:00
tambien
0d9622f133 adding links to users
[skip ci]
2018-05-17 11:55:03 -04:00
tambien
8e5a2da76b noting changes
[skip ci]
2018-05-17 11:51:02 -04:00
tambien
e44dffe459 updating time docs
fixes #348
2018-05-17 11:44:22 -04:00
tambien
4ed0735f19 increasing test thresholds 2018-05-17 11:41:13 -04:00
tambien
f47e49e798 removing peak
only use RMS value
2018-05-17 11:40:59 -04:00
tambien
ce70844d0c Merge branch 'dev' of https://github.com/Tonejs/Tone.js into dev 2018-05-17 11:11:04 -04:00
tambien
de512a2945 testing negative time evaluation in objects 2018-05-17 11:11:01 -04:00
David Sherman
d0c58e088f Added type property to Tone.Meter (#276)
* Added 'type' property to Tone.Meter that accepts 'peak' or 'rms' and defaults to 'rms'. Calculation methods + sources added to Tone.Meter. Tests added to Tone.Meter + assertion sources.

* Fixed a number of formatting issues

* more formatting fixes

* Formatting for CI

* fixed variable names

* Updated to use existing gainToDb method.

* Removed tests of removed method.

* Removed whitespaces and tabs.

* Moved Supports.ONLINE_TESTING to original position

* Moded Supports.ONLINE_TESTING to top
2018-05-16 10:41:02 -04:00
tambien
48ef97875c toBarsBeatsSixteenths tests
additional validation for #343
2018-05-15 10:15:30 -04:00
timothyboie
4cd88ab1eb Time miscalculation fix (#343)
Times being converted to BarsBeatsSixteenths have the potential to miscalculate due to an extended floating point number within the function.

Example of error:
https://jsfiddle.net/timboie/1vztuhz1/

Fix validation:
https://jsfiddle.net/timboie/6e7d31t3/

Any further testing is appreciated

Fixes #342
2018-05-15 10:10:10 -04:00
ZIwen
e39e392791 Update Sampler.js (#346)
support sampler polyphonic syntax
2018-05-15 10:07:36 -04:00
tambien
6438f4688c fixes safari issue with splitting audio 2018-05-03 16:46:51 -04:00
tambien
a5c566a766 no need to set the splitter defaults
this is no longer configurable and throws an error when set.

addresses #340
2018-05-03 16:26:45 -04:00
Joe Lepper
92a7bab0b4 fix Tone.Midi examples (#337) 2018-04-26 10:31:26 -04:00
Charles Holbrow
51ac1a2100 Sampler Instrument can play entire sample, even when pitch shifting down. (#335)
* Sampler instrument does not truncate playback when pitch shifting down

* `BufferSource.start` defaults to playing the entire buffer, respects `this.playbackRate`

Previously, the Buffer would truncate the sample when `playbackRage` is less than 1.

Within the `start` method, this commit also tightens the scope of `var computedDur`, so
that it is accessible only where it is used.
2018-04-25 14:27:50 -04:00
Yotam Mann
dd9135033e updating Draw tests
now testing correct synchronization with AudioContext.currentTime
2018-04-25 11:50:37 -04:00
Yotam Mann
5e0a2285b4 fixing syncronization issue 2018-04-25 11:46:13 -04:00
Yotam Mann
1026c34163 removing unnecessary @private
fixes #330
2018-04-25 11:10:15 -04:00
Yotam Mann
b74b52bd3a noting changes 2018-04-25 11:09:52 -04:00
Yotam Mann
7d862a1705 Removing support for native cancelAndHoldAtTime
Chrome's implementation causes occassional crashes

fixes #332
2018-04-25 11:02:50 -04:00
Yotam Mann
08193b466c expanding tolerence 2018-04-25 10:51:46 -04:00
Yotam Mann
39d5898738 Time classes take Object notation as well
replacement for deprecated expression notation
2018-04-25 10:51:36 -04:00
Yotam Mann
542914bcb7 Merge branch 'dev' of https://github.com/Tonejs/Tone.js into dev 2018-04-25 10:29:18 -04:00
Yotam Mann
bd9e3b92ba additional NoiseSynth tests 2018-04-25 10:29:07 -04:00
Yotam Mann
2fab59e446 fixing typo in triggerAttack
fixes #333
2018-04-25 10:28:49 -04:00
jbpuryear
d4d569e52b Fix AudioNode.disconnect error when disconnecting from signals/params (#329) 2018-04-22 16:45:02 -04:00
Yotam Mann
838767d05e noting changes 2018-04-12 17:14:26 -04:00
Yotam Mann
785f07dbe8 adding additional midi to frequency tests 2018-04-12 17:14:17 -04:00
Matan Gover
147341688c Fix typo in documentation. (#327) 2018-04-09 12:09:46 -07:00
Yotam Mann
62e2cf5dfc fixing docs 2018-04-09 13:24:10 -04:00
Yotam Mann
ee3d077410 incrementing version 2018-04-08 00:29:01 -07:00
Yotam Mann
4c3f9bfc85 Merge branch 'master' into dev 2018-04-08 00:27:34 -07:00
Yotam Mann
c94e95cdcf merging 2018-04-06 17:25:09 -07:00
Yotam Mann
79397e1075 Merge branch 'dev'
# Conflicts:
#	Tone/core/Tone.js
2018-04-06 17:22:23 -07:00
Yotam Mann
247833f345 release candidate 2018-04-06 17:20:59 -07:00
Yotam Mann
803e02f6ba noting changes 2018-04-06 17:20:49 -07:00
Yotam Mann
198450e5a7 note about starting on user action 2018-04-06 16:56:30 -07:00
Yotam Mann
fde0a332f8 added reverb example 2018-04-06 16:56:30 -07:00
Yotam Mann
da2c8defb0 offline renders on click
addresses #237
2018-04-06 16:56:29 -07:00
Jon Wheeler
1da36262fe Fixed variable name in example (#324) 2018-04-01 11:38:51 -04:00