Yotam Mann
4aedaeea77
setting exponent in test
...
for additional coverage
2019-10-31 09:56:09 -04:00
Yotam Mann
d845a435b1
ScaledEnvelope is redundant with the FrequencyEnvelope
...
currently no use for it though might reintroduce it if it feels necessary down the road.
2019-10-30 13:22:53 -04:00
Yotam Mann
5dd6a2623b
Merge branch 'pr/563' into typescript
2019-10-29 17:49:52 -04:00
Yotam Mann
e67c9e1724
simplifying FreqEnvelope API slightly
2019-10-29 17:49:22 -04:00
Yotam Mann
41897320a0
exporting FrequencyEnvelope
2019-10-28 21:28:41 -04:00
Yotam Mann
0767a52770
adding category
2019-10-28 21:28:33 -04:00
Yotam Mann
703f27a5ab
feat: adding send/receive to Channel
...
Removing it from all ToneAudioNode's. Now it's just on the Channel Interface
2019-10-28 21:23:23 -04:00
Yotam Mann
28c078dcad
converting Channel to ts
2019-10-28 20:59:54 -04:00
Yotam Mann
68a7bb03ec
doc tweaks
2019-10-28 20:59:01 -04:00
Yotam Mann
d1fab1c089
converting MidSideMerge/Split to Typescript
2019-10-28 20:42:43 -04:00
Yotam Mann
c217ef5a2c
removing old files
2019-10-28 14:22:28 -04:00
Yotam Mann
1134ce4c69
making sure that the attack is not canceled if the release is scheduled once it ends
...
fixes #560
2019-10-28 14:22:10 -04:00
Yotam Mann
24f5cd0c95
Merge branch 'pr/559' into typescript
2019-10-28 12:20:17 -04:00
Yotam Mann
6c9d3d8294
baseFrequency is Hertz instead of Frequency
...
then casting to number (and potential errors that could cause) is avoided
2019-10-28 12:20:04 -04:00
Yotam Mann
d7194d05eb
using const over let
2019-10-28 12:19:33 -04:00
Yotam Mann
9591fdedf8
passing in arguments as labelled
2019-10-28 12:19:22 -04:00
Yotam Mann
3a63154b7c
using the unit name instead of the unit type as the Param generic
2019-10-28 11:37:53 -04:00
Filipe Herculano
4d93b6c1b0
remove redundant accessors
2019-10-27 17:45:21 -04:00
Filipe Herculano
efd114d2db
convert FrequencyEnvelope to Typescript
2019-10-26 11:43:00 -04:00
Yotam Mann
f7464e2a5f
Merge branch 'pr/557' into typescript
2019-10-25 17:03:03 -04:00
Yotam Mann
49e3a8d869
exporting ScaledEnvelope
2019-10-25 17:02:52 -04:00
Yotam Mann
4bcde39fdc
linting / updating paths
2019-10-25 17:02:44 -04:00
Yotam Mann
d2b064f41e
docs: working on code examples
2019-10-25 16:54:33 -04:00
Yotam Mann
4266d2b93c
updating examples
2019-10-24 18:01:27 -04:00
Yotam Mann
b73e127310
docs: updating example
2019-10-23 16:43:12 -04:00
Yotam Mann
b2a9c9a303
working on examples
2019-10-23 16:30:07 -04:00
Yotam Mann
cc7727a85c
updating docs
2019-10-22 23:39:35 -04:00
Yotam Mann
42cfbcd456
linting docs and examples
2019-10-22 23:04:52 -04:00
Filipe Herculano
9209bdfe07
convert ScaledEnvelope to Typescript
2019-10-19 18:26:37 -04:00
Yotam Mann
e1a1552bcf
exporting analysis classes
2019-10-13 21:11:44 -04:00
Yotam Mann
3a89459916
more sensible default
2019-10-11 18:59:43 -04:00
Yotam Mann
3f53201906
noting range
2019-10-11 18:58:56 -04:00
Yotam Mann
47642ba51d
using floating point comparison
2019-10-09 13:00:16 -04:00
Yotam Mann
0f9bac5101
making it possible to have a release of time 0
2019-10-09 12:54:14 -04:00
Yotam Mann
b3875697b6
fixing path
2019-10-09 12:46:00 -04:00
Yotam Mann
682d263819
Wrapping properties to be able to test range before assignment
...
throw errors at time of assignment
2019-10-09 12:41:51 -04:00
Yotam Mann
3323a7574e
using the sig output instead of the destination
...
since some envelopes are silent
2019-10-09 10:06:17 -04:00
Yotam Mann
fc5b6f7c46
feat: Render a segment of the envelope as an array
2019-10-08 19:23:21 -04:00
Yotam Mann
1668decf70
feat: Convolver is just a wrapper around the ConvolverNode, no longer an effect
...
a more basic wrapper around the ConvolverNode which unlike the Convolver effect, does not have a dry/wet knob
2019-10-07 15:37:07 -04:00
Yotam Mann
f6a17b878f
removing unnecessary assignment
2019-09-29 17:26:11 -04:00
Yotam Mann
18b90a00a2
changing var name and using 'swappable' property
2019-09-29 13:05:51 -04:00
Yotam Mann
b379a20b6d
Using GainNode instead of gain
...
fixes #299
2019-09-29 10:30:57 -04:00
Yotam Mann
f86f940987
adding categories
2019-09-29 10:19:35 -04:00
Yotam Mann
d88de11cfe
converting Follower to typescript
2019-09-27 18:22:11 -04:00
Yotam Mann
7c3582bea3
refactor: implementing FeedbackCombFilter with AudioWorkletNode
...
handles sub 128 sample feedback
2019-09-27 17:58:04 -04:00
Yotam Mann
726fb26f80
exporting comb filters
2019-09-27 17:55:31 -04:00
Yotam Mann
ce93214e43
using OnePoleFilter in LowpassCombFilter and PluckSynth
...
means an API change since dampening is no longer a signal rate parameter
2019-09-24 22:41:58 -04:00
Yotam Mann
52c0b7d56f
adding OnePoleFilter
...
does a single pole highpass and lowpass
addresses #531
2019-09-24 22:08:50 -04:00
Yotam Mann
ed367e0f9b
adding nominal range to properties
2019-09-24 17:21:59 -04:00
Yotam Mann
df24096376
filter rolloff enum
2019-09-24 17:18:52 -04:00
Yotam Mann
f2285a12b6
setting min and max range for properties
2019-09-24 17:12:46 -04:00
Yotam Mann
03aa301c75
adding filter rolloff type
2019-09-21 13:10:19 -04:00
Yotam Mann
70df9df641
fixing type for ratio
2019-09-21 13:09:06 -04:00
Yotam Mann
f8e7a81490
linting
2019-09-20 17:50:14 -04:00
Yotam Mann
3f6bcd9438
undoing additional lookAhead
...
turns out to not be necessary
2019-09-20 00:16:03 -04:00
Yotam Mann
abc6ef0e2b
removing old classes
2019-09-17 14:46:35 -04:00
Yotam Mann
d435dcae96
linting
2019-09-17 13:40:07 -04:00
Yotam Mann
7c20589ea0
Merge branch 'pr/538' into typescript
2019-09-17 13:37:58 -04:00
Yotam Mann
536dbb7406
updating comments and typing
2019-09-17 13:37:43 -04:00
Yotam Mann
401d278063
Adding categories to all the nodes
2019-09-16 10:15:23 -04:00
Yotam Mann
e8e785ffdd
linting
2019-09-15 23:32:40 -04:00
Yotam Mann
61c9f191b6
removing calls to tslint
...
getting rid of tslint from project and using eslint instead
2019-09-14 18:06:46 -04:00
Yotam Mann
261a5f4c3b
normalizing whitespace in comments
2019-09-14 16:39:18 -04:00
Yotam Mann
829a7ebd2c
fixing compressor test
2019-09-12 16:05:47 -04:00
Yotam Mann
9be3ffeb05
removing js files
2019-09-12 15:54:28 -04:00
Yotam Mann
a15042d290
exporting options
2019-09-12 15:53:30 -04:00
Yotam Mann
55733930cd
fixing typo
...
testing that it works
2019-09-10 22:42:04 -04:00
Yotam Mann
89fcc3d7af
converting Mono to typescript
2019-09-10 22:38:48 -04:00
Yotam Mann
e85b59755e
converting PanVol to ts
2019-09-10 10:34:47 -04:00
Yotam Mann
7f2dbbcb25
removing js file
2019-09-10 10:08:09 -04:00
Yotam Mann
3d26c3adba
converting Solo to ts
2019-09-10 10:07:50 -04:00
Yotam Mann
2aa03e5805
removing old classes
2019-09-09 23:20:54 -04:00
Yotam Mann
e970d59c98
adding DCMeter which tests a signal output instead of returning a decibel or waveform value
...
replaces getValue method of Meter
2019-09-09 19:28:39 -04:00
Yotam Mann
f2f1530ad1
Adding MeterBase class to reuse some code
2019-09-09 19:27:45 -04:00
Yotam Mann
51f714e505
adding the ability to convert the output to normalRange instead of decibel
2019-09-09 18:30:53 -04:00
Yotam Mann
52a5417ff9
converting FFT to typescript
2019-09-09 18:24:07 -04:00
Yotam Mann
3b52805812
making constructor arg optional
2019-09-09 18:23:48 -04:00
Yotam Mann
a37f5b919b
converting Meter to ts
2019-09-09 17:53:39 -04:00
Yotam Mann
08d5170501
converting Panner3D to typescript
2019-09-08 15:17:20 -04:00
Yotam Mann
736106de5f
accidentally put extra tab before name
2019-09-04 19:18:44 -04:00
Yotam Mann
75a35108af
name is a readonly string
2019-09-04 18:38:04 -04:00
Jacob Clarke
f128fae51e
Converted PluckSynth to TS + filter deps: FeedbackCombFilter, LowpassCombFilter (could not make tests for filters yet due to other issues with ToneWithContext
2019-09-01 21:17:32 +10:00
Yotam Mann
c9d757aaa6
removing references to "@private"
...
old jsdoc comments
2019-08-30 09:08:29 -07:00
Yotam Mann
3e2de8f259
fixing spacing
...
typedoc wants one space before the "@"
2019-08-30 09:06:38 -07:00
Yotam Mann
1dba46a822
removing converting files
2019-08-27 10:06:34 -07:00
Yotam Mann
230287f813
updating docs
2019-08-27 10:02:31 -07:00
Yotam Mann
8acc11781b
moving params to above constructor
2019-08-21 13:00:44 -07:00
Yotam Mann
e60526c006
fixing typing
2019-08-20 22:51:08 -07:00
Yotam Mann
ff5360f408
converting Panner to ts
2019-08-20 22:50:12 -07:00
Yotam Mann
bea5f32a5c
setting channelCount to 1 and mode to "explicit"
...
fixes issue with std-audio-context and stereo panner
2019-08-20 22:22:52 -07:00
Yotam Mann
afb9d1726e
converting PhaseShiftAllpass to typescript
2019-08-20 11:19:23 -07:00
Yotam Mann
1439c988e8
Merge branch 'pr/521' into typescript
2019-08-19 19:02:07 -07:00
Yotam Mann
c2e7c3af04
linting
2019-08-19 10:11:48 -07:00
Yotam Mann
4a811bb5aa
updating docs
2019-08-15 19:22:49 -04:00
Yotam Mann
6ae86b1c46
converting compressor to ts
2019-08-15 19:18:09 -04:00
Yotam Mann
78d546ea73
testing getting an array curve
2019-08-12 10:16:07 -04:00
Yotam Mann
ef66b85209
using assert instead of conditionals
2019-08-12 10:15:55 -04:00
Yotam Mann
38d6f9d242
optimization by moving child objects into constructor
...
means that in many cases the param won't be assigned twice
2019-08-08 14:15:56 -04:00
Yotam Mann
3a3d563c6e
schedule volume from time = 0
2019-08-07 00:52:31 -04:00
Yotam Mann
2c2c71dd43
updating to new API
2019-08-06 22:54:58 -04:00
Yotam Mann
adce8e2e70
linting
2019-08-04 15:47:02 -04:00
Yotam Mann
e852b99a43
adding ConnectTest to automatically test connections
2019-08-04 10:07:19 -04:00
Yotam Mann
56db8b3a7a
simplifying _internalChannels
...
channelCount/Mode/Interpretation check the input/output nodes, which removes the need for many classes to have _internalChannels
2019-08-03 12:00:14 -04:00
Yotam Mann
4364f2f843
no longer necessary to pass in number of inputs
...
the count is inferred by checking the input or output node
2019-08-02 21:47:57 -04:00
Yotam Mann
59330262bd
converting Split to ts
2019-08-02 21:46:36 -04:00
Yotam Mann
52bcac2599
setting name to readonly
2019-08-02 21:09:35 -04:00
Yotam Mann
1792ff1d05
merging functionality from 'dev'
...
changes were made to .js files which are no longer there. moving functionality to .ts files
2019-08-02 13:56:51 -04:00
Maximilian Wagenbach
b3392308aa
Improved documentation of FrequencyShifter and PhaseShiftAllpass.
...
Removed unneeded code.
2019-08-01 11:48:06 +02:00
Maximilian Wagenbach
3be1921fc8
Added impulse response test for the PhaseShiftAllpass.
2019-08-01 00:23:25 +02:00
Yotam Mann
6e5e8b3399
using specific types
...
importing them so there are not multiple import type errors
2019-07-30 15:35:27 -04:00
Yotam Mann
a88e9b5a84
making time optional
2019-07-30 10:25:17 -04:00
Maximilian Wagenbach
866d019228
Added PhaseShiftAllpass.
...
It implements a 90° phase shift between its two outputs using IIR filters.
2019-07-29 16:21:38 +02:00
Yotam Mann
84a8fb0255
updating docs
2019-07-26 11:56:33 -04:00
Yotam Mann
69c6238d4c
Adding some ASCII art
2019-07-25 15:14:54 -04:00
Yotam Mann
e3f5940afd
only relative imports
2019-07-25 13:32:34 -04:00
Yotam Mann
bfc3d7ed15
toMaster() -> toDestination()
...
more consistent with the Web Audio API
2019-07-25 11:32:56 -04:00
Yotam Mann
9a49c873df
exporting modules from main entry
2019-07-25 11:29:36 -04:00
Yotam Mann
3e6484eef6
converting Merge to ts
2019-07-25 10:45:27 -04:00
Yotam Mann
ef19d2e6e8
input and output are no longer arrays
...
simplifies connect/disconnect logic greatly. Simplifies API to just have clearly named inputs/outputs instead of overloading input/output connect numbers
2019-07-25 10:43:47 -04:00
Yotam Mann
386d96360e
adding some ascii art to better explain
2019-07-25 09:08:47 -04:00
Yotam Mann
2f7d4111ee
convert CrossFade to ts
...
now uses StereoPannerNode
2019-07-24 23:18:09 -04:00
Yotam Mann
ffad8c1475
confirm that an instance was disposed
...
implement Tone.prototype.dispose which flips a boolean wasDisposed.
2019-07-23 12:11:57 -04:00
Yotam Mann
c39dacf22d
adding name prop
2019-07-18 14:06:32 -04:00
Yotam Mann
7f47b50917
converting AmplitudeEnvelope to ts
2019-07-18 11:24:32 -04:00
Yotam Mann
9d131effb1
converting Envelope to ts
2019-07-18 10:21:27 -04:00
Yotam Mann
5d36e4a523
only use relative imports
2019-07-17 13:12:21 -04:00
Yotam Mann
990c0f56ed
using type instead of string types
2019-07-15 15:37:25 -04:00
Yotam Mann
80e5da5bd4
making paths relative
2019-07-11 17:33:04 -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
tambien
7687ae512e
moving some config into the constructor
...
since multiband split was not yet declared, some of the properties were undefined
2019-06-24 14:35:25 -04:00
tambien
96628e0984
ensuring context is passed to subclasses
2019-06-24 14:34:17 -04:00
tambien
2e177c4ed0
adding multiband split tests
2019-06-24 14:33:54 -04:00
Yotam Mann
02cfefa7ef
Merge branch 'typescript' into fix-typescript-linting
2019-06-24 13:33:18 -04:00
Yotam Mann
f3076e206f
Merge pull request #504 from garrensmith/eq3-multiband
...
convert multibandsplit and eq3 to typescript
2019-06-24 13:28:45 -04:00
tambien
a887660792
updating docs
2019-06-23 14:48:21 -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
Garren Smith
ac627ab332
convert multibandsplit and eq3 to typescript
2019-06-23 11:36:42 +02:00
tambien
eef868e8a1
matching functionality to Filter.js
2019-06-21 14:42:50 -04:00
Garren Smith
d215e01914
remove unneeded imports in tests
2019-06-21 19:32:06 +02:00
Garren Smith
30425572c9
Convert filter.js to typescript
2019-06-21 19:29:46 +02:00
tambien
ef55dc9bb8
Create Analyser.test.ts
2019-06-19 14:24:30 -04:00
tambien
962610587b
converting Volume to ts
2019-06-19 09:53:18 -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
Colin
bb67e9c83d
Improved explanation of size in FFT/Analyser docs ( #477 )
2019-04-12 10:45:34 -04:00
tambien
6fb2b30dce
Merge branch 'dev' into typescript
2019-04-12 10:40:10 -04:00
Colin
aa92ea6162
Correct description for Tone.FFT ( #476 )
2019-04-11 17:43:21 -04:00
tboie
8f08316b41
#471 ( #472 )
2019-04-04 15:10:03 -04:00