Adding frequency modulation based on notes.