[sdiy] Harmonic bandwidth
Scott Gravenhorst
music.maker at gte.net
Wed Jan 9 16:51:14 CET 2008
Nicholas Gregorich <nicksdsu at mac.com> wrote:
>Scott Gravenhorst wrote:
>> One thing I just noticed, in the documentation for the sin()
>function for C, it says "The sin() > function may lose accuracy
>when its argument is far from 0.0".
>
>I've done the same test [32 harmonics with 0 phase versus 32 harmonics
>with constant random phases] using MATLAB and heard significant
>differences between the 2 clips [which really surprises me]. I don't
>think what you're hearing is inaccuracies from the C sin()
>implementation. MATLAB uses 64-bit floating point by default.
>
>Nick.
*That* is surprising. I would hope that MATLAB's implementation is about as
accurate as it can get.
-- ScottG
-------------------------------------------------------------
-- Scott Gravenhorst
-- GateMan-III - FPGA Based Monophonic MIDI Synthesizer with SVF
-- PolyDaWG/8 - FPGA Based 8 Voice Polyphonic MIDI Synthesizer
-- FatMan: home1.gte.net/res0658s/fatman/
-- NonFatMan: home1.gte.net/res0658s/electronics/
-- When the going gets tough, the tough use the command line.
More information about the Synth-diy
mailing list