Index of /~pieter/EDU/mt/ks
Name Last modified Size Description
Parent Directory -
Makefile 26-Feb-2004 07:35 526
README.html 05-Dec-2006 23:41 730
ks.aiff 26-Feb-2004 09:14 5.9M
ks.c 31-Oct-2006 18:20 5.4K
wraiff.c 05-Dec-2006 23:37 18K
wraiff.h 05-Dec-2006 23:37 5.1K
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.