Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

musical notes in JavaScript

 
Kevin Tysen
Ranch Hand
Posts: 255
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm wondering if there is any way to use JavaScript to play musical notes. Nothing really fancy, just a tone at a certain frequency for about one second, something like that. Or even just a beep or a buzz or something.
My book on JavaScript says nothing about sound. (It's a little old.)
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Because JavaScript does not have a sound api, but people have made one:

http://www.schillmania.com/projects/soundmanager2/

Eric
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic