https://github.com/eldruin/sound2header
Audio file to samples array using libsndfile
https://github.com/eldruin/sound2header
c embedded sound
Last synced: about 1 year ago
JSON representation
Audio file to samples array using libsndfile
- Host: GitHub
- URL: https://github.com/eldruin/sound2header
- Owner: eldruin
- License: gpl-3.0
- Created: 2012-01-27T18:38:19.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2012-01-28T12:06:08.000Z (over 14 years ago)
- Last Synced: 2025-06-05T20:49:42.800Z (about 1 year ago)
- Topics: c, embedded, sound
- Homepage: https://blog.eldruin.com/sound2header
- Size: 109 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: COPYING
Awesome Lists containing this project
README
Sound2Header (sound to header) is a little and simple C program that I
have done in a while using the libsndfile library to convert any sound
file supported by libsndfile to an array of samples in a range given
by the command line. So the generated file can be included in any
C/C++ souce code file. It’s intended for embedded projects where it’s
not possible to open files like when there is an operative
system. Sound2Header is free software licensed under the GNU/GPL
version 3 or later license and the code is attached. It can be easily
compiled with make as usual (it needs the libsndfile library, in
ubuntu is the package libsndfile-dev).
$ make
Many thanks to Erik de Castro Lopo for creating and mantaining the
libsndfile library. Keep developing free software!