Ajaya Mati
Ajaya Mati
The same happened to me. ``` ERROR in ./node_modules/acorn-loose/dist/acorn-loose.mjs 1281:30-38 Can't import the named export 'tokTypes' from non EcmaScript module (only default export is available) ```
hey @zaira0108 can you please elaborate on the issue? And is this a problem with the online editor?
@bendavis78 console messages are disabled in the minified file. Try using p5.sound.js instead of p5.sound.min.js. Or you can provide your own callback function for success as well as error. See...
@kovatsgergo yes, this also happens when multiple MonoSynth constructors called. I don't know if this intended . But I found out a way to fix this. ```js this.oscillator.output.gain.value = 1.0;...
@nakul-shahdadpuri for that you can use userStartAudio() after some mouse event
@alsumwas I'm having the cross-origin issue. Is that the problem with the sketch here?
@paulcanning https://editor.p5js.org/ajaymati1000/sketches/FueE4hqMj works fine for me. Or am I missing something?
Although I didn't get any error what I found out is p5.Amplitude doesn't work as expected if the mic(p5.AudioIn) is running. For that either stop the mic while listening to...
@endurance21 I have made the suggested changes and all examples using envelope classes are working as expected.
@balandinodidonato noteADSR only works when the current note is playing. So you should code like this ```js synth.noteAttack() synth.noteADSR() synth.noteRelease() ``` and hn currently use the `secondFromNow` param to get...