Set a tone and a sample rate: the tone folds back into 0 .. fs/2 like paper, and below, its samples fit a lower tone exactly.
This widget runs in your browser and needs JavaScript.