Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 655 Bytes

README.md

File metadata and controls

23 lines (17 loc) · 655 Bytes

Build Status

wav

Header only uncompressed WAV file parser.

Snippet

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

// channelData is vector< pair<double, vector<int> > 
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.