1. A method comprising: sampling an audio signal to provide a first audio sample and a second audio sample; determining a first pitch-metric function as a function of a pitch-parameter based on the first audio sample and a second pitch-metric function as a function of the pitch-parameter based on the second audio sample, wherein the first pitch-metric function represents likelihoods that a plurality of values of the pitch-parameter correspond to a pitch of the first audio sample and has either local minima or local maxima that correspond to candidate pitch values of the first audio sample, and wherein the second pitch-metric function represents likelihoods that a plurality of values of the pitch-parameter correspond to a pitch of the second audio sample and has either local minima or local maxima that correspond to candidate pitch values of the second audio sample; transforming the first-pitch metric function to generate a first transformed pitch-metric function and transforming the second pitch-metric function to generate a second transformed pitch metric function; determining a correlation function based on a correlation between the first transformed pitch-metric function and the second transformed pitch-metric function; determining a lower-dimensionality representation of the correlation function that conveys information indicative of pitch dynamics between the first audio sample and the second audio sample, wherein a type of the lower-dimensionality representation depends on a signal-to-noise ratio of the audio signal; and performing an action, by a computing device having a processor and a memory, based on the information indicative of the pitch dynamics.