The loudness of a note is determined by the amplitude of its sound wave: higher amplitude = louder sound. In music notation, volume is indicated by dynamic markings:
Additional symbols: crescendo (gradually louder), decrescendo/diminuendo (gradually softer).
Human hearing spans roughly 20 dB (threshold) to 120 dB (pain threshold).