| Reading around it seems that triangular distribution is preferred for
dithering in audio (good compromise for speed and accuracy).
At present the state in 5.09 and all csound5 previous is
To file: Nothing -- attempt at triangular but broken
Alsa: Always dithers uniform distribution
PortAudio: Always dithers triangular distribution
CoreAudio: Nothing
Jack: Nothing
PulseAudio:Nothing
WinMM: Always dithers uniform distribution
I have (untested, and broken) code to change this to
To file: triangular or nothing on -Z flag
Alsa: dithers uniform distribution or nothing on -Z flag
PortAudio: triangular distribution or nothing on -Z flag
CoreAudio: Nothing
Jack: Nothing
PulseAudio:Nothing
WinMM: Always dithers uniform distribution
The questions:
Should we offer uniform or triangular or user choice?
Should we fix Coreaudio and pulseaudio to be in line?
Or what?
I should say this is all for 16bit audio. Nothing done on floats or
24bit. 8bit ....less sure at present
And for completeness, csound4 had user selectable uniform in all
formats I think
==John ffitch
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |