which of these affects the pitch of sound