[fpc-pascal] Adding a array of float in ressource and use it ?

fredvs fiens at hotmail.com
Tue Mar 7 22:39:16 CET 2017


OK, Sven you win (and http://stackoverflow.com should follow fpc forum).
But you will not convince me that c does better than fpc, maybe equal but
surely not better. 

Huh, saving a buffer of float into wav file format, with correct header,
--->
loaded by audacity ----> horrible noise.

loaded by fpc (via uos) ----> perfet sound.

But is maybe because wav format accept only in theory data from float.
(and that wav file are (nearly) always encoded from 32 bit integer and
converted into float32).

But that is a other story.

Viva fpc.

Fre;D





-----
Many thanks ;-)
--
View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Adding-a-array-of-float-in-ressource-and-use-it-tp5727765p5727801.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.



More information about the fpc-pascal mailing list