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
d6affa920f
adding link to autoplay wiki
2020-04-16 10:30:56 -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
ac63a84aae
linting
2020-04-14 22:09:48 -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
ca023eb37a
updating deps
2020-04-14 22:01:45 -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
Powerlated
0636c28517
Use Triangle instead of Sawtooth for PulseOscillator source
...
Using Sawtooth for the source wave produces an inaccurate tone at pulse widths other than 50% (0). The fix is to use a Triangle wave for the source.
2020-04-12 15:21:57 -04:00
Yotam Mann
b090617c9b
removing old tests
2020-04-10 09:13:58 -04:00
Yotam Mann
f317b97d89
testing that slice can also extend the duration
2020-04-08 10:02:33 -04:00
Yotam Mann
8b734d9755
Clock callback returns seconds
2020-04-07 21:52:07 -04:00
Yotam Mann
df5d2332ca
Merge pull request #636 from etherealmachine/patch-1
...
Add dotted notes to the Subdivision type.
2020-04-05 18:43:29 -04:00
James Pettit
169d6d7f09
Add dotted notes to the Subdivision type.
...
Reading 30e14cf729/Tone/core/type/Time.ts (L76)
it looks like dotted notes can be returned, and in fact when I try it I can get a dotted note but the Typescript compiler complains that the return value cannot exist when used in a switch statement, so I think this is just an accidental omission.
2020-04-05 13:08:04 +08:00
Yotam Mann
30e14cf729
upgrading node version
2020-03-21 22:36:16 -04:00
Yotam Mann
627cb3cd45
adding some more simple examples
2020-03-21 21:58:48 -04:00
Yotam Mann
4c880bd4e4
updating deps
2020-03-21 21:41:15 -04:00
Yotam Mann
4a0aa07af7
testing if loaded can be created in the same block before adding downloads
2020-03-17 22:46:27 -04:00
Yotam Mann
85f70621ef
loaded promise allows for downloads to be added while 'loaded' is awaiting
2020-03-17 22:45:59 -04:00
Yotam Mann
faa68aa2d1
Merge pull request #631 from jsmith/patch-1
...
Fixing bounds in TickSource Test
2020-03-17 22:39:01 -04:00
Jacob Smith
7ec07954ae
Fixing bounds in TickSource test
2020-03-17 17:17:50 -03:00
Yotam Mann
8b58824d75
waiting for all download promises to resolve
2020-03-15 21:54:36 -04:00
Yotam Mann
183539950f
Merge pull request #629 from Tonejs/dependabot/npm_and_yarn/acorn-6.4.1
...
Bump acorn from 6.3.0 to 6.4.1
2020-03-15 18:28:25 -04:00
dependabot[bot]
ab09f963ff
Bump acorn from 6.3.0 to 6.4.1
...
Bumps [acorn](https://github.com/acornjs/acorn ) from 6.3.0 to 6.4.1.
- [Release notes](https://github.com/acornjs/acorn/releases )
- [Commits](https://github.com/acornjs/acorn/compare/6.3.0...6.4.1 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-03-13 22:08:07 +00:00
Yotam Mann
09943840c4
fixing race condition where loaded was not yet set to true when promise is resolved
2020-03-11 11:41:33 -04:00
Yotam Mann
a9b2f05d6a
linting
2020-03-08 12:10:39 -04:00
Yotam Mann
ed209a9de9
updating dependencies
2020-03-08 12:10:30 -04:00