d2 $ note ((scaleP scalePattern $ (rotR 3.5) -- $ inversion \n $ (+ slow 8 "x" <~> ((0.5 ~>) generateMelodicSeed)) -- $ slow 2 \n $ generateMelodicSeed ) - 12)#s "[pe-gtr:9,midi]" #gain 1.2 #orbit 1 #midichan 2 do d9 $ midicmd "stop" # s "midi" hush d2 $ note ((scaleP scalePattern $ (rotR 3.5) -- $ inversion \n $ (+ slow 8 "x" <~> ((0.5 ~>) generateMelodicSeed)) -- $ slow 2 \n $ generateMelodicSeed ) - 12)#s "[pe-gtr:9,midi]" #gain 1.2 #orbit 1 #midichan 2 inversion = (* (-1))
index > /home/xinniw/Documents/garden/Bandlimiting.md

:cc0:

Band-limiting

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.


index > /home/xinniw/Documents/garden/Bandlimiting.md