The pitch of the sound of the music depends upon the frequency of the wave.
Thus, the frequency of the wave affects the pitch of the sound.
The loudness of the wave depends upon the amplitude of the wave.
Thus, the amplitude of the wave affects the loudness of the sound of the wave.