Dithering

New Message About this list Date view Thread view Subject view Author view Attachment view

From: Steve Harris (S.W.Harris_at_ecs.soton.ac.uk)
Date: 01/05/03 10:39 EST


From: Steve Harris <S.W.Harris@ecs.soton.ac.uk>
Message-ID: <20030105153907.GE5607@ecs.soton.ac.uk>
Subject: [ardour-dev] Dithering
Date: Sun, 5 Jan 2003 15:39:07 +0000


Attached dither.h, its just a .h file becuase the only thing that belongs
in a .c file is the init code, and its pretty small. Feel free to mangle
it as deisred.

I've done some gruesome pointer aliasing, which I'm not sure is legal in
c++, if its not I'l find another way of doing the output conversion.

There are some graphs of its output:
http://www.ecs.soton.ac.uk/~swh/dither.png

The vertical banding in the middle of the Shaped output is clipping, I
must have got a number wrong somewhere, it'll be quite hard to find and it
wont be a real problem in normal use, so I'l fix it later, but dont let me
forget.

Its not really suitable for RT use (read damn inefficient) as there are
three branches in the inner loop. I could refactor it to make it usable in
JACK, if that is desirable, but it would make the code untidy.

- Steve




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
ardour-dev mailing list
ardour-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ardour-dev



New Message About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.5 : 01/05/03 10:47 EST