Yotam Mann
f5b7924bf2
make sure the duration is always positive
...
otherwise it throws an error
2016-08-15 23:13:09 -04:00
Yotam Mann
12392eba34
new Transport syncing API
...
now all calls after sync will be placed along the Transport’s timeline
instead of the AudioContext
Fixes #154
2016-08-15 23:13:09 -04:00
Yotam Mann
2569bfef8b
to/fromArray
...
plus a few more properties.
2016-08-15 10:23:01 -04:00
Yotam Mann
682ec0e46e
get/set the progress in seconds
2016-08-15 07:28:52 -04:00
Yotam Mann
e8178581c0
Merge pull request #161 from JackCA/allow-silencing-version-log
...
allow silencing of version log
2016-08-15 06:44:15 -04:00
Jack Anderson
f2f1cf6b9c
allow silencing of version log
...
- useful for test environments
2016-08-14 12:21:50 -07:00
Yotam Mann
6d0565387e
only schedule the stop in a valid state
...
the playbackState API has been deprecated, but the bug still is
implemented in Safari.
2016-08-11 23:58:48 -04:00
Yotam Mann
75d6126615
Convolved takes callback as second parameter
...
also accepts no arguments now
2016-08-09 14:24:59 -04:00
Yotam Mann
9a74728858
no longer throws error when no buffer is set
...
just doesn’t play instead
2016-08-09 01:14:52 -04:00
Yotam Mann
3d2b86032e
added has
method to test if buffer exists
2016-08-09 01:14:52 -04:00
Yotam Mann
7984819753
update the octaves when changing the baseFrequency
...
this way the `lfo.max` also gets updated
2016-08-08 16:20:30 -04:00
Yotam Mann
464d64d13b
Merge branch 'master' into dev
2016-07-20 15:44:34 -04:00
Yotam Mann
b266902bd7
can set the buffer
2016-07-20 15:42:55 -04:00
Yotam Mann
0824582274
update the octaves when updating the baseFrequency
...
otherwise it remains at the previous value
2016-07-20 15:37:51 -04:00
Yotam Mann
e029ead2bc
small update to the docs
...
[skip ci]
2016-07-20 13:12:31 -04:00
Yotam Mann
3aea0546f5
starting r8
...
[skip ci]
2016-07-10 12:31:15 -04:00
Yotam Mann
6c8c75a2ec
Clock ticks do not catch up when restarted after pause
...
fixes #145
2016-07-08 12:26:58 -04:00
Yotam Mann
8195d9d260
release candidate
2016-07-07 14:56:33 -04:00
Yotam Mann
62ca8f8c7b
setRampPoint does not need to convert from units
2016-07-07 14:23:48 -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
eb5a459d03
removing vibratoDelay
...
wasn’t doing anything.
2016-07-06 23:41:14 -04:00
Yotam Mann
99d7d2f8bd
disconnects from a specific node
...
(tests this feature only when supported)
2016-07-06 23:39:06 -04:00
Yotam Mann
c08e16087f
correctly setting PPQ
...
wasn’t taking into account that the returns bpm value was dependent on
the PPQ. therefore, need to read the bpm before setting the PPQ.
2016-07-06 23:23:14 -04:00
Yotam Mann
d0b18c5d09
test for file type support.
2016-07-06 23:09:56 -04:00
Yotam Mann
810ee8530e
uses the units value when ramping
...
previously there was an issue that it would start ramping from the
unconverted value.
2016-07-06 23:00:07 -04:00
Yotam Mann
2905cce5d2
making fadeTo exponential when set to decibels.
...
also converting from units to set ramp point
2016-07-06 22:59:21 -04:00
Yotam Mann
f5f75718e1
buffers can be more easily passed into the options object
2016-07-06 22:36:40 -04:00
Yotam Mann
02f96db94b
simplifiying Sampler
2016-07-06 22:32:34 -04:00
Yotam Mann
b0f11dfa5b
granular synthesis player
2016-07-05 20:32:53 -04:00
Yotam Mann
1ba3733439
interval is exclusive of end point
...
specifically the repeat time is: [start, start + duration).
so Transport.scheduleRepeat(fn, 1, 0, 2) will repeat twice, not three
times (since it’s exclusive of the end time).
2016-06-22 16:39:48 -04:00
Yotam Mann
20f8adebba
adjust PWM scaling so it doesn't go silent
2016-06-17 14:02:24 -04:00
Yotam Mann
a40aa6bd12
Fixing case where partial envelope is retriggered using one of the predefined envelopes
2016-06-17 13:13:20 -04:00
Yotam Mann
49c401e6d8
calling stop when duration is given.
...
making sure to assign _startTime using it.
2016-06-17 11:32:34 -04:00
Yotam Mann
3dece40ac6
disposing of volume
2016-06-17 10:54:35 -04:00
Yotam Mann
a2000bf42b
adding volume and mute controls
2016-06-17 10:43:30 -04:00
Yotam Mann
89636d40ef
ramping from current gain value
2016-06-17 10:43:06 -04:00
Yotam Mann
c70ab5d07a
using fadeOut when duration is set
2016-06-16 17:30:46 -04:00
Yotam Mann
74ebee4bfe
MultiPlayer keeps track of all the BufferSources it's played
2016-06-15 00:48:55 -04:00
Yotam Mann
f1e6c154e0
using linear ramping instead (sounds pretty much the same)
...
also compensating for the fade time when there is a passed in
duration.
2016-06-14 23:48:25 -04:00
Yotam Mann
ac0851b4c8
ensure onended
callback is not invoked after disposing
2016-06-14 21:08:30 -04:00
Yotam Mann
1efc061ebd
explicitly stop the AudioBufferSource when duration is given
2016-06-14 20:43:26 -04:00
Yotam Mann
96644f37d2
Adjusting the timing of the tests
...
also using wav’s instead of mp3s
2016-06-14 20:27:12 -04:00
Yotam Mann
693867f9be
Revert "encoding the URI"
...
This reverts commit 754e9fc500
.
2016-06-14 20:04:28 -04:00
Yotam Mann
e0edb67a75
Wrapper around the basic AudioBufferSourceNode
2016-06-14 19:57:46 -04:00
Yotam Mann
754e9fc500
encoding the URI
2016-06-14 19:57:15 -04:00
Yotam Mann
5978d46825
Buffers is a data structure for holding multiple Tone.Buffer
2016-06-14 19:57:01 -04:00
Yotam Mann
238cf0caa4
randomizing the noise offset
...
this should make two noises played starting at the same time slightly
different.
2016-06-14 19:56:18 -04:00
Yotam Mann
cce32d7efc
IntervalTimeline.forEachOverlap -> forEachAtTime
2016-06-13 09:02:51 -04:00
Yotam Mann
eea938094c
renaming cosine->sine and ease->sine
...
Fixes #69
2016-06-12 09:56:18 -04:00