generateMelodicSeed = slow 4 $ linger 0.5 $ repeatCycles 3 -- $ palindrome \n $ (+ (slow (irand (4)+1) (sometimes (inversion) (run (irand (4)+1))))) $ slow ((irand 3) + 1) $ e ("x"<~>(irand 8)) 8 $ "x*16"<~>(irand 5) do cps (86/60/2) d9 $ midicmd "midiClock*48" # s "midi" let melody = slow 6 $ "0 2 [4 8 .] [3 4 3] 8 4 9" scalePattern = slow 12 ""

Bandlimiting

Bandlimiting is when a digital audio algorithm is prevented from producing frequencies outside the 1/2 sample rate nyquist limit. This prevents aliasing.

A synthesis algorithm can be prevented by design from producing harmonics that exceed this limit. (see: Bandlimited Oscillator)

An algorithm that can not be bandlimited by design may still be bandlimited by [[ oversampling ]] and filtering. When oversampled, the out of bounds harmonics can still be filtered out before the sample rate is converted back to the main sample rate. This prevents the aliased frequencies from being sampled at all.

A synthesis algorithm may be [[ Quasi-Bandlimited ]] if some other technique or heuristic is used to prevent out of bounds harmonics from being too loud or too noticeable but does not prevent them all together.


Notes mentioning this note



Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.