[PD] different float accuracy betw. Pd-0.52-1-msw-i386 and Pd-0.52-1-msw-amd64
musil at iem.at
musil at iem.at
Thu Feb 10 14:01:04 CET 2022
ISSUE: floating-point-inaccuracy of low frequency filters with low
frequency signals in pd vanilla
The patch "Test_HP3_butterworth_ at _20_Hz.pd" is part of the Live
Electronic of K.H.Stockhausens piece Mikrophonie I.
My colleague David P. told me, that there occur hearable noise,
distortion, oscillations and rustling during perfoming this piece.
The test-patch is a 0.1 Hz oscillator sourcing a highpass filter
3.order with butterworth characteristic at 20 Hz.
Try this patch with pd-0.52-1-msw-i386 and amd64 aka 32-bit and 64-bit
and older pd versions.
The 32 bit version has 20 dB less noise than the 64 bit version (and
no oscillations).
Double precision filters of iemlib ("hp3_butt_dp~.pd") have less noise
than single precision filters.
IOhannes z. and Chrostof R. figured out, it depends on compiler
options -ffast-math and / or -fassociative-math.
Some screenshots are added.
have fun
Thomas Musil
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Test_HP3_butterworth_ at _20_Hz.pd
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20220210/cf317162/attachment-0002.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: hp3_butt_dp~.pd
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20220210/cf317162/attachment-0003.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pd0.52.1-64bit-sp32_0.05bound.png
Type: image/png
Size: 67988 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20220210/cf317162/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pd0.52.1-32bit-sp32_0.01bound.png
Type: image/png
Size: 42578 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20220210/cf317162/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pd0.52.1-64bit-dp64_0.00001bound.png
Type: image/png
Size: 43820 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20220210/cf317162/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pd0.52.1-32bit-dp64_0.00001bound.png
Type: image/png
Size: 43580 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20220210/cf317162/attachment-0007.png>
More information about the Pd-list
mailing list