portedplugins icon indicating copy to clipboard operation
portedplugins copied to clipboard

BLOsc aliasing

Open esluyter opened this issue 3 years ago • 2 comments

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

esluyter avatar Nov 16 '21 01:11 esluyter

Ooph that's a nasty one. Thanks for reporting!

madskjeldgaard avatar Nov 16 '21 07:11 madskjeldgaard

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;

esluyter avatar Nov 17 '21 07:11 esluyter