portedplugins
portedplugins copied to clipboard
BLOsc aliasing
Describe the bug Audible aliasing artifacts above ~3kHz freq in all three waveforms of BLOsc
To Reproduce
{
BLOsc.ar(MouseX.kr(50, 5000, \exponential).poll, 0.5, 2) // also 0 and 1
}.play
Expected behavior Vanilla band-limited oscillators:
Saw.ar(MouseX.kr(50, 5000, \exponential))
Pulse.ar(MouseX.kr(50, 5000, \exponential))
Desktop (please complete the following information):
- OS: Mac os 10.11.6
- Architecture: Intel
- SC Version: 3.10.4
- PortedPlugins Version: 0.3.1
- 48k sample rate
Ooph that's a nasty one. Thanks for reporting!
oh, and the helpfile code blows up on my machine -- might be to do with ar frequency straddling 0, BLOsc doesn't seem to like freq < 0
Ndef(\notam, {|freq=110, width=0.5|
var sig = VarSaw.ar(freq, width: width);
BLOsc.ar(sig);
}).play;