[fpc-pascal] Adding a array of float in ressource and use it ?
joshyfun at gmail.com
Wed Mar 8 10:28:50 CET 2017
El 08/03/2017 a las 0:03, Vojtěch Čihák escribió:
> there are different informations about *.wav, so maybe there are
> different impementations too.
Wav (AKA RIFF WAVE) is a container (RIFF), not an audio format, inside a
wav you can put many audio formats and other informations like author,
copyright, cues, some of them standard (defined by Microsoft) and others
Usual wav files that most people use are PCM (Pulse Code Modulation) or
in more programmer words int16 per channel. This is the usual format,
but you can put inside floats, mp3, GSM, ADPCM, and many more.
@Fredvs: If your wav is noise in audacity the reason is quite sure
because you are writing float audio buffer with a wav PCM header. Wav
PCM is 4 bytes per sample in stereo while float is 8 bytes and almost
never used for wav. Header and audio data (format, channels, bit depth)
More information about the fpc-pascal