vault / music / sampling.md

Sampling

Music 64 words 2 outgoing 1 backlinks

One word, three jobs. In audio, the sample rate decides which frequencies survive - below Nyquist the highs fold back as aliasing. In decoding, temperature flattens or sharpens the distribution before you draw - zero is greedy, high is chaos. In a bandit, the posterior draw is what turns uncertainty into exploration. Same move everywhere: draw from the distribution, but choose the distribution first.