discretise :: Time -> Pattern a -> Pattern a
discretise 'samples' the pattern at a rate of n events per cycle. Useful for turning a continuous pattern into a discrete one.
In this example, the pattern originates from the shape of a sine wave, a continuous pattern. Without
discretise the samples will get triggered at a very high frequency.
d1 $ n (slow 2 $ discretise 16 $ range 0 32 $ sine) # sound "amencutup"