The pitch of a note is primarily determined by its position on the staff and the presence or absence of accidentals (sharps, flats, or naturals). The position of the note on the staff indicates its relative pitch in relation to the other notes, with notes ascending in pitch as they move higher on the staff. Accidentals can modify the pitch of a note by raising or lowering it by a semi-tone or a whole tone.
Therefore, the shape of notes does not directly represent their pitch, but rather serves as a visual aid to help identify the notes and organize them in a musical score. The pitch of a note is primarily determined by its placement on the staff and any applicable accidentals.