I guess you're new to the world of tracking then. Notes in the pattern are just "relative" to a given base note, i.e. the note at which the sample was recorded at. If you create a sample of an instrument playing an F, playing this sample at its base note / frequency (C-5 in OpenMPT) will play an F. If you change the base note (and thus frequency), you also change all relative notes.