Commit graph

2912 commits

Author SHA1 Message Date
Yotam Mann
510a08df4e Revert "feat: Sampler can be loaded with ToneAudioBuffers"
This reverts commit 368a7f43cb.
2020-05-12 22:57:13 -04:00
Yotam Mann
ba8e82b1ca feat: latencyHint is now set in constructor
BREAK: the latencyHint can only be set in the constructor, no longer settable after construction

addresses #658
2020-05-12 12:31:17 -04:00
Yotam Mann
368a7f43cb feat: Sampler can be loaded with ToneAudioBuffers 2020-05-11 15:37:14 -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
9864a79a25 start the gain 2020-05-06 22:10:35 -04:00
Yotam Mann
c4e4b61d93 grainSize should be grainSize property not the elapsed time
fixes #665
2020-05-03 12:13:11 -04:00
Yotam Mann
72857fbbcc don't warn on sync'ed start 2020-05-01 17:58:23 -04:00
Yotam Mann
8656f37eff updating Envelope examples 2020-04-29 23:44:01 -04:00
Yotam Mann
12f0d5b332 adding some more examples 2020-04-29 23:34:01 -04:00
Yotam Mann
4ac5c22220 more examples 2020-04-29 18:12:52 -04:00
Yotam Mann
13de3a0ac1 more examples 2020-04-29 17:15:12 -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
e5c6d606c6 some more examples 2020-04-29 14:54:35 -04:00
Yotam Mann
dffe6ac151 showing more of the waveform 2020-04-29 14:41:09 -04:00
Yotam Mann
cde3e53761 updating examples 2020-04-29 14:40:59 -04:00
Yotam Mann
bebdfac5cf filling out some more examples 2020-04-29 10:06:18 -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
1686236d3f offline example 2020-04-26 18:04:51 -04:00
Yotam Mann
939c08417c adding some more examples 2020-04-26 18:03:40 -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
15d5584f97 fixing example 2020-04-16 23:32:10 -04:00
Yotam Mann
0771798aac adding more examples 2020-04-16 23:08:21 -04:00
Yotam Mann
66bbf4fbaf skipping test for now 2020-04-16 23:01:08 -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
e4156eec8d linting 2020-04-16 21:46:55 -04:00
Yotam Mann
9f5ed8ef2e testing synced player source 2020-04-16 21:45:51 -04:00
Yotam Mann
f28c4b4a84 exports std-audio-context's isSupported method 2020-04-16 14:44:48 -04:00
Yotam Mann
93884b8e3a removing unused variable 2020-04-15 00:17:02 -04:00
Yotam Mann
f3d651272c skipping test in firefox 2020-04-14 23:54:22 -04:00
Yotam Mann
7f9cda9db0 guarding against floating point issue where offset is very close to 1
fixes #645
2020-04-14 23:46:08 -04:00
Yotam Mann
0f47174272 increasing duration of test
was failing in FF
2020-04-14 23:44:37 -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
e14fa4eae1 linting 2020-04-14 22:09:44 -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
989abb9697 setting parameters as readonly 2020-04-14 22:01:00 -04:00
Yotam Mann
b217fc45ac adding createMediaStreamDestination 2020-04-14 21:06:21 -04:00
Yotam Mann
43a696ddb2 Merge branch 'pr/643' into dev 2020-04-13 23:23:04 -04:00
Yotam Mann
165569cefd updating tests for slightly different oscillator sound 2020-04-13 23:13:28 -04:00
Yotam Mann
3e8120baa2 interface for PulseOscillator to set the carrier type in PWMOscillator 2020-04-13 22:40:53 -04:00