CEA-LIST / N2D2

N2D2 is an open source CAD framework for Deep Neural Network simulation and full DNN-based applications building.
Other
146 stars 36 forks source link

add WAV IEEE_FLOAT file format #79

Closed andreistoian closed 3 years ago

andreistoian commented 3 years ago

This PR adds support for the FLOAT32 wave file format. This format is exported by librosa which is commonly used for sound processing in python.

Furthermore a bugfix is added: the chunkSize of wave chunks was not used to skip ahead to the end of the chunk when reading. Thus the extended format chunk was incorrectly read.

For IEEE float format a 'fact' chunk is also present, currently ignored with a notice by the N2D2 parser. Maybe we should silence this notice for FLOAT format.

olivierbichler-cea commented 3 years ago

Hi, thanks for this pull request, could you check the build errors?