audio.beep()
init = function()
audio.beep("H")
end
Using the audio.beep("H")
code breaks the sound system.
The browser console fills with a recurring error message.
When you try to generate a new sound using e.g. audio.beep("C")
, you won't hear anything until you use
audio.cancelBeep()
.
No error in console but 'H' is not on the musical scale - may be that
I saw one website where there was such a note in "the even tempered system"
. It is between the note B and C.
But I won't insist on its existence - because I have zero experience with music.
Yes you are right there are some fascinating musical scales out there. I just meant that 'A' to 'G' is the most common in western forms so makes sense for beep. Could generate precise hertz value waves I guess but would need quite a few samples :) I have done a few things in SL this way as toys. Lot of info on Wikipedia.
My fave approach has always been Holly from Red Dwarf. From the fandom wiki :
' It involved decimalising the musical scale. Instead of the octave, it was now the decatave. He also noted that there were two new notes, H and J. He added "wo" and "bo" to the solfeggio scale: "Do Re Mi Fa So La Wo Bo Ti Do." '