Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] Question on Dither

Date2008-10-18 15:26
Fromvictor
SubjectRe: [Cs-dev] Question on Dither
Coreaudio, pulse and Jack are float outputs. Should
we dither it (in doubles-version only of course)?

Victor
----- Original Message ----- 
From: "jpff" 
To: 
Sent: Saturday, October 18, 2008 2:28 PM
Subject: [Cs-dev] Question on Dither


> 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
> https://lists.sourceforge.net/lists/listinfo/csound-devel 


-------------------------------------------------------------------------
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

Date2008-10-18 16:03
Fromjpff
SubjectRe: [Cs-dev] Question on Dither
> Coreaudio, pulse and Jack are float outputs. Should
> we dither it (in doubles-version only of course)?

I think it is Ok as it stands.  Still questions of
rectangular/triangular etc

==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