I wrote a C++ model of a simple delta-sigma modulator (DSM). You can
download the source code at the following HTML link.
http://arithmetic.stanford.edu/~lemon/dsm.html
You can use the GCC compiler (version 2.03) and the GRX library (version 2.46)
from Delorie Software to successfully compile the source code. The compiler
and the library are available at the following HTML link.
http://www.delorie.com/djgpp/
I am distributing the code under the GNU Public License. Included in the
source code is 3 lowpass filters: ideal (sinc) filter, a 1st-order Butterworth
filter, and a 2nd-order Butterworth filter.
If you have any questions about the DSM model (which compiles into "player"),
then please feel free to contact me. If you have any suggestions
(about adding new features to the model) or any other comments, then please
feel free to contact me.