Yotam Mann
|
58bf79a872
|
increasing comparison threshold
|
2019-07-16 17:15:55 -04:00 |
|
Yotam Mann
|
7c6a873121
|
adding oscillator types
|
2019-07-16 17:10:47 -04:00 |
|
Yotam Mann
|
38d1197359
|
converting PWMOscillator to typescript
|
2019-07-16 17:10:07 -04:00 |
|
Yotam Mann
|
6bd5a0d45b
|
updating docs
|
2019-07-16 17:09:54 -04:00 |
|
Yotam Mann
|
ad7d928be8
|
adding some doc image
|
2019-07-16 16:47:07 -04:00 |
|
Yotam Mann
|
f13336bcaa
|
converting FatOscillator to ts
|
2019-07-16 16:30:09 -04:00 |
|
Yotam Mann
|
b339dee564
|
converting FMOscillator to typescript
|
2019-07-16 16:05:48 -04:00 |
|
Yotam Mann
|
e2ede8e8cc
|
marking signal value to readonly
|
2019-07-16 16:05:38 -04:00 |
|
Yotam Mann
|
1277564f2c
|
making oscillator props readonly
|
2019-07-16 09:32:22 -04:00 |
|
Yotam Mann
|
990c0f56ed
|
using type instead of string types
|
2019-07-15 15:37:25 -04:00 |
|
Yotam Mann
|
f553fc3b63
|
surrounding diagram with pre tags
|
2019-07-15 12:33:40 -04:00 |
|
Yotam Mann
|
7c2e675c52
|
fixing typo and allowing for extended oscillator types
|
2019-07-15 12:33:31 -04:00 |
|
Yotam Mann
|
3b22baea67
|
updating doc diagram
|
2019-07-15 12:32:48 -04:00 |
|
Yotam Mann
|
4fc334c9c7
|
converting PulseOscillator to typescript
|
2019-07-15 12:22:55 -04:00 |
|
Yotam Mann
|
ab9b363965
|
converting AMOscillator to ts
|
2019-07-15 09:46:10 -04:00 |
|
Yotam Mann
|
b8f0d1d576
|
exporting OscillatorInterface
to make sure that all oscillators have the same interface
|
2019-07-15 09:45:56 -04:00 |
|
Yotam Mann
|
70086527ea
|
changing OscillatorOptions -> ToneOscillatorOptions
to avoid any potential conflicts
|
2019-07-11 12:45:20 -04:00 |
|
Yotam Mann
|
219462fe9e
|
cleaning up circular deps
|
2019-07-11 09:57:06 -04:00 |
|
Yotam Mann
|
f48696a69e
|
Revert "every class calls super.dispose()"
This reverts commit 60a63cacf8 .
|
2019-07-11 00:36:16 -04:00 |
|
Yotam Mann
|
60a63cacf8
|
every class calls super.dispose()
makes sure that things don't get disposed twice, which seems to be a common source of issues
|
2019-07-10 23:35:29 -04:00 |
|
Yotam Mann
|
ae2804fbc5
|
implement syncSignal
|
2019-07-10 23:33:36 -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
|
74671b0bda
|
transport is no longer possibly undefined
since Context requires initialization step
|
2019-06-23 15:03:54 -04:00 |
|
tambien
|
62b4b47fd1
|
prefering toDestination over toMaster
more consistent with Web Audio API
|
2019-06-23 15:03:31 -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 |
|
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
|
bc61ddaa2b
|
simplifying logic
|
2019-06-19 18:17:24 -04:00 |
|
tambien
|
5896a7ca9c
|
Update BufferSource.test.ts
|
2019-06-19 17:30:31 -04:00 |
|
tambien
|
c8396d38eb
|
waiting for promise to resolve before starting test
|
2019-06-19 17:20:59 -04:00 |
|
tambien
|
5472ca1dcc
|
offset does not default to 0
|
2019-06-19 17:20:20 -04:00 |
|
tambien
|
d2b7562021
|
waiting for promise to resolve before starting next test
|
2019-06-19 17:20:12 -04:00 |
|
tambien
|
9e229146c0
|
converting Oscillator to ts
|
2019-06-19 15:53:14 -04:00 |
|
tambien
|
4e54763db1
|
accepts an options template
|
2019-06-19 15:53:00 -04:00 |
|
tambien
|
e87d723ec8
|
cancelStop does not need to be private
|
2019-06-19 15:52:47 -04:00 |
|
tambien
|
fc773ccfb5
|
pass in the options
so that 'get' knows what it's output is
|
2019-06-19 15:52:38 -04:00 |
|
tambien
|
0180922e05
|
linting
|
2019-06-19 14:24:35 -04:00 |
|
tambien
|
0bc349a8a2
|
Merge branch 'dev' into typescript
|
2019-06-19 13:20:23 -04:00 |
|
tambien
|
b138ffd833
|
linting
|
2019-06-19 10:19:39 -04:00 |
|
tambien
|
fee62e9173
|
converting noise to ts
|
2019-06-19 10:18:06 -04:00 |
|
tambien
|
63ad175b6d
|
converting helpers to ts
|
2019-06-19 10:15:15 -04:00 |
|
tambien
|
d16786ba7d
|
reorganizing source file locations
|
2019-06-19 09:54:47 -04:00 |
|
tambien
|
285e34c051
|
updaing OneShotSource and extending classes
|
2019-06-17 21:52:43 -04:00 |
|
tambien
|
f70b7daed0
|
ToneBufferSource as typescript
|
2019-06-17 21:52:23 -04:00 |
|
tambien
|
451307c9bc
|
converting OscillatorNode
|
2019-06-17 14:03:02 -04:00 |
|
ixnv
|
54fa8cddb3
|
fix doc for FatOscillator (#496)
* fix doc for FatOscillator
seems to be copypaste from FMOscillator
* fix doc for FatOscillator
|
2019-06-10 15:43:40 -04:00 |
|
tboie
|
ec4d306751
|
addresses osc type from #463 (#497)
|
2019-06-10 15:42:45 -04:00 |
|
tambien
|
d40f6c35b5
|
use local context when creating gain
|
2019-05-25 15:37:56 -04:00 |
|
tambien
|
4e92be1639
|
Merge branch 'dev' of https://github.com/Tonejs/Tone.js into dev
|
2019-05-23 14:01:06 -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 |
|
Stephan Lagerwaard
|
01670b2644
|
Change const to var for ES5 compatibility (#488)
|
2019-05-13 09:29:41 -04:00 |
|
tambien
|
184102ab4c
|
removing shims
will replace with standardized-audio-context
|
2019-03-25 22:58:36 -07:00 |
|
tambien
|
75fc8c3874
|
fixing docs
[skip ci]
|
2019-03-25 19:44:58 -07:00 |
|
tambien
|
3c2d1250ea
|
passes in the player to the callback
fixes #460
|
2019-03-25 11:53:57 -07:00 |
|
tambien
|
56800fe11b
|
Disconnecting but not disposing onend
addresses #463
|
2019-03-19 20:26:28 -04:00 |
|
tambien
|
ae8be83cc5
|
fixing typo
fixes #462
|
2019-03-14 10:29:51 -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
|
a3cc8d0f60
|
guarding against double disposing
|
2019-03-08 13:01:09 -05:00 |
|
tambien
|
a23ba73fc4
|
dispose oscillator onended
|
2019-03-08 12:17:27 -05:00 |
|
tambien
|
57d30ff6d6
|
optimizing case of basic oscillator types
fixes #427
|
2019-03-08 12:17:20 -05:00 |
|
tambien
|
d601b4be3a
|
dispose the buffer onended
addresses #378
|
2019-03-08 11:30:00 -05:00 |
|
tambien
|
c023181579
|
linting
|
2019-02-15 13:03:10 -05:00 |
|
tambien
|
cb156fc6a3
|
no need to test if _wave exists
should always exist
|
2019-02-01 11:50:15 -05:00 |
|
tambien
|
a9adacb794
|
using Tone.connect for native nodes
|
2019-01-28 11:55:48 -05:00 |
|
tambien
|
2780cac504
|
using Tone.connect for connections with native nodes
addresses #421
|
2019-01-28 11:02:15 -05:00 |
|
tambien
|
610b847f4d
|
fixing docs
|
2019-01-27 17:14:04 -05:00 |
|
tambien
|
87909ca4a3
|
BufferSourceNode shim is no longer needed
fixed issue in Safari which was resolved
|
2019-01-27 13:52:23 -05:00 |
|
tambien
|
ed71d8141b
|
amd to es6 import/export
no longer using AMD (require.js) style imports, and beginning to move to es6 "import/export" statements everywhere.
|
2019-01-27 13:05:20 -05:00 |
|
tambien
|
0ba72ac93a
|
clamping start/stop time to currentTime
this way if someone passes in start(0), it will just play immediately and not break things.
addresses #424
|
2019-01-23 16:19:07 -05:00 |
|
tambien
|
ffe3d434c6
|
closes the stream before reopening it
|
2019-01-08 11:26:57 -05:00 |
|
tambien
|
e739c4f1f3
|
adding baseType to all oscillators
makes getting/setting through interface easier
|
2019-01-08 00:13:48 -05:00 |
|
tambien
|
1ca4242323
|
'get' does not return partials array for basic types
|
2018-12-28 16:00:03 -05:00 |
|
tambien
|
0c10c80b12
|
only set the stop when it's not synced
otherwise it reschedules multiple stops
|
2018-12-26 15:42:05 -05:00 |
|
tambien
|
fd62e31a94
|
loaded boolean indicates when GrainPlayer is loaded
consistent with Tone.Player
|
2018-12-23 18:13:57 -05:00 |
|
tambien
|
9178798993
|
computed duration can be longer than the buffer length
because of playback rate changes, the duration can be longer than the buffer duration.
fixes #375
|
2018-12-23 13:50:02 -05:00 |
|
tambien
|
795e0d90d7
|
removing position tracking from player
fixes #361
|
2018-12-23 13:46:52 -05:00 |
|
tambien
|
c20f703c40
|
making sure that the type is never set to custom+partialCount
|
2018-12-21 15:31:36 -05:00 |
|
tambien
|
6c748e3e9d
|
get and set the sourceType
this allows slight decoupling from combining everything in the 'type' string
|
2018-12-21 15:29:08 -05:00 |
|
tambien
|
f199af1f31
|
setting gain to 0 initially keeps it from popping
|
2018-12-17 12:41:14 -05:00 |
|
tambien
|
81f6ae1144
|
testing that a type can be passed into the constructor as an object
and gotten with the 'get()' method
|
2018-12-09 20:40:46 -05:00 |
|
tambien
|
85a606d81d
|
documenting partialCount
[skip ci]
|
2018-12-09 18:58:47 -05:00 |
|
tambien
|
761de621d8
|
adding partialCount parameter
offers alternative "non string" way to set the partials to an osc type
|
2018-12-09 18:45:01 -05:00 |
|
Paul Varache
|
cfa23cfd24
|
Make noiseArrays generate samples lazily (#386)
* Make noiseArrays generate samples lazily
* getter -> get
* Create noiseBuffers instead of arrays
fixes #384
|
2018-09-10 14:20:02 -04:00 |
|
tambien
|
3d1202043a
|
all modules are relative paths
simplifies deep references to individual files
|
2018-08-26 22:29:17 -04:00 |
|
tambien
|
ca5dccf1cb
|
extends AudioNode
|
2018-07-30 13:30:21 -04:00 |
|
Yotam Mann
|
f76beaf916
|
moving to updated BufferSource fade out api
Player still fades from the end
|
2018-06-20 15:08:16 -04:00 |
|
Yotam Mann
|
fec49b6936
|
stops clock after 1 iteration when loop = false
removing seek method. adjusts for playbackRate when scheduling grain duration
|
2018-06-20 14:57:42 -04:00 |
|
Yotam Mann
|
405a841db0
|
stop method is beginning of fadeOut curve instead of end
simplifies code
fixes #328
|
2018-06-20 14:55:43 -04:00 |
|
tambien
|
2d1c2dc705
|
no noise supression
|
2018-06-13 15:57:05 -04:00 |
|
Yotam Mann
|
26df78b0db
|
handles start/stop/restart better in many situations
less prone to errors where the OscillatorNode is silent after starting
|
2018-06-12 23:48:15 -04:00 |
|
Yotam Mann
|
ebbb1ef8bb
|
log and assert help in debugging classes
|
2018-06-12 23:47:30 -04:00 |
|
tambien
|
534b97bea4
|
removing unnecessary type from TickSignal
|
2018-06-05 22:56:47 -04:00 |
|
Yotam Mann
|
bbf2929b6f
|
rotating the phase of the oscillator group
addresses #354
|
2018-05-29 10:35:12 -04:00 |
|
Yotam Mann
|
4cb60ca111
|
Merge branch 'dev' of https://github.com/Tonejs/Tone.js into dev
|
2018-05-28 18:06:44 -04:00 |
|
Yotam Mann
|
5b20f572a3
|
removing unused lines
|
2018-05-28 18:01:19 -04:00 |
|
tambien
|
b8c5353638
|
Merge branch 'dev' of https://github.com/Tonejs/Tone.js into dev
|
2018-05-24 16:58:21 -04:00 |
|
Yotam Mann
|
54276555f2
|
correctly restarting PulseOscillator
|
2018-05-20 17:36:07 -04:00 |
|
Yotam Mann
|
ee18f87106
|
assign basic oscillator type
typo!
|
2018-05-20 17:25:39 -04:00 |
|
Yotam Mann
|
a7b783b0a5
|
updating docs
[skip ci]
|
2018-05-19 15:07:58 -04:00 |
|