Tonejs / Tone.js

A Web Audio framework for making interactive music in the browser.
https://tonejs.github.io
MIT License
13.39k stars 976 forks source link

I want to simulate the sound of sliding guitar strings. Is there a way to do that? #1087

Closed Shq123 closed 2 years ago

Shq123 commented 2 years ago

I wanted to make a sound that would slide on the guitar string while plucking it, but I couldn't find the right API

tambien commented 2 years ago

This would probably best be done with physical modeling which is outside the scope of this library, if you'd like a sample-based approach you can look at Tone.Sampler or Tone.Player. Maybe with the right samples, some timing and enveloping you can accomplish something similar without needing to synthesize it.