Add files via upload

This commit is contained in:
2020-10-19 03:20:26 +02:00
committed by GitHub
parent aa15929b52
commit 4b6f99289c
6 changed files with 82 additions and 45 deletions

View File

@@ -13,7 +13,7 @@ synth1 = new Tone.FMSynth({
release: 0,
},
}).toMaster();
}).toDestination();
piano.on('change',function(keyValue) {
if (keyValue.state == true) { // If Key is down
@@ -29,7 +29,6 @@ function midiNote(note, vel){
piano.toggleKey(note, false)
}
}
//filters
function updateFilter1(){
var filter1 = new Tone.AutoFilter(filter1_1).start(); //LFO
@@ -39,7 +38,6 @@ function updateFilter1(){
synth1.chain(filter1, distortion1, reverb1, Tone.Destination);
}
// Controls
var sus1_d = new Nexus.Dial('#sustain1', dial_settings1)
var dec1_d = new Nexus.Dial('#decay1', dial_settings1)