Lorewegian 📚 on Nostr: ha, well, that's *one* way of getting rid of ugly quantisation harmonics in a sine ...
ha, well, that's *one* way of getting rid of ugly quantisation harmonics in a sine wave LUT:
add +/- 0.5 indices of dithering noise to it before performing the lookup.
i mean, it's now a sine wave with a bit of hiss on it instead of the "eeeuuueeeuuueee" screaming noises of aliasing, but that's much easier to work with.
a very inexpensive 6 dB/oct low-pass filter could probably get rid of it, since it's not very loud.
Published at
2023-05-19 06:00:13 UTCEvent JSON
{
"id": "a804b588299c921228f3ff5f5eed5382ea0a359c0f56f5c267e433f37d7adaae",
"pubkey": "6c067ee3395bf49d21504349d95f5fff5edf41ec64aa8951334e889dbaf8e31f",
"created_at": 1684476013,
"kind": 1,
"tags": [
[
"mostr",
"https://berserker.town/users/lore/statuses/110393820045978293"
]
],
"content": "ha, well, that's *one* way of getting rid of ugly quantisation harmonics in a sine wave LUT:\n\nadd +/- 0.5 indices of dithering noise to it before performing the lookup.\n\ni mean, it's now a sine wave with a bit of hiss on it instead of the \"eeeuuueeeuuueee\" screaming noises of aliasing, but that's much easier to work with.\n\na very inexpensive 6 dB/oct low-pass filter could probably get rid of it, since it's not very loud.",
"sig": "1f09cc04f7b07cbc3184ea40c6d0dbecbcdf19632d00332a600de48df63f0cfb03e286c77557f96cbdabf94dc9cf1e3caf3735a6d4cae2402cd3b516306a5028"
}