Commit graph

816 commits

Author SHA1 Message Date
Andrew Petersen
a2aeffe2a2 prevent SyntaxError(s) in Firefox 2015-03-21 23:24:54 -04:00
Yotam Mann
28a86eeba1 removed console log 2015-03-12 17:45:00 -04:00
Yotam Mann
940f92b5a0 convolver buffer not being set correctly
Fixes #54
2015-03-10 14:08:16 -04:00
Yotam Mann
a61860c826 fixed panning bug 2015-03-09 22:52:08 -04:00
Yotam Mann
56e178af76 incremented version 2015-03-09 10:47:44 -04:00
Luke Phillips
237202c049 updated typescript definitions and fixed a few type errors 2015-03-07 19:17:16 +00:00
Luke Phillips
e706e0ad5e remove getOversample 2015-03-07 19:04:40 +00:00
Luke Phillips
f4fc005a57 new typescript definitions 2015-03-07 18:45:11 +00:00
Luke Phillips
db5c6eb865 remove old get and set functions 2015-03-07 18:41:10 +00:00
Luke Phillips
17df3dc4bb es5 getters and setters used in multiband eq 2015-03-07 18:26:08 +00:00
Luke Phillips
d2755e10de Merge Tone r4 2015-03-05 16:06:27 +00:00
Yotam Mann
269b2940c3 r4 build 2015-03-03 12:15:37 -05:00
Yotam Mann
b796d3ef1e more presets 2015-03-03 11:19:53 -05:00
Yotam Mann
41e55e138c clean up 2015-03-03 10:30:42 -05:00
Yotam Mann
a03541c41a fixed problem with sensitivity 2015-03-03 10:27:34 -05:00
Yotam Mann
edbcffc505 simplified components 2015-03-03 10:26:46 -05:00
Yotam Mann
649c2df574 delay works with stereo signals too 2015-03-01 19:49:01 -05:00
Yotam Mann
d8a13d6dea setting initial oscillator type 2015-02-28 19:35:27 -05:00
Yotam Mann
3211347fef test if setting "type" is necessary before doing it 2015-02-28 18:06:25 -05:00
Yotam Mann
d609f8e266 jsdoc'ing instruments 2015-02-27 23:24:51 -05:00
Yotam Mann
e6718e4781 jsdoc'ing effects and components 2015-02-27 16:53:10 -05:00
Yotam Mann
930728648b jsdoc'ing 2015-02-27 13:40:35 -05:00
Yotam Mann
0c4a67296a simplified modulo by constraining input range
only handles inputs between -1 and 1
2015-02-27 13:00:20 -05:00
Yotam Mann
4e77c61638 JSDoc'ing sources 2015-02-27 11:19:45 -05:00
Yotam Mann
4ca5d26848 updating docs 2015-02-26 11:47:44 -05:00
Yotam Mann
a791d80ddf removing some vestigial methods 2015-02-26 11:26:49 -05:00
Yotam Mann
24875c2f4c more JSDoc massaging 2015-02-26 11:26:23 -05:00
Yotam Mann
371e3ce387 more jsdoc examples 2015-02-25 16:20:12 -05:00
Yotam Mann
76973cda7d changed internal tag to private tag
JSDoc stuff
2015-02-25 16:19:43 -05:00
Yotam Mann
a28f805374 made toTicks and ticksToSeconds private 2015-02-25 16:18:40 -05:00
Yotam Mann
62cd815563 made dryWet private in effects
still expose wet control
2015-02-25 00:57:00 -05:00
Yotam Mann
97c6395a3f Sampler regtriggers by default 2015-02-24 12:02:56 -05:00
Yotam Mann
12896a5630 get/set method on Transport 2015-02-23 22:14:22 -05:00
Yotam Mann
c5b2cdae3e low/mid/high uses Signals 2015-02-23 19:46:28 -05:00
Yotam Mann
9722415a4c deprecated Inverse and Divide
They were more complicated than they were useful.
2015-02-23 19:39:46 -05:00
Yotam Mann
9e7742fde7 ramp values in set method 2015-02-23 14:07:52 -05:00
Yotam Mann
c7cf0d0823 setting a preset moved to core 2015-02-23 00:32:33 -05:00
Yotam Mann
db04c9db39 default value 2015-02-23 00:31:05 -05:00
Yotam Mann
93ded2eb2f extend Signal to allow for scheduling 2015-02-23 00:30:53 -05:00
Yotam Mann
8f0fbe2de8 changing _onended callback 2015-02-23 00:29:49 -05:00
Yotam Mann
219eeaa537 source uses scheduled values to determine state 2015-02-23 00:29:07 -05:00
Yotam Mann
4a93f5e53d convolver buffer setter 2015-02-23 00:28:07 -05:00
Yotam Mann
adb80fe792 update to new Transport API 2015-02-23 00:27:37 -05:00
Yotam Mann
3e358536dd methods return this 2015-02-21 14:06:58 -05:00
Yotam Mann
f8b2261b3a new signal syncing API 2015-02-21 14:06:27 -05:00
Yotam Mann
c52d61deaf moved syncing to Transport 2015-02-21 14:05:58 -05:00
Yotam Mann
012b1c28f3 es5 getter/setter on Transport 2015-02-21 14:05:12 -05:00
Yotam Mann
af855b3f55 player does not retrigger by default 2015-02-20 01:01:03 -05:00
Yotam Mann
46b03f2180 forward arguments to voice constructor 2015-02-20 01:00:32 -05:00
Yotam Mann
baba517f09 unmuting the output returns previous value 2015-02-20 00:58:29 -05:00
Yotam Mann
c824b023eb updated to new signal api with connections 2015-02-20 00:53:39 -05:00
Yotam Mann
26d0bcd10e pulseoscillator width gate 2015-02-20 00:53:03 -05:00
Luke Phillips
b545692c09 Noise can setPlayback 2015-02-17 19:58:47 +00:00
Yotam Mann
0ae0d60419 safety checks on set 2015-02-17 11:07:34 -05:00
Yotam Mann
4a3d443936 throws error when not valid filter type 2015-02-17 00:58:17 -05:00
Yotam Mann
b224499df3 fixed bug in pingpongdelay 2015-02-13 16:10:45 -05:00
Yotam Mann
3d1ba46e4c fixed bug in fan method 2015-02-13 16:09:49 -05:00
Yotam Mann
531836c42c this._scalar.gain -> this._value 2015-02-13 10:52:38 -05:00
Yotam Mann
c0f87b1202 volume control in decibels 2015-02-11 23:10:14 -05:00
Yotam Mann
b5ddc8203e using bind instead 2015-02-11 23:10:04 -05:00
Yotam Mann
89495c8635 fixing follower error 2015-02-11 23:09:20 -05:00
Yotam Mann
54bc36cb98 clean up. 2015-02-11 23:08:53 -05:00
Yotam Mann
cbcbdf11b1 fixing attack/release time values 2015-02-11 16:44:50 -05:00
Yotam Mann
baf00519fa crossfade is now equalPower 2015-02-11 15:28:33 -05:00
Yotam Mann
35ca46e811 removing static annotation. 2015-02-11 14:38:10 -05:00
Yotam Mann
e74cfdf41e added amplitude to LFO 2015-02-11 14:37:48 -05:00
Yotam Mann
8f77745a6b only convert when setting. 2015-02-11 14:37:36 -05:00
Yotam Mann
6b36cf13ef fully migrated to new Signal API 2015-02-10 16:45:05 -05:00
Yotam Mann
5cf420838e updated to new API 2015-02-10 16:44:27 -05:00
Yotam Mann
86be033f31 rampTime defaults to 0 2015-02-10 16:33:55 -05:00
Yotam Mann
da2c77acd2 added pitch parameter 2015-02-10 16:33:37 -05:00
Yotam Mann
51622a1272 renaming rate to frequency 2015-02-10 16:33:18 -05:00
Yotam Mann
9be7113fff added setDelayTimeAtTime to allow for note timing
the note timing is used in Tone.PluckSynth
2015-02-10 12:04:57 -05:00
Yotam Mann
110afb7531 deprecated Tone.Recorder
using it just for testing
2015-02-10 12:02:48 -05:00
Yotam Mann
e1bdfdc8ef return this in Core 2015-02-10 11:41:14 -05:00
Yotam Mann
afb913aec6 Tone.Frequency typedef 2015-02-10 11:40:42 -05:00
Yotam Mann
532edf7bfb ES5 getter/setter on effects 2015-02-10 11:40:27 -05:00
Yotam Mann
9e9321e936 ES5 getter/setter on instruments 2015-02-10 11:40:04 -05:00
Yotam Mann
a8619a95b6 clarifying Signal.Units enum 2015-02-10 11:37:36 -05:00
Yotam Mann
f61eff011b incorporating playbackRate into player
can’t be an Tone.Signal yet because of a Blink bug
2015-02-10 11:37:11 -05:00
Yotam Mann
26ff8d756e clean up source on dispose 2015-02-10 11:36:36 -05:00
Yotam Mann
b1ba37d8d6 migrating components to ES5 getter/setter 2015-02-06 17:49:04 -05:00
Yotam Mann
50917ac49f migrating signals to ES5 getter/setters 2015-02-06 17:47:26 -05:00
Yotam Mann
e713c6d2ce Normal and Audio range signals 2015-02-04 10:29:25 -05:00
Yotam Mann
3bc48cbb75 moving loaded flag to 'set' method 2015-02-04 10:16:49 -05:00
Yotam Mann
9c3aa24426 using new setter/getter in core 2015-02-04 10:16:33 -05:00
Yotam Mann
66f524eae6 frequency signal units 2015-02-04 10:15:25 -05:00
Yotam Mann
88bb77ba69 getter/setter on playbackRate
for now playbackRate will be just a number until i can get the signal
connection of playbackRate to work across browser.
2015-02-04 10:15:06 -05:00
Yotam Mann
2dbacd3310 added decibels volume control to sources 2015-02-04 10:11:10 -05:00
Yotam Mann
b0b572f113 Using ES5 getter/setter 2015-02-04 10:10:34 -05:00
Yotam Mann
e7f9595ac8 Signal accepts units and an AudioParam
passing in an AudioParam allows that AudioParam to be synced to the
Transport and use the unit conversions of the Signal class.
2015-02-04 00:36:18 -05:00
Yotam Mann
914123b9d1 using only ES5 getter/setters
replacing old getThing and setThing starting with Oscillators
2015-02-03 23:48:47 -05:00
Yotam Mann
5e9a3981e0 instrument methods return this 2015-02-02 13:30:36 -05:00
Yotam Mann
754a9b77ca effects' methods return this 2015-02-02 13:22:16 -05:00
Yotam Mann
fe93152920 signal value setters/getters 2015-02-02 12:50:18 -05:00
Yotam Mann
0fa6b6cdaf components' methods return this 2015-02-02 12:49:13 -05:00
Yotam Mann
11ef065861 renamed DryWet to CrossFade 2015-02-02 12:48:04 -05:00
Yotam Mann
ee8c2cd43f using isFunction method 2015-02-02 09:41:32 -05:00
Yotam Mann
bda90701d6 all Signals return this 2015-02-01 22:56:33 -05:00
Yotam Mann
362afb32eb returning to public dispose method 2015-02-01 22:05:24 -05:00
Yotam Mann
dd57603003 loaded flag 2015-02-01 21:32:49 -05:00
Yotam Mann
7d30c7784b moving state management to Source 2015-02-01 21:32:07 -05:00
Yotam Mann
e96fb08c44 moved onended in Tone.Source 2015-02-01 20:38:06 -05:00
Yotam Mann
0429548703 small optimization in getter/setter 2015-02-01 20:37:40 -05:00
Yotam Mann
0551f451d0 getter/setter and new dispose 2015-02-01 20:02:54 -05:00
Yotam Mann
fc20586939 getVolume 2015-02-01 20:02:38 -05:00
Yotam Mann
632baf2862 new dispose method and getter/setter 2015-02-01 20:02:30 -05:00
Yotam Mann
650458fafd new dispose and get/set api
integrated new API on sources
2015-02-01 20:02:13 -05:00
Yotam Mann
9070b13c89 ES5 add getter/setter method 2015-02-01 15:48:20 -05:00
Yotam Mann
251a1e02a5 phase get/set for each of the extended oscillators 2015-02-01 15:47:31 -05:00
Yotam Mann
9eee63459a all sources return this
good for chaining methods
2015-02-01 14:40:47 -05:00
Yotam Mann
db0250e054 set loop boundaries after started
Fixes #49
2015-02-01 13:42:51 -05:00
Yotam Mann
b6875955e4 add type getter/setter 2015-02-01 13:32:39 -05:00
Yotam Mann
8a9f5a9ce9 updating docs 2015-02-01 13:32:02 -05:00
Luke Phillips
b40ce6ba8c getters for player.js 2015-01-25 18:45:19 +00:00
Luke Phillips
1f52e24c95 MultibandEQ setters and getters 2015-01-22 13:24:10 +00:00
Luke Phillips
7dad7adfa7 getGain() for Filter class 2015-01-21 09:15:39 +00:00
Luke Phillips
ea5febc95a DryWet getDry and getWet 2015-01-21 09:07:14 +00:00
Luke Phillips
a99325b01a DryWet getter function description added 2015-01-20 21:08:26 +00:00
Luke Phillips
4c93abb315 DryWet getter functions added 2015-01-20 21:06:38 +00:00
Luke Phillips
c0ba518f30 MultibandEQ getter functions 2015-01-20 14:03:58 +00:00
Luke Phillips
16ee304d48 Chebyshev getter functions 2015-01-20 13:55:28 +00:00
Luke Phillips
ab6710e0b1 WaveShaper getter functions 2015-01-20 13:50:51 +00:00
Luke Phillips
a7e4e316c1 Source getter functions 2015-01-20 13:48:54 +00:00
Luke Phillips
4cdd3a30da Filter getter functions 2015-01-20 13:45:12 +00:00
Luke Phillips
a48c7a759d Envelope getter functions 2015-01-20 13:41:48 +00:00
Luke Phillips
96dab0cdcc StereoWidener getter functions 2015-01-20 13:38:08 +00:00
Luke Phillips
b22804a06f StereoWidener getter functions 2015-01-20 13:36:57 +00:00
Luke Phillips
3ec811b2b7 PingPongDelay getter functions 2015-01-20 13:35:11 +00:00
Luke Phillips
c5695f3efd Phaser getter functions 2015-01-20 13:33:50 +00:00
Luke Phillips
7faee048c8 JCReverb getter functions 2015-01-20 13:30:36 +00:00
Luke Phillips
55a7c628a6 Freeverb getter functions 2015-01-20 13:29:37 +00:00
Luke Phillips
67dbaf203b FeedbackEffect getter functions 2015-01-20 13:17:33 +00:00
Luke Phillips
49a2a6a37e FeedbackDelay getter functions 2015-01-20 13:15:56 +00:00
Luke Phillips
a5d6ae61dc Distortion getter functions 2015-01-20 13:11:43 +00:00
Luke Phillips
0717c194ae BitCrusher getter functions 2015-01-20 13:05:27 +00:00
Luke Phillips
782d7731cf AutoPanner getter functions 2015-01-20 13:00:23 +00:00
Luke Phillips
b584ea242e Pow getter functions 2015-01-20 12:50:31 +00:00
Luke Phillips
cc829b2327 ScaleExp getter functions 2015-01-20 12:49:08 +00:00
Luke Phillips
20bbfd85ed Scale getter functions 2015-01-20 12:46:37 +00:00
Luke Phillips
c670988f6b AutoWah getter functions 2015-01-20 12:42:31 +00:00
Luke Phillips
b11f86be7c Oscillator getter functions 2015-01-20 12:33:07 +00:00
Luke Phillips
bc7c76998b LFO getter functions 2015-01-20 12:31:28 +00:00
Luke Phillips
1371f2522a Chorus getter functions 2015-01-20 12:30:31 +00:00
Luke Phillips
e651a6a62e set functions for bitcrusher 2015-01-18 16:09:31 +00:00
Luke Phillips
dca25ae204 fixed sensitivity error 2015-01-14 14:06:54 +00:00
Yotam Mann
2e15f03490 Revert Tone.Volume representation 2015-01-05 23:33:05 -05:00
Yotam Mann
177b096f55 moved isFrequency to Tone 2015-01-05 22:46:38 -05:00
Yotam Mann
a60ec836db migrating to Tone.Volume representation 2015-01-05 22:46:19 -05:00
Yotam Mann
d659e923bb Tone.Volume representation
accepts db as strings like “6db”
2015-01-05 22:45:24 -05:00