Hi Alexandre,
Just now I completed the c code for a teeth~ object, which doesn't seem to crash instantly and sounds* the same as your abstraction which is now in cyclone.
The block diagram in your help patch made it very clear what should be coded. The only thing (what an expert told me), was that 'z' applies to samples, and teeth~ is controlled in milli-seconds.
While coding, I found the delay time has to be zero or positive, but the gain coefficients can be negative too, adding the delayed signal out of phase.
I have no plans to add the object to cyclone anytime soon. First spend some time figuring out that i really does what I think it does. It doesn't crash instantly, and output looks sinusoid with a sinus input, but that doesn't prove much. And at least some form of interpolation should be added before it is ready for prime time.
Greetings,
Fred Jan
*) the help patch sounds equally weird with both, using only the positive gains
On 2015-06-15 04:14 PM, Alexandre Torres Porres wrote:
it's just a preview, I'm gonna still work on them and help files :)
2015-06-15 10:38 GMT-03:00 Fred Jan Kraan <fjkraan@xs4all.nl mailto:fjkraan@xs4all.nl>:
Hi Alexandre, Thanks for the abstractions. I will include them in the svn repository and the next binary deken compatible builds. Only rect~ didn't work. I applied some minor modification by replacing [pi], which doesn't appear to be vanilla by [3.141593(. Greetings, Fred Jan P.S. Wouldn't mind if the future supplied help-patches were already cyclone-standard formatting ;-). On 2015-06-14 10:14 PM, Alexandre Torres Porres wrote: >> Any object or abstraction that implements something >> present in Max(5) could be part of cyclone. > > i've made 13 abstractions so far > > - atodb > - atodb~ > - dbtoa > - dbtoa~ > - freqshift~ > - rect~ > - saw~ > - scale > - scale~ > - teeth~ > - thresh~ > - tri~ > - trunc~ > > Gonna try and do a few of these more, I have more 5 in mind so far. I > guess some make much more sense as objects, like [rect~]/[tri~]/[saw~]. > Here's a preview attached. > > cheers