waveshaper should be 32bit [FIXED in 2.0]

Found a bug? Post it here.
Post Reply
User avatar
Posts: 276
Joined: Sun Dec 29, 2019 8:16 am
Location: usa

waveshaper should be 32bit [FIXED in 2.0]

Post by AutumnCheney »

as seen in the included project, if i take a very quiet sine wave and send it through a waveshaper with the default linear curve and then amplify it, there is lots of noise, as if the bit depth is being reduced. i get similar results if i send it through a distortion module set to 15 bits. the noise goes away once i bypass the waveshaper

this can be problematic if, say, i send my master signal through a waveshaper for saturation, because then my signal dynamic range is reduced and i get digital noise during the quiet parts of my song
2021-07-06 13-09.sunvox
(4.25 KiB) Downloaded 7 times
please check out my newgrounds account, i post music and talk to people here: https://acheney.newgrounds.com

i have a bandcamp too (just music here):
User avatar
Site Admin
Posts: 3568
Joined: Fri Jan 23, 2004 12:28 am
Location: Ekaterinburg. Russia

Re: waveshaper should be 32bit

Post by NightRadio »

You are right. Internal processing is in 16-bit integer mode in this module. Will be changed to 32-bit floating point in SunVox 2.0
Post Reply