Commit graph

587 commits

Author SHA1 Message Date
Yotam Mann
a25fd28328 removing toFixed since output might be array 2020-07-26 14:06:00 -07:00
Yotam Mann
6b5daa7d07 using new way to handle offline tests 2020-07-26 13:55:06 -07:00
Yotam Mann
d357feec24 channelCount as an input option
fixes #704
2020-07-25 18:27:50 -07:00
Yotam Mann
f20d19beed updating example 2020-07-19 13:48:48 -07:00
Yotam Mann
a78fba072a make sure the defaults belong to the template 2020-07-19 12:04:03 -07:00
Yotam Mann
a9f99e8fb3 corrected fft example 2020-07-18 17:21:24 -07:00
Yotam Mann
742a965d33 fixing example 2020-07-18 10:41:36 -07:00
Yotam Mann
69bc2bbb57 linting 2020-06-16 23:14:19 -04:00
Jack Anderson
73ba8c1138 export new BiquadFilter 2020-06-08 15:01:01 -07:00
Yotam Mann
22cecdc281 feat: adding ability to get the frequency at the FFT index
`getFrequencyOfIndex`
2020-06-07 20:46:01 -04:00
Yotam Mann
d72580cd48 removing unused variable 2020-06-07 20:42:34 -04:00
Yotam Mann
75617d341f feat: adding BiquadFilter
Simplified Filter class without the "rolloff" param

closes #686
2020-06-07 20:17:18 -04:00
Yotam Mann
353ed3f28c adding more docs and examples 2020-05-26 21:09:32 -04:00
Yotam Mann
9d8bc5fe06 setting params as k-rate
gives much better performance

addresses #672
2020-05-26 21:09:10 -04:00
Yotam Mann
51106320b5 converting worklets back into strings
fixes #663
2020-05-07 09:23:48 -04:00
Yotam Mann
f0926193c4 render the amplitude offline 2020-05-06 22:11:07 -04:00
Yotam Mann
8656f37eff updating Envelope examples 2020-04-29 23:44:01 -04:00
Yotam Mann
c419a4c1ac moving ToneAudioWorklet to 'worklet' folder
removing tests. typescript + testing elsewhere provides better coverage
2020-04-29 16:59:26 -04:00
Yotam Mann
c2d6eb4a7f fixing tests
everything is delayed by 1 more sample
2020-04-29 16:55:09 -04:00
Yotam Mann
8bc4deec2b feat: updating the way that AudioWorkletProcessors are handled
They each get their own .worklet.ts file which enables some typescript checking
2020-04-29 16:38:58 -04:00
Yotam Mann
bcf7547808 better pan example 2020-04-27 00:35:46 -04:00
Yotam Mann
7429604d3d ability to pass in channelCount
addresses #609
2020-04-26 18:07:31 -04:00
Yotam Mann
5ddfce9df7 updating polyfill recomendation
#655
2020-04-26 18:02:18 -04:00
Yotam Mann
7167fa3a81
Merge pull request #655 from sanderwapstra/mediarecorder-polyfill
Changes to make Recorder work with polyfill
2020-04-26 17:59:54 -04:00
Sander Wapstra
c7aed6199f Use addEventListener for start and stop 2020-04-26 21:38:14 +02:00
Yotam Mann
dbc3db6692 fixing issue where input might be undefined 2020-04-21 22:11:31 -04:00
Yotam Mann
379e464618 updated examples 2020-04-16 23:32:39 -04:00
Yotam Mann
8b62ceddac additional examples 2020-04-16 23:32:31 -04:00
Yotam Mann
f17249691d feat: updating all examples
now in the form Tone.Something instead of using `import { Something } from "tone"`. It makes the example runner on the docs page work much faster
2020-04-16 22:24:18 -04:00
Yotam Mann
93884b8e3a removing unused variable 2020-04-15 00:17:02 -04:00
Yotam Mann
5afe6c8dee updated example 2020-04-14 23:22:56 -04:00
Yotam Mann
697460203a closing context after using 2020-04-14 22:13:33 -04:00
Yotam Mann
6f8a94bc3a exporting Recorder 2020-04-14 22:10:01 -04:00
Yotam Mann
e4e409550d feat: adding Recorder for capturing streams
Uses the Media Recorder API to record a media stream
closes #644
2020-04-14 22:03:47 -04:00
Yotam Mann
52bf3414a4 fix: reconnecting convolver after creating new one when setting buffer
fixes #616
2020-02-26 18:26:18 -05:00
Yotam Mann
e68fe68e4c bug: cancel next event with very short attacks as well
fixes #614
2020-02-02 21:57:23 -05:00
Yotam Mann
e15194821b perf: don't schedule curve when there is no decay necessary. 2020-02-02 21:55:47 -05:00
Yotam Mann
d966735bd9 feat: option to pass in the number of input channels to Panner
fixes #609
2020-01-30 18:22:36 -05:00
Yotam Mann
88dae77c90 removing 'Connect.ts' and updating dependencies
was a pass through and caused other problems of redefining the variable
2020-01-08 14:12:11 -05:00
Yotam Mann
266576b44f recieve returns 'this' 2019-12-30 18:30:00 -05:00
Yotam Mann
dd73c2128c importing listener when panner is imported 2019-12-21 22:07:05 -05:00
Yotam Mann
e077f1810b export panner3D 2019-12-21 14:32:00 -05:00
Yotam Mann
d22747cc69 Adding more range guards 2019-12-17 12:42:40 -05:00
Yotam Mann
48284d78fb adding decorators which validate the input value range 2019-12-16 17:13:03 -05:00
Yotam Mann
389ccf8722 using assert instead of this.assert
removing this.assert from Tone.js classes
2019-12-16 15:58:31 -05:00
Yotam Mann
1255bc6766 feat: Meter can do multichannel analysis
pass in `channels` > 1 into constructor
2019-12-15 16:43:41 -05:00
Yotam Mann
d9a7520eb6 feat: Analyser can handle multiple channels
Can pass in `channels` into constructor which runs a separate analysis on each channel and returns the results as a Float32Array[].
2019-12-15 16:42:50 -05:00
Yotam Mann
93fdb9c0f2 documenting output type 2019-12-15 16:02:19 -05:00
Yotam Mann
2625a134b6 feat: meter output can be normalRange in addition to decibels 2019-12-15 16:01:19 -05:00
Yotam Mann
d4f47b7cd8 removing unused vars 2019-12-06 17:29:06 -05:00