An open API service indexing awesome lists of open source software.

https://github.com/dilawar/wav

Uncompressed WAV file parser
https://github.com/dilawar/wav

audio-processing binary-parser cpp11 wav-audio wav-files

Last synced: 8 months ago
JSON representation

Uncompressed WAV file parser

Awesome Lists containing this project

README

          

[![Build Status](https://travis-ci.org/dilawar/wav.svg?branch=master)](https://travis-ci.org/dilawar/wav)
# wav

Header only uncompressed WAV file parser.

## Snippet

WAVE wav( "./kalia.wav" );

// channelData is vector< pair >
auto channelData = wav.getData( );
for( auto v : channelData )
{
cout << v.first << ' ';
for( auto vv : v.second )
cout << vv << ' ';
cout << endl;
}

`channelData` is a vector of `pair`. First value is time and second value is a vector of values
in channels.

__NOTE__ Only tested with simple uncompressed wav file with 1 channel.