shabby~ - waveshaping PD external, probably running on Max, too
shabby~ is a waveshaper using Chebyshev polynoms to generate harmonics from an incoming sinewave. The required creation argument will tell shabby~ how many polynoms to which order it should create. Each polynom will then get a signal inlet to specify its amplitude in the signal.
You can use shabby~ to have a rather fast additive synth that allows control over the harmonics in the course of a note at signal rate.
shabby~ was written by me after finally getting my copy of Dodge/Jerse's "Computer Music" ;)
shabby~ uses the flext C++ layer for Max/MSP and pd (pure data) externals. You need at least flext version 0.2.0. I did only include a Makefile for Linux, but using the Makefiles from Thomas Grills idelay~ package, you should be able to write quick Makefiles for other systems as well.
Get real shabby~ at http://footils.radio-worldwi.de/get.html
__ __
Frank Barknecht ____ ______ ____ __ trip\ \ / /wire ______
/ __// __ /__/ __// // __ \ / / __ \ ___\
/ / / ____/ / / / // ____// /\ \ ___\____ \
/_/ /_____/ /_/ /_//_____// / \ \_____\_____
/_/ _\
Frank Barknecht hat gesagt: // Frank Barknecht wrote:
shabby~ - waveshaping PD external, probably running on Max, too
shabby~ has some shabby bugs. Thanks to a lot of tips by Thomas Grill I'm working on that, but it will take until at least tomorrow, so unless you want to go bug hunting with me, don't donwload yet.
__ __
Frank Barknecht ____ ______ ____ __ trip\ \ / /wire ______
/ __// __ /__/ __// // __ \ / / __ \ ___\
/ / / ____/ / / / // ____// /\ \ ___\____ \
/_/ /_____/ /_/ /_//_____// / \ \_____\_____
/_/ _\
On Sat, 13 Apr 2002, Frank Barknecht wrote:
Frank Barknecht hat gesagt: // Frank Barknecht wrote:
shabby~ - waveshaping PD external, probably running on Max, too
shabby~ has some shabby bugs. Thanks to a lot of tips by Thomas Grill I'm working on that, but it will take until at least tomorrow, so unless you want to go bug hunting with me, don't donwload yet.
Well, take your time but hurry up :-)
(Just kidding, but seriously looking forward to an easy way to do waveshaping synthesis in PD - keep up the good work!)
Larry
Larry Troxler hat gesagt: // Larry Troxler wrote:
On Sat, 13 Apr 2002, Frank Barknecht wrote:
Frank Barknecht hat gesagt: // Frank Barknecht wrote:
shabby~ - waveshaping PD external, probably running on Max, too
shabby~ has some shabby bugs. Thanks to a lot of tips by Thomas Grill I'm working on that, but it will take until at least tomorrow, so unless you want to go bug hunting with me, don't donwload yet.
Well, take your time but hurry up :-)
okay, you got me: I rewrote shabby~ a bit, now it has the first 11 Chebychev polynoms hardcoded, this is a lot faster than my previous elegant but slow recursive solution. Now shabby~ also always has 12 signal inlets, no argument needed, except a "---------------" to be able to see all the inlets ;)
I'm working on shabby~'s brother called shaffy~ who uses float inlets instead. That again should save some CPU cycles, but I'm still having some problems with understanding how flext gets at the float values, or: I can't get my code to run...
Although I have these problems I am very happy to use flext. First Thomas is a great help, and second is: The external code looks so much cleaner than pure C externals... This standard external stuff with all its setup, dsp, callback and what not functions now is neatly capsuled in one class. Setting things up and registering callbacks is done in the constructor, and the dsp-function is simply a member function of that class. Basically one only has to write a simple constructor with things like: "AddInSignal(2); AddOutSignal()" and the dsp-function. Nice.
You can get shabby-0.1 at: http://footils.radio-worldwi.de/shabby-0.1.tgz
__ __
Frank Barknecht ____ ______ ____ __ trip\ \ / /wire ______
/ __// __ /__/ __// // __ \ / / __ \ ___\
/ / / ____/ / / / // ____// /\ \ ___\____ \
/_/ /_____/ /_/ /_//_____// / \ \_____\_____
/_/ _\