Tone.js/Tone/instrument
Charles Holbrow 51ac1a2100 Sampler Instrument can play entire sample, even when pitch shifting down. (#335)
* Sampler instrument does not truncate playback when pitch shifting down

* `BufferSource.start` defaults to playing the entire buffer, respects `this.playbackRate`

Previously, the Buffer would truncate the sample when `playbackRage` is less than 1.

Within the `start` method, this commit also tightens the scope of `var computedDur`, so
that it is accessible only where it is used.
2018-04-25 14:27:50 -04:00
..
AMSynth.js optimizing instrument by only turning on oscillators when active 2018-02-05 13:50:14 -05:00
DuoSynth.js getLevelAtTime returns the envelope's value at the given time 2018-03-29 16:56:27 -04:00
FMSynth.js optimizing instrument by only turning on oscillators when active 2018-02-05 13:50:14 -05:00
Instrument.js sync/unsync triggerAttack/Release to the Transport 2018-01-02 16:49:41 -05:00
MembraneSynth.js linting 2018-03-05 12:25:33 -05:00
MetalSynth.js linting 2018-03-05 12:25:33 -05:00
Monophonic.js getLevelAtTime returns the envelope's value at the given time 2018-03-29 16:56:27 -04:00
MonoSynth.js playing sources only while instruments are triggered 2018-02-08 11:11:57 -05:00
NoiseSynth.js fixing typo in triggerAttack 2018-04-25 10:28:49 -04:00
PluckSynth.js linting 2018-03-05 12:25:33 -05:00
PolySynth.js sync/unsync triggerAttack/Release to the Transport 2018-01-02 16:49:41 -05:00
Sampler.js Sampler Instrument can play entire sample, even when pitch shifting down. (#335) 2018-04-25 14:27:50 -04:00
Synth.js playing sources only while instruments are triggered 2018-02-08 11:11:57 -05:00