Karplus-Strong plucked string example in the C programming language.

    ks.c      Implements the linear difference equation
              y[n] = 0.49609375 (x[n] + y[n-100] + x[n-1] + y[n-101])
              and writes the result of some noise bursts on the input
              (x[n]) to AIFF file.

    wraiff.h  C API headerfile (specification/documentation).
    wraiff.c  C sourcecode (implementation, no need to look inside).

    Makefile  To compile under UNIX.
              Users of graphical compilers can simply drop both .c 
              files (ks.c and wraiff.c) in a standard C project.

    ks.aiff   Is the audio result.

Pieter Suurmond - 2004, 2005, 2006