Commit graph

1069 commits

Author SHA1 Message Date
Yotam Mann
25448e7eba check that the get method can be serialized 2019-11-03 17:42:18 -05:00
Yotam Mann
802ce474c7 converting Chorus to ts 2019-10-31 15:29:48 -04:00
Yotam Mann
9538cd63c5 skipping test which can't pass consistently
until i figure out what's going on
2019-10-30 13:23:08 -04:00
Yotam Mann
d56572c94c converting Tremolo to typescript 2019-10-30 13:13:26 -04:00
Yotam Mann
79d2c3d41b convert Chebyshev to typescript 2019-10-29 23:35:27 -04:00
Yotam Mann
f27df3a215 converting AutoWah to typescript 2019-10-29 23:14:03 -04:00
Yotam Mann
97cdc5bf07 adding comparison files 2019-10-29 18:18:04 -04:00
Yotam Mann
5bb73a5f43 adding onsilence test 2019-10-29 18:09:39 -04:00
Yotam Mann
c90b7f6c43 updating sound to new settings 2019-10-29 18:09:33 -04:00
Yotam Mann
6ea1ca0a18 converting BitCrusher to typescript
uses the AudioWorklet
2019-10-28 19:11:46 -04:00
Yotam Mann
3a63154b7c using the unit name instead of the unit type as the Param generic 2019-10-28 11:37:53 -04:00
Yotam Mann
9ad519ea10 feat: Get an oscillator wave as an array 2019-10-08 19:22:59 -04:00
Yotam Mann
889dafa45e feat: OfflineContext returns a ToneAudioBuffer
instead of an AudioBuffer
2019-10-03 18:03:21 -04:00
Yotam Mann
81887b91a3 refactor: initialize Context when getting destination or transport 2019-10-03 17:33:39 -04:00
Yotam Mann
04405afd84 feat: Adding triggerRelease to PluckSynth
works by ramping the resonance down over the 'release' duration
2019-09-29 17:25:31 -04:00
Yotam Mann
e931f3bb28 making sure that CompareToFile works with AudioWorklets 2019-09-29 17:24:41 -04:00
Yotam Mann
3b071edf8b style: linting 2019-09-27 17:51:34 -04:00
Yotam Mann
d29c6ab42a updating test file to new sound 2019-09-24 22:45:52 -04:00
Yotam Mann
52c0b7d56f adding OnePoleFilter
does a single pole highpass and lowpass

addresses #531
2019-09-24 22:08:50 -04:00
Yotam Mann
be634eb093 running all logging and warning through Logger object
makes it possible to implement a Logger interface to visualize logging.
2019-09-20 00:31:43 -04:00
Yotam Mann
ace049a9a2 render just the clock portion without the audio 2019-09-19 16:55:09 -04:00
Yotam Mann
02040af217 styling 2019-09-17 14:04:15 -04:00
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