aboutsummaryrefslogtreecommitdiffhomepage
path: root/applause.c
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2015-04-20 14:35:11 +0200
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2015-04-20 14:35:11 +0200
commit0c10486f3023e911f7fb8b400d61143cfcd009bd (patch)
tree84a6f3b808bde72e8a60bdbe427b178383bf99cd /applause.c
parent1a86ac921e28ae259d3ec2125812fdf5e3b75f1f (diff)
downloadapplause2-0c10486f3023e911f7fb8b400d61143cfcd009bd.tar.gz
added filter streams adapted from ChucK and revised wave form functions
* LPF, HPF, BPF, BRF filters are 2nd order Butterworth filters. Derived verbatim from ChucK's implementation. This can probably be optimized by caching the tan/cos functions. Also, they do not yet handle frequency streams shorter than the stream to filter. * Basic wave forms are now Stream methods to allow concatenative style of FM synthesis (or LFOs). To generate e.g. a sine wave with constant frequency, you can still write Stream.SinOsc(440); or tostream(440):SinOsc()
Diffstat (limited to 'applause.c')
0 files changed, 0 insertions, 0 deletions