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
- Host: GitHub
- URL: https://github.com/dilawar/wav
- Owner: dilawar
- License: gpl-3.0
- Created: 2017-11-25T18:02:49.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2019-02-18T08:17:53.000Z (almost 7 years ago)
- Last Synced: 2025-04-20T13:36:31.938Z (9 months ago)
- Topics: audio-processing, binary-parser, cpp11, wav-audio, wav-files
- Language: C++
- Size: 21.5 KB
- Stars: 6
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](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.