I'm doing some simple simple programs with libsndfile and currently and trying to find a way to print silence in an audio file- other than muting the out of another file. Ostensibly, I'm making a drum machine. At the given moment, I am only able to write the length of an inputed audio file and append them onto each other if I so choose. Would love to have some more insight on this seemingly super simple task.. or a slap in the face if it is actually so simple.
Thanks!