Commit graph

1047 commits

Author SHA1 Message Date
Yotam Mann
8871e24e58 linting 2019-09-14 18:25:58 -04:00
Yotam Mann
61c9f191b6 removing calls to tslint
getting rid of tslint from project and using eslint instead
2019-09-14 18:06:46 -04:00
Yotam Mann
bf84a38c19 add function to test if method returns warning 2019-09-09 19:27:14 -04:00
Yotam Mann
c27a426daf converting distortion to typescript 2019-09-05 22:11:02 -04:00
Yotam Mann
42dcbcb7c8 adding test to check if detune can be passed into monophonic instruments 2019-09-03 20:09:11 -04:00
Yotam Mann
34c4494cd5 dry/wet should be a number not string 2019-08-20 22:21:58 -07:00
Yotam Mann
77a745e09e FrequencyShifter Effect
thanks @Foaly
2019-08-20 21:57:45 -07:00
Yotam Mann
afb9d1726e converting PhaseShiftAllpass to typescript 2019-08-20 11:19:23 -07:00
Yotam Mann
1439c988e8 Merge branch 'pr/521' into typescript 2019-08-19 19:02:07 -07:00
Yotam Mann
972b88a36c using overloaded offline constructor 2019-08-19 09:59:22 -07:00
Yotam Mann
15291b54ec removing old test 2019-08-14 10:43:49 -04:00
Yotam Mann
3c81958cec Adding monophonic tests
checks for onsilence
2019-08-12 00:14:59 -04:00
Yotam Mann
303986825e removing unused imports 2019-08-12 00:14:38 -04:00
Yotam Mann
d4bacbf4e8 removing commented out test 2019-08-10 18:06:22 -04:00
Yotam Mann
f6843947d8 adding onstop to all the sources 2019-08-10 11:51:35 -04:00
Yotam Mann
f6d70c7802 Offline can also accept an array of atTime functions
this is useful when testing something at multiple times
2019-08-09 19:51:39 -04:00
Yotam Mann
a7d37ce720 input test 2019-08-08 14:13:47 -04:00
Yotam Mann
e852b99a43 adding ConnectTest to automatically test connections 2019-08-04 10:07:19 -04:00
Yotam Mann
3e625e4a09 StereoSignal helper 2019-08-02 21:09:48 -04:00
Yotam Mann
22396a8942 Merge branch 'dev' into typescript 2019-08-02 13:52:11 -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
Maximilian Wagenbach
b3392308aa Improved documentation of FrequencyShifter and PhaseShiftAllpass.
Removed unneeded code.
2019-08-01 11:48:06 +02:00
Maximilian Wagenbach
3be1921fc8 Added impulse response test for the PhaseShiftAllpass. 2019-08-01 00:23:25 +02:00
Yotam Mann
6e5e8b3399 using specific types
importing them so there are not multiple import type errors
2019-07-30 15:35:27 -04:00
Yotam Mann
c6e10ed0b8 skipping some signal tests
for now?
2019-07-25 13:23:30 -04:00
Yotam Mann
aaa0ba2b69 updating tests and thresholds 2019-07-25 13:17:21 -04:00
Yotam Mann
bfc3d7ed15 toMaster() -> toDestination()
more consistent with the Web Audio API
2019-07-25 11:32:56 -04:00
Yotam Mann
68b557f441 additional FeedbackDelay tests 2019-07-25 11:17:11 -04:00
Yotam Mann
28ebbb6706 including destination
initialization was missing when trying to run tests
2019-07-23 13:51:22 -04:00
Yotam Mann
da258c7119 make sure Transport is available 2019-07-23 13:12:41 -04:00
Yotam Mann
c95293c422 confirm that all of the web audio nodes created are disposed 2019-07-23 12:12:11 -04:00
Yotam Mann
13f75f42b5 linting 2019-07-19 12:32:24 -04:00
Yotam Mann
62faa2c825 porting instrument tests to ts 2019-07-18 14:07:03 -04:00
Yotam Mann
93298290b7 noting which test failed
to help with debugging
2019-07-18 14:04:39 -04:00
Yotam Mann
a17d2f6a06 helpful message when no audio 2019-07-17 12:54:33 -04:00
Yotam Mann
990c0f56ed using type instead of string types 2019-07-15 15:37:25 -04:00
Yotam Mann
3eec807aa3 fixing bit depth of pulseOsc sample 2019-07-15 15:36:49 -04:00
Yotam Mann
3ee452d63d using 44100 as default rendering sample rate 2019-07-15 15:36:03 -04:00
Yotam Mann
4fc334c9c7 converting PulseOscillator to typescript 2019-07-15 12:22:55 -04:00
Yotam Mann
ada1423bd4 Merge branch 'dev' into typescript 2019-07-15 09:46:22 -04:00
Jared Ellison
22258b41a4 Add tests for Event and Part loop behavior when loop is false, 0 or 1 2019-07-08 13:47:09 -04:00
tambien
db35b3ae3a linting 2019-06-24 13:41:38 -04:00
Yotam Mann
02cfefa7ef
Merge branch 'typescript' into fix-typescript-linting 2019-06-24 13:33:18 -04:00
tambien
8b4f1cfa19 Global now only manages global Context
global AudioContext was moved to AudioContext.ts
2019-06-23 15:02:38 -04:00
tambien
88e000179c adding initialization step 2019-06-23 14:59:49 -04:00
Garren Smith
efbd3c7f5f Fix linting issues
Also add in no-unused-expression-chai rule so that chai works with
tslint.
2019-06-23 12:53:57 +02:00
tambien
87cd6df3ef updated to latest API 2019-06-19 17:25:14 -04:00
tambien
5bc0cf4536 converting oscillator tests to ts 2019-06-19 15:52:09 -04:00
tambien
15182279fc removing old JS files 2019-06-19 10:18:43 -04:00
tambien
63ad175b6d converting helpers to ts 2019-06-19 10:15:15 -04:00
tambien
10c1715b8a test takes sample rate 2019-06-17 21:49:38 -04:00
tambien
8ddef75134 updating dependency 2019-06-17 14:03:52 -04:00
tambien
fac538c9fb converting Buffer -> ToneAudioBuffer.ts 2019-05-25 14:31:02 -04:00
tambien
730a818bcb organizing into sub folders 2019-05-23 14:00:49 -04:00
tambien
39cf110fe4 Merge branch 'dev' of https://github.com/Tonejs/Tone.js into typescript 2019-05-21 23:53:46 -04:00
tboie
ba1900dab6 Tone.Disconnect Fix (#483)
-use while loop with a flag
-fixes #461
2019-05-14 21:40:23 -04:00
tboie
bcd22b0463 #473 (#478)
Fixes Part loop toggle
2019-04-12 10:44:24 -04:00
tambien
6fb2b30dce Merge branch 'dev' into typescript 2019-04-12 10:40:10 -04:00
tambien
01a4a47a33 adding additional audio rendering test file 2019-04-12 10:39:01 -04:00
tambien
df08425a70 started retooling with typescript 2019-04-12 10:37:47 -04:00
tboie
8f08316b41 #471 (#472) 2019-04-04 15:10:03 -04:00
tambien
3c2d1250ea passes in the player to the callback
fixes #460
2019-03-25 11:53:57 -07:00
tambien
c1d748deed adding case where attack time is 0
fixes #425
2019-03-12 13:22:25 -04:00
tambien
ad61d1b2ae increasing test threshold 2019-03-12 13:03:55 -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
655b3310d3 setting reverse value which is passed into through an object
fixes #456
2019-03-09 16:14:51 -05:00
tambien
ba0e0fbbd8 increasing threshold 2019-03-08 12:32:05 -05:00
Stephan Lagerwaard
7269f3bdfa Added option to silence both loggers the context (#453) 2019-03-06 14:59:17 -05:00
tambien
2433aea90d increasing test threshold 2019-02-17 12:12:04 -05:00
tambien
2dce244c85 increase tick threshold 2019-02-04 13:20:29 -05:00
tambien
e439a258e0 increase test thresholds 2019-02-04 13:09:48 -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
eb8bdc0f37 disconnecting from all of the inputs 2019-02-02 14:03:53 -05:00
tambien
8cd464fdb6 removing log 2019-02-02 13:19:49 -05:00
tambien
1ab177b4ec testing that pattern reports value correctly 2019-02-01 12:20:34 -05:00
tambien
190035d9c8 removing event by value
testing setting humanize
2019-02-01 12:17:40 -05:00
tambien
5e113f3654 testing progress should be 0 before starting 2019-02-01 12:17:20 -05:00
tambien
e555d8ab3e testing polyphonic triggerAttackRelease API 2019-02-01 12:02:03 -05:00
tambien
1c87026ee4 should have an empty partials array 2019-02-01 11:49:47 -05:00
tambien
0d1e4fc69a testing last sourceType setting 2019-02-01 11:44:05 -05:00
tambien
5cddcbcd52 testing changing count on started oscillator 2019-02-01 11:41:37 -05:00
tambien
2a7dd21d03 testing getting partials 2019-02-01 11:38:39 -05:00
tambien
9ab460f0b0 tick signal does a setValueAtTime initially
no need for this test
2019-02-01 11:36:25 -05:00
tambien
5773bd9db7 testing that changing pattern length should update shuffle 2019-02-01 11:33:26 -05:00
tambien
62da3cc8ca test get/set exponent 2019-02-01 11:24:35 -05:00
tambien
b4307500a6 testing case where no previous events are on the timeline 2019-02-01 10:47:35 -05:00
tambien
2579f5f45a testing setting/getting the delayTime 2019-01-31 12:16:25 -05:00
tambien
4e1dd449c6 buffer is null before being loaded 2019-01-31 12:14:09 -05:00
tambien
6ece0a6bbc adding get/set tests 2019-01-28 21:11:56 -05:00
tambien
aa0d90256d removing rampTime from 'set'
seemed rarely used
2019-01-28 21:04:43 -05:00
tambien
d11497c805 increasing test threshold 2019-01-28 13:35:11 -05:00
tambien
2780cac504 using Tone.connect for connections with native nodes
addresses #421
2019-01-28 11:02:15 -05:00
tambien
fe10de3eea rewriting exclude version logic again 2019-01-27 13:40:10 -05:00
tambien
33f663c5fc test on Chrome only, but not Chrome 71 2019-01-27 13:33:18 -05:00
tambien
2fbdcec41e exclude specific browser versions 2019-01-27 13:29:59 -05:00
tambien
0edba12e6b FF now supports equal power panning 2019-01-27 13:29:49 -05:00
tambien
887bed1092 using ua-parser from npm
instead of local version. Also debugging Draw tests
2019-01-27 13:21:05 -05:00
tambien
ed71d8141b amd to es6 import/export
no longer using AMD (require.js) style imports, and beginning to move to es6 "import/export" statements everywhere.
2019-01-27 13:05:20 -05:00
tambien
f38c87271f Split can optionally handle more than 2 channels 2019-01-26 20:12:07 -05:00
tambien
4c0659a0ed merge optionallly accepts more than 2 channels 2019-01-26 20:06:07 -05:00