wave_builder library

Utility for constructing a wave file by passing in files (read as bytes) and periods of silence. This is designed to build metronome audio files but can be used for other applications where simple wave files need to be concatenated with areas of silence.


Build a wave file.


This flag is used when appending silence. Determines whether or not to start the silence timer at the beginning or end of the last sample appended to this file.