The pages below provide the source code for blog articles on Audio Programming. See also github. The current focus is development of sf2sound.py, a tool to convert solfa text into to sound. For example, the following, written as a single line,
% sf2sound x 'fundamental:261 allegro: f: | q do mi sol fa | p: re ti_ h do |'
produces the audio file:
The second argument of sf2sound is a melodic fragment written in the SF language, an extension of solfa. See the blog articles in the Code category for more information.
– tfork.c: the basic C sound generating program from The Audio Programming Book by Richard Boulanger and Victor Lazzarini. This is a fantastic reference and is highly recommended. All of the book’s code examples are on the accompanying CD. You will need the code for text2sf in order to work the examples presented here. some errata.
Some good links I am saving here for now:
This page has the following sub pages.