Circular Buffer

CB.app

is a demo application based on tone generator, with the difference that signal isn't generated in real time, but faster than real time, asyncronously, thus making the real time constrained audio process as easy and as unburdened with excessive work as possible, except for data consumption. This is important in complex sound programs, this example demonstrates the principle, nevertheless in its full functionallity. Data is "produced" independently, getting written into a circular buffer, a programmatic memory structure enabling asyncronous read-write operation. Program is written in Objective C language.


Interface


Segmented GUI switch chooses among three different circular buffer implementations. Effect of each of them can be aurally examined.


Download: binary| source