Commit graph

5162 commits

Author SHA1 Message Date
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
Yotam Mann
be00349caa
Merge pull request #625 from erichlof/dev
Add 'randomWalk' pattern generator / add corresponding tests #622
2020-03-08 11:37:08 -04:00
Erich Loftis
785c3bc5dc
Update PatternGenerator.test.ts 2020-03-01 23:53:57 -06:00
Erich Loftis
744698f71e
Update PatternGenerator.ts 2020-03-01 23:11:27 -06:00
Yotam Mann
17ad337c1c get maxChannelCount 2020-03-01 22:03:37 -05:00
Yotam Mann
d5c2981eb1
Merge pull request #624 from tpltnt/hello-tone-fix
fixing TypeError
2020-02-28 12:19:14 -05:00
tpltnt
d7c3b85cc3
fixing TypeError 2020-02-28 18:13:10 +01:00
Yotam Mann
a5784323d2
Merge pull request #619 from Tonejs/dependabot/npm_and_yarn/codecov-3.6.5
Bump codecov from 3.1.0 to 3.6.5
2020-02-28 12:12:50 -05: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
bdd66ef8ba cleaning up code a little 2020-02-26 17:18:08 -05:00
Yotam Mann
7adda98875 perf: optimizing forEachAtTime to iterate over a smaller range
fixes #618
2020-02-26 16:54:35 -05:00
Yotam Mann
1539d88ef3 fix: Remove download promise when completed
fixes #620
2020-02-26 16:05:47 -05:00
dependabot[bot]
0be99af378
Bump codecov from 3.1.0 to 3.6.5
Bumps [codecov](https://github.com/codecov/codecov-node) from 3.1.0 to 3.6.5.
- [Release notes](https://github.com/codecov/codecov-node/releases)
- [Commits](https://github.com/codecov/codecov-node/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2020-02-19 18:05:57 +00: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
5d1b29f4b3 feat: changed the name Buffer, Buffers and BufferSource so that it doesnt conflict with native naming
Buffer -> ToneAudioBuffer
Buffers -> ToneAudioBuffers
BufferSource -> ToneBufferSource
2020-02-02 11:41:24 -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
3c9dfff161 updating to latest standardized-audio-context
fixes #601
2020-01-30 17:18:10 -05:00
Yotam Mann
7236600182 feat: adding onerror to Sampler
fixes #605
2020-01-30 16:42:32 -05:00
Yotam Mann
766ef638d3 making sure that the onerror returns the error 2020-01-30 16:15:28 -05:00
Yotam Mann
bb6a6fdef6 feat: adding onerror to ToneAudioBuffers and Players 2020-01-30 14:25:06 -05:00
Yotam Mann
dc53f9272b feat: adding onerror to GrainPlayer when url can't load 2020-01-29 23:37:36 -05:00
Yotam Mann
0bc28e742a using url instead of buffer makes it more consistent with other url loading APIs
feat: adding onerror to ToneBufferSource and Player
2020-01-29 23:34:05 -05:00
Yotam Mann
a45c9f117e checking against 'next' version instead of 'typescript' 2020-01-19 23:40:12 -05:00
Yotam Mann
8df0c7a73e removing typescript specific build 2020-01-19 23:40:00 -05:00
Yotam Mann
295e4571c6 Merge branch 'typescript' into dev 2020-01-19 23:08:37 -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
40e5d7d046 fixing path 2020-01-05 18:34:22 -05:00
Yotam Mann
910c6b2a57 updating license year 2020-01-05 17:59:36 -05:00
Yotam Mann
b86aaede46 updating relative path 2020-01-05 17:59:29 -05:00
Yotam Mann
cd180bfd90 updating readme 2019-12-30 19:10:59 -05:00
Yotam Mann
7eb1eaf625 setting range limits 2019-12-30 18:49:55 -05:00