Csound Csound-dev Csound-tekno Search About

[Cs-dev] Dither Problem in Csound5

Date2008-10-06 17:31
FromJim Bates
Subject[Cs-dev] Dither Problem in Csound5

I have done a number of tests with Csound5 version 5.08 doubles and  
5.09 floats on OSX10.4.11 and LinuxSUSEppc and the dither option is  
not working.  When called from the Csound5GUI or from the command  
line, with the -Z flag, there is no detectable dither added to files  
that are essentially 10 seconds of silence. I viewed the results  
using Audacity version1.3.5d, in the Waveform(db) mode, which gives  
resolution down to -145 db.  It's totally flatline.  I had Steven Yi  
test it as well on his linux system, with the same result.

Given the importance of dither, especially in the doubles version,  
this is kind of crucial.

All the Best,
Jim Bates

-------------------------------------------------------------------------
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-06 19:47
From"Steven Yi"
SubjectRe: [Cs-dev] Dither Problem in Csound5
AttachmentsNone  

Date2008-10-07 14:32
Fromjpff
SubjectRe: [Cs-dev] Dither Problem in Csound5
The dither on output is handed of to libsndfile, so we need to know
what type of output you are creating and what version of libsndfile
you have.
==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

Date2008-10-07 14:37
Fromjpff
SubjectRe: [Cs-dev] Dither Problem in Csound5
> The dither on output is handed of to libsndfile, so we need to know
> what type of output you are creating and what version of libsndfile
> you have.
and what type of soundfile you are writing. I note that in libsndfile
it states
"Rule number 1 is to only apply dither when going from a larger
bitwidth to a smaller bitwidth."

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

Date2008-10-07 22:40
FromErik de Castro Lopo
SubjectRe: [Cs-dev] Dither Problem in Csound5
jpff wrote:

> The dither on output is handed of to libsndfile, so we need to know
> what type of output you are creating and what version of libsndfile
> you have.

Errr, but John, libsndfile does not (yet) do dithering :-).

Erik
-- 
-----------------------------------------------------------------
Erik de Castro Lopo
-----------------------------------------------------------------
"The music business is a cruel and shallow money trench, a long
 plastic hallway where thieves and pimps run free, and good men
 die like dogs. There's also a negative side."
   -- Hunter S. Thompson

-------------------------------------------------------------------------
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-08 08:15
Fromjpff
SubjectRe: [Cs-dev] Dither Problem in Csound5
Hum.... after the last message I looked at the sources and came to that
conclusion, but was waiting for your confirmation.

Could I request that this facility be implemented?  We call the
functions for it already.

Alternatively I could reinstate the not-good dithering I wrote for
csound4, but it was not good.

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