title: Play Music Notes with Javascript
body: <p>I am developing a little free software project which is basically a music keyboard and score sheet editor.</p>
  
  <p>My first step in this project is to play note and or conceive notes itself. I use timbre, which is a few documented <a href="http://mohayonao.github.io/timbre.js" rel="nofollow">http://mohayonao.github.io/timbre.js</a> . My first function is to transform for example "C4" (do4 en français) in a audio sound from sine function.</p>
  
  <p>But what I can't do for now is to play and stop notes. Play works for begin the sine wave but when I play a second note, the first note doesn't disappear so I got 2 sine  and then 3</p>
  
  <p>My script
  <a href="https://gitlab.com/mdahmen/Laterreestron.de/blob/master/pagesandapps/partgenie/js/lecture.js" rel="nofollow">https://gitlab.com/mdahmen/Laterreestron.de/blob/master/pagesandapps/partgenie/js/lecture.js</a> </p>
  
  <p><a href="http://mohayonao.github.io/timbre.js" rel="nofollow">http://mohayonao.github.io/timbre.js</a></p>
  
  <p>The test page: <a href="http://laterreestron.de/pagesandapps/partgenie/index.php" rel="nofollow">http://laterreestron.de/pagesandapps/partgenie/index.php</a></p>