[Date Index] [Thread Index] [Author Index]
Re: SoundNote does not accept "H"
> I was playing with Sound and SoundNote. For some reason, SoundNote > does not seem to accept the H note. Sound[SoundNote["H"]] returns > unevaluated but Sound[SoundNote["A"]] works correctly. I can use > Sound[SoundNote] as a workaround, but why doesn't the letter > specification work? Heh, by convention in Western music, names of pitches are unique only modulo octave (factor of two in pitch). The A-minor scale spanning one octave (12 semitones) is therefore ABCDEFGA, where the first and last A's refer to different octaves. So we don't use "H", but "H" might be imagined to be "A" one octave higher. Note that SoundNote ["A"] is short for SoundNote["A4"], that is, the 4th A from the left on a standard keyboard. Thus, instead of SoundNote["H"], you could write SoundNote["A5"]. In terms of semitones, you could equivalently write SoundNote, or SoundNote for "A4". SoundNote is actually a "B4". Confused? Check out a web site on western musical notation :-)