mirror of
https://github.com/scratchfoundation/scratch-audio.git
synced 2024-12-22 05:53:43 -05:00
cleanup
This commit is contained in:
parent
e45f6ed7d7
commit
66c865fe03
1 changed files with 1 additions and 2 deletions
|
@ -50,7 +50,6 @@ function AudioEngine (sounds) {
|
|||
|
||||
this.theremin = new Tone.Synth();
|
||||
this.portamentoTime = 0.25;
|
||||
this.theremin.portamento = this.portamentoTime;
|
||||
this.thereminVibrato = new Tone.Vibrato(4, 0.5);
|
||||
this.theremin.chain(this.thereminVibrato, this.effectsNode);
|
||||
this.thereminTimeout;
|
||||
|
@ -89,7 +88,7 @@ AudioEngine.prototype.playNoteForBeats = function (note, beats) {
|
|||
|
||||
AudioEngine.prototype.playThereminForBeats = function (note, beats) {
|
||||
// if the theremin is playing
|
||||
// set frequency
|
||||
// ramp to new frequency
|
||||
// else
|
||||
// trigger attack
|
||||
// create a timeout for slightly longer than the duration of the block
|
||||
|
|
Loading…
Reference in a new issue