Giter VIP home page Giter VIP logo

Comments (2)

dirkk0 avatar dirkk0 commented on May 29, 2024

It's not ideal to provide code only as a ZIP especially when it doesn't contain all the files.
Also, you don't need jQuery for such a basic example. I recommend to create a codepen or a glitch.com so that it's easier for people to help.
You can fork this as a starting point:
https://codepen.io/dirkk0/pen/OJdMGPY

Good luck!

from tone.js.

olivdee avatar olivdee commented on May 29, 2024

Thank you Dirk and sorry for the late reply!
I finaly got to create a pin, thanks for the codepen starting point:
https://codepen.io/olivnewton/pen/qBwYmJa

I did have some trouble with this way of using PolySynth though: as long as I was defining the "polyphony" as seen in https://tonejs.github.io/docs/r13/PolySynth ...new Tone.PolySynth(3, Tone.Synth)... it was not working (strangely it is working this way in my project - but with the cracking noises). As soon as I removed the number of voices it started working. Why is that?

Anyway, your example with gain helped a lot of debugging this - now I now how to correctly use the gain in order to remove the cracking noises. Hopefully I can implement this in my project.

Thanks again!

from tone.js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.