Commit graph

421 commits

Author SHA1 Message Date
Yotam Mann
58a1223a9a meter uses the analyser node
no more ScriptProcessorNodes
2016-05-14 19:13:50 -04:00
Yotam Mann
24692aa343 can be muted in the constructor options 2016-05-14 17:46:21 -04:00
Yotam Mann
3ecd99ecb6 moving mute code to Volume 2016-05-14 17:34:23 -04:00
Yotam Mann
aacf62136b increasing testing time for signal scheduling 2016-05-14 17:34:03 -04:00
Yotam Mann
07184385f9 testing muting 2016-05-14 17:21:36 -04:00
Yotam Mann
9a0fbb1991 using more reliable Offline timing tests for quantization 2016-05-14 17:16:28 -04:00
Yotam Mann
11dd12f002 changing subdivision test to use Offline testing
more reliable than setTimeout
2016-05-14 17:00:31 -04:00
Yotam Mann
c83c70d11c cancels scheduling when setting a value with .value
this makes the behavior consistent between Webkit and FF
2016-05-14 16:52:58 -04:00
Yotam Mann
98e58d0576 switching argument position of type and size
type is more important a parameter.
2016-05-14 16:34:50 -04:00
Yotam Mann
b68f4d24f2 testing that time classes handle expressions 2016-05-14 16:30:40 -04:00
Yotam Mann
ce0f6fb2ec rewriting test to not use secondsToSamples 2016-04-18 02:39:06 -04:00
Yotam Mann
688e3812ab removing old types 2016-04-18 02:19:29 -04:00
Yotam Mann
a7f36314f2 tests using new Type 2016-04-18 02:18:36 -04:00
Yotam Mann
1e82abfaa2 CtrlInterpolate no longer interpolates notes 2016-04-18 02:07:24 -04:00
Yotam Mann
7a749dee0f tests accurately reset the PPQ each time 2016-04-18 02:04:48 -04:00
Yotam Mann
e582294937 testing if schedule methods accept TransportTime 2016-04-18 01:15:49 -04:00
Yotam Mann
5c2957d34b type tests 2016-04-18 00:34:35 -04:00
Yotam Mann
3f6580b843 simplifying NoiseSynth
removing filer and filterEnvelope
2016-04-18 00:28:39 -04:00
Yotam Mann
fdf39d4253 testing swing 2016-04-18 00:17:23 -04:00
Yotam Mann
a0d066032e Transport unnecessary dependency 2016-04-18 00:15:46 -04:00
Yotam Mann
ee39eb3ce7 wasDisposed ignores objects that are on the prototype 2016-04-18 00:15:26 -04:00
Yotam Mann
d27f5bb8d1 updating Transport tests with nextSubdivision changes 2016-04-13 13:06:57 -04:00
Yotam Mann
1ecf848c7a removing quantization tests from Type 2016-04-13 12:27:38 -04:00
Yotam Mann
b32e73a5fc fixed typo in test 2016-04-13 12:24:34 -04:00
Yotam Mann
68b1791222 moving interval to frequency test 2016-04-12 21:01:15 -04:00
Yotam Mann
9f4135404c updated testing README
[skip ci]
2016-03-29 19:42:31 -04:00
Yotam Mann
ddbba6cccc small typo corrections
Addresses #130

thanks @Joseworks
2016-03-29 19:27:14 -04:00
Yotam Mann
0e2c4fde9a a few more sanity checks for the polysynth 2016-03-21 15:20:04 -04:00
Yotam Mann
d722bdf555 offline testing sequences 2016-03-20 19:26:19 -04:00
Yotam Mann
c7e8551a2f removing conditional test for float waveform analysis 2016-03-20 19:03:18 -04:00
Yotam Mann
e18ed2e677 polyfill for browsers that don't support interpolate value curves
Required by [the
spec](http://webaudio.github.io/web-audio-api/#widl-AudioParam-setValueC
urveAtTime-AudioParam-Float32Array-values-double-startTime-double-durati
on), but not currently implemented by Safari and FF.
2016-03-20 18:36:59 -04:00
Yotam Mann
2285e6feb4 making clock tick more often in offline mode 2016-03-18 11:01:06 -04:00
Yotam Mann
906859b764 adjusting times to compensate for lookAhead 2016-03-18 10:27:48 -04:00
Yotam Mann
9b599642ca fudging times to compensate for lookAhead time 2016-03-18 10:23:49 -04:00
Yotam Mann
d98915ac38 increasing tick update rate for offline tests
makes the clock’s lookahead time come less in into play
2016-03-18 10:23:28 -04:00
Yotam Mann
96897c6a28 COMPLEX->ACCURATE
should be fixed with
https://bugzilla.mozilla.org/show_bug.cgi?id=1257718
2016-03-18 09:51:41 -04:00
Yotam Mann
0afbb59257 ifdef'ing some envelope tests on FF 2016-03-18 09:49:33 -04:00
Yotam Mann
edc3ad5a81 ifdef'ing tests based on current browser support 2016-03-16 13:13:32 -04:00
Yotam Mann
9c3398da49 noting which parts of the spec are supported in which browsers 2016-03-16 13:12:40 -04:00
Yotam Mann
86690eccdb testing setCurveAtTime 2016-03-05 10:44:10 -05:00
Yotam Mann
4a336e1675 using non-mp3s for testing 2016-03-05 00:07:17 -05:00
Yotam Mann
1946d737ae scheduling sequence test in the future 2016-03-05 00:01:29 -05:00
Yotam Mann
102913de14 using wave versions for testing
it’s the most cross-platform
2016-03-04 23:52:17 -05:00
Yotam Mann
abb300a249 cleaning up unused mp3s
This reverts commit f478be48b0.
2016-03-04 23:31:23 -05:00
Yotam Mann
a0c49b0286 adjusting ranges
so FF passes more consistently.
2016-03-04 19:31:21 -05:00
Yotam Mann
b29e543458 removing test which doesn't pass on Chromium
(for now)
2016-03-04 19:20:36 -05:00
Yotam Mann
f478be48b0 switching to mp3 for testing 2016-03-04 19:07:08 -05:00
Yotam Mann
aa1b5123aa fixing panner for browsers that don't support stereo panner 2016-03-04 18:59:31 -05:00
Yotam Mann
df9c213c33 adding karma testing files and hooks 2016-03-04 16:25:44 -05:00
Yotam Mann
45a82a4965 removing setTimeouts where possible
replacing it with new Offline
2016-03-04 16:00:05 -05:00
Yotam Mann
26db6d9377 testing envelope canceling 2016-03-04 15:54:39 -05:00
Yotam Mann
07f8f227cf .events -> .values 2016-03-04 15:35:10 -05:00
Yotam Mann
cea06ca26c moving event classes to Offline testing 2016-03-04 15:31:48 -05:00
Yotam Mann
dd3b35b430 testing if stopping before starting will cancel the sound
addresses #121
2016-03-03 13:04:36 -05:00
Yotam Mann
2020194a1c testing and handling edge cases 2016-03-03 13:00:59 -05:00
Yotam Mann
b29c297398 using new Offline testing 2016-03-03 01:37:44 -05:00
Yotam Mann
621242c17d removing log 2016-03-03 01:37:07 -05:00
Yotam Mann
0ed5591338 slicker syntax than other Offline test 2016-03-03 01:36:46 -05:00
Yotam Mann
ac9c4a3360 offline test adjusts 'now' method to allow for offline testing
previously these things needed to be tested in real-time. now can be
tested faster than real time
2016-03-03 01:36:31 -05:00
Yotam Mann
e8eb147935 Merge branch 'dev' of https://github.com/Tonejs/Tone.js into dev 2016-02-27 17:19:26 -05:00
Yotam Mann
115b9376ab Panner is now between -1 and 1
Same as the Web Audio API.
2016-02-27 11:31:15 -05:00
Yotam Mann
ba2ee5deff merge needs both sides connected
updating test to reflect that.
2016-02-27 11:27:59 -05:00
Yotam Mann
acd0f89d83 updating tests to compensate for 0 gain optimization 2016-02-27 11:27:17 -05:00
Yotam Mann
5389ad0add removing unused tests 2016-02-27 11:26:48 -05:00
Yotam Mann
553b11a4d9 Zero tests 2016-02-27 11:22:49 -05:00
Yotam Mann
ed7e4839f2 removing tests of old signal classes 2016-02-27 11:19:41 -05:00
Yotam Mann
1e4a2375ff sanity checks on MultiPlayer 2016-02-08 13:44:49 -05:00
Yotam Mann
ce148de513 basic sanity checks for PolySynth 2016-02-08 13:44:49 -05:00
Yotam Mann
ecd15808c2 simplified Abs
now only accepts signals in the range [-1,1]
2016-02-06 15:06:03 -05:00
Yotam Mann
abc62d3962 Merge pull request #115 from hiddedejong/PartOffset
fixed start offset in Tone.Part, now behaves like Tone.Player
2016-02-01 22:28:59 -05:00
Yotam Mann
f622ce79fe testing for discontinuities.
addresses #116
2016-01-31 23:41:10 -05:00
Hidde de Jong
523634106c added test for starting Tone.Part with an offset before loopStart 2016-01-31 23:05:03 +01:00
Yotam Mann
7338775540 removing SimpleAM and SimpleFM
These synths are very similar to AM/FMSynth. Plus, the new FMOscillator
type available in SimpleSynth makes it already a Simple FM/AM Synth.
2016-01-30 15:54:59 -05:00
Yotam Mann
46919e7c86 Simplifying the API of FMSynth and AMSynth
uses SimpleSynth instead of MonoSynth. API more flat.
2016-01-30 15:53:40 -05:00
Yotam Mann
2f4d6d07cd DrumSynth->MembraneSynth & CymbalSynth->MetalSynth 2016-01-30 15:48:32 -05:00
Yotam Mann
247c2ff5b3 CymbalSynth tests 2016-01-19 10:02:54 -05:00
Yotam Mann
4fe2304edd test that the instrument is silent before being triggered. 2016-01-18 22:47:09 -05:00
Yotam Mann
bb64bd307f ensuring the envelope is silent
not just quiet.
2016-01-18 22:46:50 -05:00
Yotam Mann
9f785b371e removing deprecated methods 2016-01-18 22:45:46 -05:00
Yotam Mann
e0a8e98554 testing that audio doesn't clip in any oscillator 2016-01-18 00:27:30 -05:00
Yotam Mann
5a772466ae 3 new oscillator types
and combined them into the OmniOscillator
2016-01-17 22:43:44 -05:00
Yotam Mann
3215e5db25 testing that envelope is silent while not triggered
Addresses #109
2016-01-16 15:39:48 -05:00
Yotam Mann
5eb590da27 increasing tolerance for test 2015-12-08 00:07:29 -05:00
Yotam Mann
eda4553169 using baseFrequency and octaves for AutoFilter 2015-12-07 11:46:34 -05:00
Yotam Mann
d29995a42a phaser uses octaves instead of depth.
more consistent with rest of API.
2015-12-07 01:04:09 -05:00
Yotam Mann
2664140ab0 implementing filterEnvelope with Tone.FrequencyEnvelope 2015-12-07 00:39:39 -05:00
Yotam Mann
307dd6632c FrequencyEnvelope is like ScaledEnvelope but with baseFrequency and octaves instead of min and max 2015-12-07 00:23:21 -05:00
Yotam Mann
f7547217c8 Timeline has an optional memory length 2015-12-06 23:48:53 -05:00
Yotam Mann
298799dee9 added 'spread' to Chorus 2015-12-06 20:53:36 -05:00
Yotam Mann
23dd869b30 testing 'spread' 2015-12-06 17:37:45 -05:00
Yotam Mann
a4f1bd4274 testing Timeline updates 2015-12-06 17:23:30 -05:00
Yotam Mann
8bb2ee9b02 testing playbackRate 2015-12-06 13:14:36 -05:00
Yotam Mann
5e9d79eee3 Revert "testing playbackRates"
This reverts commit 102491c898.
2015-12-06 13:14:36 -05:00
Yotam Mann
501bf3c516 wider tolerance for testing 2015-12-06 13:14:36 -05:00
Yotam Mann
8231fc5cf3 fixing and testing start offset for non-looping parts 2015-11-26 08:42:33 -08:00
Yotam Mann
f545fcdf90 additional Event testing 2015-11-26 08:27:50 -08:00
Yotam Mann
7f660730df removing exponent member 2015-11-17 22:51:32 -05:00
Yotam Mann
a4e0b65992 testing new Emitter style 2015-11-11 12:33:11 -05:00
Yotam Mann
102491c898 testing playbackRates 2015-11-10 23:47:20 -05:00
Yotam Mann
1b05129595 testing rests 2015-11-10 23:01:24 -05:00