@icedquinn@ringo i saw what you were going for, but sometimes, i wonder what would happen if you just had the computing power to run a neural network in real time to generate the output directly. might produce some fairly wild sounds.
@ringo@lore i'm just talking about auto-tuning an antialiasing filter so you can get as close to heavy oversampling as you can without having to pay for it
so most of these objections are just not understanding what i said
@ringo@lore i think people are not understanding you are just using the numerical optimizer to tune the constants for the much cheaper filter. you aren't putting an AI on chip
@lore@ringo well something fun is anything that has a derivative in calculus can be tuned with the same stuff we make AIs with.
so like i said you can have a script generate hours of audio at random settings from a synth and like.. have it compare the aliased to 16X oversampled waveforms, and crunch a biquad filter to get as close to the output as desired. or you can add/remove terms to the biquad filter and see if thats better.
@icedquinn@ringo you end up with some pretty funky compromises. i needed to have a sine waveform for the synth but it sounded digital if i made the LUT too small.
then i discovered that if you add some dithering noise to the LUT index, you get hiss instead, which is much better. and you can easily filter that away, leaving a nice sine wave.
@icedquinn@ringo LUTs are absolutely necessary for adequate performance, but you risk them getting too big if you require some precision, and then you exhaust the cache memory in the CPU.
@icedquinn@ringo arguably, that's 12 multiplications when you oversample it 4X. but in theory you could get away with 2X if you had a very steep anti-aliasing filter. unfortunately, such a steep filter is going to cost you *way* more multiplications...