Yotam Mann
|
cee2d3da3a
|
TransportTime returns seconds instead of Ticks
introducing Ticks for tick representation
|
2017-12-17 13:24:34 -05:00 |
|
Yotam Mann
|
32374fe27a
|
constructor can take another type and convert it to target type
|
2017-12-17 13:23:31 -05:00 |
|
Yotam Mann
|
ade2778082
|
Tone.Ticks extends TransportTime
|
2017-12-17 13:17:46 -05:00 |
|
Yotam Mann
|
ac6af1cf56
|
simplifying TimeBase classes. No longer evaluate expressions
|
2017-12-16 14:31:09 -05:00 |
|
Yotam Mann
|
4316530b16
|
linting
|
2017-10-26 16:03:00 -04:00 |
|
Yotam Mann
|
c58fad41f0
|
linting
|
2017-10-26 15:26:04 -04:00 |
|
Yotam Mann
|
cb2a982c39
|
linting
|
2017-10-21 19:02:46 -04:00 |
|
Jack Anderson
|
5b491a5379
|
Round Time#toTicks (#256)
* failing test for toTicks() float issue
* round (not floor) to nearest tick
|
2017-09-17 12:35:32 -04:00 |
|
Yotam Mann
|
6937466554
|
fixed rounding error when converting frequency to midi
|
2017-08-26 15:39:09 -04:00 |
|
Yotam Mann
|
8110d38bd6
|
master->dev
|
2017-08-22 11:57:40 -04:00 |
|
Yotam Mann
|
982e31c099
|
adding Gain typedef
|
2017-08-22 11:44:12 -04:00 |
|
Jack Anderson
|
1fb225383e
|
no insignificant zeroes in barsBeatsSixteenths (#250)
* no insignificant zeroes in barsBeatsSixteenths
- fixes #246
* restore bpm to orig val in trailing zero test
|
2017-08-08 10:54:47 -04:00 |
|
Yotam Mann
|
066eb207ad
|
updating Time copy
[skip ci]
|
2017-07-27 18:02:21 -04:00 |
|
Yotam Mann
|
b927395825
|
making defaultArg static
|
2017-04-30 15:03:49 -04:00 |
|
Yotam Mann
|
f7b7600ac9
|
fixing jsdoc errors
[skip ci]
|
2017-04-30 11:16:35 -04:00 |
|
Yotam Mann
|
4bda177b83
|
gainToDb, dbToGain, intervalToFrequencyRatio now static functions
|
2017-04-26 23:21:26 -04:00 |
|
Yotam Mann
|
edfa168713
|
moving to static type queries
i.e. this.isString -> Tone.isString
|
2017-04-26 00:24:19 -04:00 |
|
Yotam Mann
|
d037c28d6f
|
eval -> valueOf
thanks for the suggestion @JackCA
fixes #205
|
2017-03-12 21:31:23 -04:00 |
|
Yotam Mann
|
83a019c987
|
moving context dependency from Transport to Type
|
2017-02-28 19:01:09 -05:00 |
|
Yotam Mann
|
823d6efc16
|
linting
|
2016-11-06 19:41:00 -05:00 |
|
Yotam Mann
|
3b6c15ff5b
|
clarifying code using toType()
|
2016-09-20 18:54:36 -04:00 |
|
Yotam Mann
|
26f7676ef5
|
frequency has a toFrequency
seems a little redundant, but it’s clearer.
|
2016-09-20 18:35:49 -04:00 |
|
Yotam Mann
|
75773eb0f2
|
binary expressions use the same constructor
|
2016-09-20 18:27:10 -04:00 |
|
Yotam Mann
|
3b32641d77
|
corrected toSeconds
didn’t take into account if it was now-relative
|
2016-09-20 18:25:39 -04:00 |
|
Yotam Mann
|
0856efe50f
|
added toSeconds method
no longer relies on the inherited method
|
2016-09-20 18:25:06 -04:00 |
|
Yotam Mann
|
8982688f9e
|
can now pass in Infinity or other valid numbers
|
2016-09-18 20:03:04 -04:00 |
|
Yotam Mann
|
f115b4cdf5
|
clone/copy methods of Time/TimeBase
|
2016-09-18 19:41:25 -04:00 |
|
Yotam Mann
|
f751bba814
|
can convert to Milliseconds
|
2016-08-18 11:41:04 -04:00 |
|
Yotam Mann
|
cf20132b2c
|
limiting BarsBeatsSixteenths precision to three decimal places
|
2016-07-07 14:11:03 -04:00 |
|
Yotam Mann
|
99f4ab3b79
|
updating docs for types
[skip ci]
|
2016-07-07 10:40:23 -04:00 |
|
Yotam Mann
|
4628f8c47a
|
prefixing errors with class name.
|
2016-05-25 20:50:46 -04:00 |
|
Yotam Mann
|
b02a13ab08
|
not using Math.log2 (since it's not supported across all browsers yet)
|
2016-05-14 17:00:57 -04:00 |
|
Yotam Mann
|
6c77c60469
|
ensures addNow can only be called once
|
2016-05-14 16:31:35 -04:00 |
|
Yotam Mann
|
1d9e43f33a
|
handles math operations correctly now
|
2016-05-14 16:27:55 -04:00 |
|
Yotam Mann
|
b1d0d33f1b
|
can accept time as the value
|
2016-04-18 02:05:54 -04:00 |
|
Yotam Mann
|
696e84cafb
|
new core timing primitives
|
2016-04-18 00:34:16 -04:00 |
|