Csound Csound-dev Csound-tekno Search About

[Csnd] dither

Date2011-12-30 23:06
FromDennis Raddle
Subject[Csnd] dither
Does csound now apply dither to all outputs (real-time or file) in a consistent way? In other words, if I use the --dither-triangle flag, do I get triangle dither no matter what output I use (including file)? I found a discussion on the developer's list of 5.09 which said it was inconsistent in real-time output and applied no dither to file output. Then the "new features" of 5.10 says simply that it now has dithered output. So I'm wondering if that inconsistency was completely fixed.

Thanks,
Mike


Date2011-12-31 13:54
FromDennis Raddle
Subject[Csnd] Re: dither
To add to my own question-- I'm interested in having good-sounding samples, starting with live recordings such as contained in the Vienna Symphonic Orchestra gigasampler files, and end up with something that still sounds good after some necessary pitch-shifting, filtering, and amplitude scaling. I've notice that any operations in the digital domain degrade the "liveliness" and resolution of the sound. It helps considerably to use dithering on the output (and I liked "uniform" better than "triangular"). I'm wondering if there is anything else I can do mid-processing. Oh, I'm using the double-precision version of csound.

On Fri, Dec 30, 2011 at 3:06 PM, Dennis Raddle <dennis.raddle@gmail.com> wrote:
Does csound now apply dither to all outputs (real-time or file) in a consistent way? In other words, if I use the --dither-triangle flag, do I get triangle dither no matter what output I use (including file)? I found a discussion on the developer's list of 5.09 which said it was inconsistent in real-time output and applied no dither to file output. Then the "new features" of 5.10 says simply that it now has dithered output. So I'm wondering if that inconsistency was completely fixed.




Date2011-12-31 14:25
Fromjpff@cs.bath.ac.uk
SubjectRe: [Csnd] dither
I believe that at that time libsndfile did not implemnet dithering
although there was an API call.  Whether we fixed libsndfile or Csound I
cannot remember, but my belief is that it should work in all formats.  As
I do not have golden ears, nor even guilded ones, I could only find out by
rading the code, and I am deep in some other coding at present.  If I get
bored I will take a look
==John ff

> Does csound now apply dither to all outputs (real-time or file) in a
> consistent way? In other words, if I use the --dither-triangle flag, do I
> get triangle dither no matter what output I use (including file)? I found
> a
> discussion on the developer's list of 5.09 which said it was inconsistent
> in real-time output and applied no dither to file output. Then the "new
> features" of 5.10 says simply that it now has dithered output. So I'm
> wondering if that inconsistency was completely fixed.
>




Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2011-12-31 21:01
FromErik de Castro Lopo
SubjectRe: [Csnd] dither
jpff@cs.bath.ac.uk wrote:

> I believe that at that time libsndfile did not implemnet dithering
> although there was an API call.

Thats correct. libsndfile does still not implement dithering.

>  Whether we fixed libsndfile or Csound I
> cannot remember, but my belief is that it should work in all formats.

Dithering is useful for recordings in 16 bits and less. Doing dithering
on say 24 bit audio is a waste of CPU cycles.

Erik