diff --git a/assets/example_patches/808/cmaj_808.js b/assets/example_patches/808/cmaj_808.js index d146171a..b8320c25 100644 --- a/assets/example_patches/808/cmaj_808.js +++ b/assets/example_patches/808/cmaj_808.js @@ -3,7 +3,7 @@ // This file contains a Javascript/Webassembly/WebAudio export of the Cmajor // patch '808.cmajorpatch'. // -// This file was auto-generated by the Cmajor toolkit v1.0.2648 +// This file was auto-generated by the Cmajor toolkit v1.0.2651 // // To use it, import this module into your HTML/Javascript code and call // `createAudioWorkletNodePatchConnection()`. The AudioWorkletPatchConnection diff --git a/assets/example_patches/808/cmaj_api/cmaj-piano-keyboard.js b/assets/example_patches/808/cmaj_api/cmaj-piano-keyboard.js index e4084071..9fc222e3 100644 --- a/assets/example_patches/808/cmaj_api/cmaj-piano-keyboard.js +++ b/assets/example_patches/808/cmaj_api/cmaj-piano-keyboard.js @@ -78,7 +78,7 @@ export default class PianoKeyboard extends HTMLElement for (let child of this.root.children) { - child.addEventListener ("touchstart", (event) => this.touchStart (event) ); + child.addEventListener ("touchstart", (event) => this.touchStart (event), {passive:false} ); child.addEventListener ("touchend", (event) => this.touchEnd (event) ); } } diff --git a/assets/example_patches/CompuFart/cmaj_CompuFart.js b/assets/example_patches/CompuFart/cmaj_CompuFart.js index eb56fc3a..520869af 100644 --- a/assets/example_patches/CompuFart/cmaj_CompuFart.js +++ b/assets/example_patches/CompuFart/cmaj_CompuFart.js @@ -3,7 +3,7 @@ // This file contains a Javascript/Webassembly/WebAudio export of the Cmajor // patch 'CompuFartSynth.cmajorpatch'. // -// This file was auto-generated by the Cmajor toolkit v1.0.2648 +// This file was auto-generated by the Cmajor toolkit v1.0.2651 // // To use it, import this module into your HTML/Javascript code and call // `createAudioWorkletNodePatchConnection()`. The AudioWorkletPatchConnection diff --git a/assets/example_patches/CompuFart/cmaj_api/cmaj-piano-keyboard.js b/assets/example_patches/CompuFart/cmaj_api/cmaj-piano-keyboard.js index e4084071..9fc222e3 100644 --- a/assets/example_patches/CompuFart/cmaj_api/cmaj-piano-keyboard.js +++ b/assets/example_patches/CompuFart/cmaj_api/cmaj-piano-keyboard.js @@ -78,7 +78,7 @@ export default class PianoKeyboard extends HTMLElement for (let child of this.root.children) { - child.addEventListener ("touchstart", (event) => this.touchStart (event) ); + child.addEventListener ("touchstart", (event) => this.touchStart (event), {passive:false} ); child.addEventListener ("touchend", (event) => this.touchEnd (event) ); } } diff --git a/assets/example_patches/ElectricPiano/cmaj_Electric_Piano.js b/assets/example_patches/ElectricPiano/cmaj_Electric_Piano.js index d9c8e91a..10341471 100644 --- a/assets/example_patches/ElectricPiano/cmaj_Electric_Piano.js +++ b/assets/example_patches/ElectricPiano/cmaj_Electric_Piano.js @@ -3,7 +3,7 @@ // This file contains a Javascript/Webassembly/WebAudio export of the Cmajor // patch 'ElectricPiano.cmajorpatch'. // -// This file was auto-generated by the Cmajor toolkit v1.0.2648 +// This file was auto-generated by the Cmajor toolkit v1.0.2651 // // To use it, import this module into your HTML/Javascript code and call // `createAudioWorkletNodePatchConnection()`. The AudioWorkletPatchConnection diff --git a/assets/example_patches/ElectricPiano/cmaj_api/cmaj-piano-keyboard.js b/assets/example_patches/ElectricPiano/cmaj_api/cmaj-piano-keyboard.js index e4084071..9fc222e3 100644 --- a/assets/example_patches/ElectricPiano/cmaj_api/cmaj-piano-keyboard.js +++ b/assets/example_patches/ElectricPiano/cmaj_api/cmaj-piano-keyboard.js @@ -78,7 +78,7 @@ export default class PianoKeyboard extends HTMLElement for (let child of this.root.children) { - child.addEventListener ("touchstart", (event) => this.touchStart (event) ); + child.addEventListener ("touchstart", (event) => this.touchStart (event), {passive:false} ); child.addEventListener ("touchend", (event) => this.touchEnd (event) ); } } diff --git a/assets/example_patches/GuitarLSTM/cmaj_GuitarLSTM.js b/assets/example_patches/GuitarLSTM/cmaj_GuitarLSTM.js index 025b11d3..548984c6 100644 --- a/assets/example_patches/GuitarLSTM/cmaj_GuitarLSTM.js +++ b/assets/example_patches/GuitarLSTM/cmaj_GuitarLSTM.js @@ -3,7 +3,7 @@ // This file contains a Javascript/Webassembly/WebAudio export of the Cmajor // patch 'GuitarLSTM.cmajorpatch'. // -// This file was auto-generated by the Cmajor toolkit v1.0.2648 +// This file was auto-generated by the Cmajor toolkit v1.0.2651 // // To use it, import this module into your HTML/Javascript code and call // `createAudioWorkletNodePatchConnection()`. The AudioWorkletPatchConnection diff --git a/assets/example_patches/GuitarLSTM/cmaj_api/cmaj-piano-keyboard.js b/assets/example_patches/GuitarLSTM/cmaj_api/cmaj-piano-keyboard.js index e4084071..9fc222e3 100644 --- a/assets/example_patches/GuitarLSTM/cmaj_api/cmaj-piano-keyboard.js +++ b/assets/example_patches/GuitarLSTM/cmaj_api/cmaj-piano-keyboard.js @@ -78,7 +78,7 @@ export default class PianoKeyboard extends HTMLElement for (let child of this.root.children) { - child.addEventListener ("touchstart", (event) => this.touchStart (event) ); + child.addEventListener ("touchstart", (event) => this.touchStart (event), {passive:false} ); child.addEventListener ("touchend", (event) => this.touchEnd (event) ); } } diff --git a/assets/example_patches/HelloWorld/cmaj_Hello_World.js b/assets/example_patches/HelloWorld/cmaj_Hello_World.js index b4623644..f1bddcc1 100644 --- a/assets/example_patches/HelloWorld/cmaj_Hello_World.js +++ b/assets/example_patches/HelloWorld/cmaj_Hello_World.js @@ -3,7 +3,7 @@ // This file contains a Javascript/Webassembly/WebAudio export of the Cmajor // patch 'HelloWorld.cmajorpatch'. // -// This file was auto-generated by the Cmajor toolkit v1.0.2648 +// This file was auto-generated by the Cmajor toolkit v1.0.2651 // // To use it, import this module into your HTML/Javascript code and call // `createAudioWorkletNodePatchConnection()`. The AudioWorkletPatchConnection diff --git a/assets/example_patches/HelloWorld/cmaj_api/cmaj-piano-keyboard.js b/assets/example_patches/HelloWorld/cmaj_api/cmaj-piano-keyboard.js index e4084071..9fc222e3 100644 --- a/assets/example_patches/HelloWorld/cmaj_api/cmaj-piano-keyboard.js +++ b/assets/example_patches/HelloWorld/cmaj_api/cmaj-piano-keyboard.js @@ -78,7 +78,7 @@ export default class PianoKeyboard extends HTMLElement for (let child of this.root.children) { - child.addEventListener ("touchstart", (event) => this.touchStart (event) ); + child.addEventListener ("touchstart", (event) => this.touchStart (event), {passive:false} ); child.addEventListener ("touchend", (event) => this.touchEnd (event) ); } } diff --git a/assets/example_patches/Piano/cmaj_Piano.js b/assets/example_patches/Piano/cmaj_Piano.js index 56661407..4897c1e4 100644 --- a/assets/example_patches/Piano/cmaj_Piano.js +++ b/assets/example_patches/Piano/cmaj_Piano.js @@ -3,7 +3,7 @@ // This file contains a Javascript/Webassembly/WebAudio export of the Cmajor // patch 'Piano.cmajorpatch'. // -// This file was auto-generated by the Cmajor toolkit v1.0.2648 +// This file was auto-generated by the Cmajor toolkit v1.0.2651 // // To use it, import this module into your HTML/Javascript code and call // `createAudioWorkletNodePatchConnection()`. The AudioWorkletPatchConnection diff --git a/assets/example_patches/Piano/cmaj_api/cmaj-piano-keyboard.js b/assets/example_patches/Piano/cmaj_api/cmaj-piano-keyboard.js index e4084071..9fc222e3 100644 --- a/assets/example_patches/Piano/cmaj_api/cmaj-piano-keyboard.js +++ b/assets/example_patches/Piano/cmaj_api/cmaj-piano-keyboard.js @@ -78,7 +78,7 @@ export default class PianoKeyboard extends HTMLElement for (let child of this.root.children) { - child.addEventListener ("touchstart", (event) => this.touchStart (event) ); + child.addEventListener ("touchstart", (event) => this.touchStart (event), {passive:false} ); child.addEventListener ("touchend", (event) => this.touchEnd (event) ); } } diff --git a/assets/example_patches/PirkleFilters/cmaj_api/cmaj-piano-keyboard.js b/assets/example_patches/PirkleFilters/cmaj_api/cmaj-piano-keyboard.js index e4084071..9fc222e3 100644 --- a/assets/example_patches/PirkleFilters/cmaj_api/cmaj-piano-keyboard.js +++ b/assets/example_patches/PirkleFilters/cmaj_api/cmaj-piano-keyboard.js @@ -78,7 +78,7 @@ export default class PianoKeyboard extends HTMLElement for (let child of this.root.children) { - child.addEventListener ("touchstart", (event) => this.touchStart (event) ); + child.addEventListener ("touchstart", (event) => this.touchStart (event), {passive:false} ); child.addEventListener ("touchend", (event) => this.touchEnd (event) ); } } diff --git a/assets/example_patches/PirkleFilters/cmaj_vafilters.js b/assets/example_patches/PirkleFilters/cmaj_vafilters.js index 575ed667..953a99e2 100644 --- a/assets/example_patches/PirkleFilters/cmaj_vafilters.js +++ b/assets/example_patches/PirkleFilters/cmaj_vafilters.js @@ -3,7 +3,7 @@ // This file contains a Javascript/Webassembly/WebAudio export of the Cmajor // patch 'vafilters.cmajorpatch'. // -// This file was auto-generated by the Cmajor toolkit v1.0.2648 +// This file was auto-generated by the Cmajor toolkit v1.0.2651 // // To use it, import this module into your HTML/Javascript code and call // `createAudioWorkletNodePatchConnection()`. The AudioWorkletPatchConnection diff --git a/assets/example_patches/Pro54/cmaj_Pro54.js b/assets/example_patches/Pro54/cmaj_Pro54.js index c1725851..d4000f26 100644 --- a/assets/example_patches/Pro54/cmaj_Pro54.js +++ b/assets/example_patches/Pro54/cmaj_Pro54.js @@ -3,7 +3,7 @@ // This file contains a Javascript/Webassembly/WebAudio export of the Cmajor // patch 'Pro54.cmajorpatch'. // -// This file was auto-generated by the Cmajor toolkit v1.0.2648 +// This file was auto-generated by the Cmajor toolkit v1.0.2651 // // To use it, import this module into your HTML/Javascript code and call // `createAudioWorkletNodePatchConnection()`. The AudioWorkletPatchConnection diff --git a/assets/example_patches/Pro54/cmaj_api/cmaj-piano-keyboard.js b/assets/example_patches/Pro54/cmaj_api/cmaj-piano-keyboard.js index e4084071..9fc222e3 100644 --- a/assets/example_patches/Pro54/cmaj_api/cmaj-piano-keyboard.js +++ b/assets/example_patches/Pro54/cmaj_api/cmaj-piano-keyboard.js @@ -78,7 +78,7 @@ export default class PianoKeyboard extends HTMLElement for (let child of this.root.children) { - child.addEventListener ("touchstart", (event) => this.touchStart (event) ); + child.addEventListener ("touchstart", (event) => this.touchStart (event), {passive:false} ); child.addEventListener ("touchend", (event) => this.touchEnd (event) ); } } diff --git a/assets/example_patches/Pro54/gui/helpers/cmaj-image-strip-control.js b/assets/example_patches/Pro54/gui/helpers/cmaj-image-strip-control.js index 114600c6..38d28b96 100644 --- a/assets/example_patches/Pro54/gui/helpers/cmaj-image-strip-control.js +++ b/assets/example_patches/Pro54/gui/helpers/cmaj-image-strip-control.js @@ -30,7 +30,7 @@ export default class ImageStripControl extends HTMLElement this.horizontalMode = this.getAttribute ("horizontalMode"); this.addEventListener ('mousedown', this.startDrag); - this.addEventListener ('touchstart', this.handleTouch); + this.addEventListener ('touchstart', this.handleTouch, {passive:false}); this.addEventListener ("dblclick", this.onReset); } diff --git a/assets/example_patches/Pro54/gui/index.js b/assets/example_patches/Pro54/gui/index.js index 8349b8a8..047ee5b4 100644 --- a/assets/example_patches/Pro54/gui/index.js +++ b/assets/example_patches/Pro54/gui/index.js @@ -69,7 +69,7 @@ class Pro54Button extends HTMLElement connectedCallback() { this.addEventListener ('mousedown', this.buttonPress); - this.addEventListener ('touchstart', this.buttonPress); + this.addEventListener ('touchstart', this.buttonPress, {passive:false}); } setPatchConnection (patchConnection) @@ -593,7 +593,7 @@ class Pro54PatchView extends HTMLElement }); this.shadowRoot.addEventListener ("contextmenu", (event) => event.preventDefault()); - this.shadowRoot.addEventListener ('touchstart', (event) => event.preventDefault()); + this.shadowRoot.addEventListener ('touchstart', (event) => event.preventDefault(), {passive:false}); this.keyboardElement = this.shadowRoot.getElementById ("Keyboard"); this.modWheelElement = this.shadowRoot.getElementById ("ModWheel"); diff --git a/assets/example_patches/Replicant/cmaj_Replicant.js b/assets/example_patches/Replicant/cmaj_Replicant.js index 03f92f10..ed2745aa 100644 --- a/assets/example_patches/Replicant/cmaj_Replicant.js +++ b/assets/example_patches/Replicant/cmaj_Replicant.js @@ -3,7 +3,7 @@ // This file contains a Javascript/Webassembly/WebAudio export of the Cmajor // patch 'replicant.cmajorpatch'. // -// This file was auto-generated by the Cmajor toolkit v1.0.2648 +// This file was auto-generated by the Cmajor toolkit v1.0.2651 // // To use it, import this module into your HTML/Javascript code and call // `createAudioWorkletNodePatchConnection()`. The AudioWorkletPatchConnection diff --git a/assets/example_patches/Replicant/cmaj_api/cmaj-piano-keyboard.js b/assets/example_patches/Replicant/cmaj_api/cmaj-piano-keyboard.js index e4084071..9fc222e3 100644 --- a/assets/example_patches/Replicant/cmaj_api/cmaj-piano-keyboard.js +++ b/assets/example_patches/Replicant/cmaj_api/cmaj-piano-keyboard.js @@ -78,7 +78,7 @@ export default class PianoKeyboard extends HTMLElement for (let child of this.root.children) { - child.addEventListener ("touchstart", (event) => this.touchStart (event) ); + child.addEventListener ("touchstart", (event) => this.touchStart (event), {passive:false} ); child.addEventListener ("touchend", (event) => this.touchEnd (event) ); } } diff --git a/assets/example_patches/RingMod/cmaj_Ring_Mod_Demo.js b/assets/example_patches/RingMod/cmaj_Ring_Mod_Demo.js index b58081d5..b7111429 100644 --- a/assets/example_patches/RingMod/cmaj_Ring_Mod_Demo.js +++ b/assets/example_patches/RingMod/cmaj_Ring_Mod_Demo.js @@ -3,7 +3,7 @@ // This file contains a Javascript/Webassembly/WebAudio export of the Cmajor // patch 'RingMod.cmajorpatch'. // -// This file was auto-generated by the Cmajor toolkit v1.0.2648 +// This file was auto-generated by the Cmajor toolkit v1.0.2651 // // To use it, import this module into your HTML/Javascript code and call // `createAudioWorkletNodePatchConnection()`. The AudioWorkletPatchConnection diff --git a/assets/example_patches/RingMod/cmaj_api/cmaj-piano-keyboard.js b/assets/example_patches/RingMod/cmaj_api/cmaj-piano-keyboard.js index e4084071..9fc222e3 100644 --- a/assets/example_patches/RingMod/cmaj_api/cmaj-piano-keyboard.js +++ b/assets/example_patches/RingMod/cmaj_api/cmaj-piano-keyboard.js @@ -78,7 +78,7 @@ export default class PianoKeyboard extends HTMLElement for (let child of this.root.children) { - child.addEventListener ("touchstart", (event) => this.touchStart (event) ); + child.addEventListener ("touchstart", (event) => this.touchStart (event), {passive:false} ); child.addEventListener ("touchend", (event) => this.touchEnd (event) ); } } diff --git a/assets/example_patches/STunedBar6/cmaj_STunedBar6.js b/assets/example_patches/STunedBar6/cmaj_STunedBar6.js index 02063275..fa01ecfe 100644 --- a/assets/example_patches/STunedBar6/cmaj_STunedBar6.js +++ b/assets/example_patches/STunedBar6/cmaj_STunedBar6.js @@ -3,7 +3,7 @@ // This file contains a Javascript/Webassembly/WebAudio export of the Cmajor // patch 'STunedBar6.cmajorpatch'. // -// This file was auto-generated by the Cmajor toolkit v1.0.2648 +// This file was auto-generated by the Cmajor toolkit v1.0.2651 // // To use it, import this module into your HTML/Javascript code and call // `createAudioWorkletNodePatchConnection()`. The AudioWorkletPatchConnection diff --git a/assets/example_patches/STunedBar6/cmaj_api/cmaj-piano-keyboard.js b/assets/example_patches/STunedBar6/cmaj_api/cmaj-piano-keyboard.js index e4084071..9fc222e3 100644 --- a/assets/example_patches/STunedBar6/cmaj_api/cmaj-piano-keyboard.js +++ b/assets/example_patches/STunedBar6/cmaj_api/cmaj-piano-keyboard.js @@ -78,7 +78,7 @@ export default class PianoKeyboard extends HTMLElement for (let child of this.root.children) { - child.addEventListener ("touchstart", (event) => this.touchStart (event) ); + child.addEventListener ("touchstart", (event) => this.touchStart (event), {passive:false} ); child.addEventListener ("touchend", (event) => this.touchEnd (event) ); } } diff --git a/assets/example_patches/SubtractOne/cmaj_SubtractOne.js b/assets/example_patches/SubtractOne/cmaj_SubtractOne.js index fb08b521..dc19323b 100644 --- a/assets/example_patches/SubtractOne/cmaj_SubtractOne.js +++ b/assets/example_patches/SubtractOne/cmaj_SubtractOne.js @@ -3,7 +3,7 @@ // This file contains a Javascript/Webassembly/WebAudio export of the Cmajor // patch 'SubtractOne.cmajorpatch'. // -// This file was auto-generated by the Cmajor toolkit v1.0.2648 +// This file was auto-generated by the Cmajor toolkit v1.0.2651 // // To use it, import this module into your HTML/Javascript code and call // `createAudioWorkletNodePatchConnection()`. The AudioWorkletPatchConnection diff --git a/assets/example_patches/SubtractOne/cmaj_api/cmaj-piano-keyboard.js b/assets/example_patches/SubtractOne/cmaj_api/cmaj-piano-keyboard.js index e4084071..9fc222e3 100644 --- a/assets/example_patches/SubtractOne/cmaj_api/cmaj-piano-keyboard.js +++ b/assets/example_patches/SubtractOne/cmaj_api/cmaj-piano-keyboard.js @@ -78,7 +78,7 @@ export default class PianoKeyboard extends HTMLElement for (let child of this.root.children) { - child.addEventListener ("touchstart", (event) => this.touchStart (event) ); + child.addEventListener ("touchstart", (event) => this.touchStart (event), {passive:false} ); child.addEventListener ("touchend", (event) => this.touchEnd (event) ); } } diff --git a/assets/example_patches/Tremolo/cmaj_Tremolo.js b/assets/example_patches/Tremolo/cmaj_Tremolo.js index e57eaca1..be65a637 100644 --- a/assets/example_patches/Tremolo/cmaj_Tremolo.js +++ b/assets/example_patches/Tremolo/cmaj_Tremolo.js @@ -3,7 +3,7 @@ // This file contains a Javascript/Webassembly/WebAudio export of the Cmajor // patch 'Tremolo.cmajorpatch'. // -// This file was auto-generated by the Cmajor toolkit v1.0.2648 +// This file was auto-generated by the Cmajor toolkit v1.0.2651 // // To use it, import this module into your HTML/Javascript code and call // `createAudioWorkletNodePatchConnection()`. The AudioWorkletPatchConnection diff --git a/assets/example_patches/Tremolo/cmaj_api/cmaj-piano-keyboard.js b/assets/example_patches/Tremolo/cmaj_api/cmaj-piano-keyboard.js index e4084071..9fc222e3 100644 --- a/assets/example_patches/Tremolo/cmaj_api/cmaj-piano-keyboard.js +++ b/assets/example_patches/Tremolo/cmaj_api/cmaj-piano-keyboard.js @@ -78,7 +78,7 @@ export default class PianoKeyboard extends HTMLElement for (let child of this.root.children) { - child.addEventListener ("touchstart", (event) => this.touchStart (event) ); + child.addEventListener ("touchstart", (event) => this.touchStart (event), {passive:false} ); child.addEventListener ("touchend", (event) => this.touchEnd (event) ); } } diff --git a/assets/example_patches/ZitaReverb/cmaj_Zita_Reverb.js b/assets/example_patches/ZitaReverb/cmaj_Zita_Reverb.js index 5cba238c..3fd03edf 100644 --- a/assets/example_patches/ZitaReverb/cmaj_Zita_Reverb.js +++ b/assets/example_patches/ZitaReverb/cmaj_Zita_Reverb.js @@ -3,7 +3,7 @@ // This file contains a Javascript/Webassembly/WebAudio export of the Cmajor // patch 'ZitaReverb.cmajorpatch'. // -// This file was auto-generated by the Cmajor toolkit v1.0.2648 +// This file was auto-generated by the Cmajor toolkit v1.0.2651 // // To use it, import this module into your HTML/Javascript code and call // `createAudioWorkletNodePatchConnection()`. The AudioWorkletPatchConnection diff --git a/assets/example_patches/ZitaReverb/cmaj_api/cmaj-piano-keyboard.js b/assets/example_patches/ZitaReverb/cmaj_api/cmaj-piano-keyboard.js index e4084071..9fc222e3 100644 --- a/assets/example_patches/ZitaReverb/cmaj_api/cmaj-piano-keyboard.js +++ b/assets/example_patches/ZitaReverb/cmaj_api/cmaj-piano-keyboard.js @@ -78,7 +78,7 @@ export default class PianoKeyboard extends HTMLElement for (let child of this.root.children) { - child.addEventListener ("touchstart", (event) => this.touchStart (event) ); + child.addEventListener ("touchstart", (event) => this.touchStart (event), {passive:false} ); child.addEventListener ("touchend", (event) => this.touchEnd (event) ); } } diff --git a/cmaj_api/cmaj-compiler-wasm.wasm b/cmaj_api/cmaj-compiler-wasm.wasm index 899a0c2b..5a51139e 100755 Binary files a/cmaj_api/cmaj-compiler-wasm.wasm and b/cmaj_api/cmaj-compiler-wasm.wasm differ diff --git a/cmaj_api/cmaj-piano-keyboard.js b/cmaj_api/cmaj-piano-keyboard.js index e4084071..9fc222e3 100644 --- a/cmaj_api/cmaj-piano-keyboard.js +++ b/cmaj_api/cmaj-piano-keyboard.js @@ -78,7 +78,7 @@ export default class PianoKeyboard extends HTMLElement for (let child of this.root.children) { - child.addEventListener ("touchstart", (event) => this.touchStart (event) ); + child.addEventListener ("touchstart", (event) => this.touchStart (event), {passive:false} ); child.addEventListener ("touchend", (event) => this.touchEnd (event) ); } }