Comments on: Pure Data Wavetable Synth – Part 3 https://designingsound.org/2013/04/09/pure-data-wavetable-synth-part-3/ Art and technique of sound design Sun, 09 Aug 2015 16:49:30 +0000 hourly 1 https://wordpress.org/?v=6.2.9 By: Shaun Farley https://designingsound.org/2013/04/09/pure-data-wavetable-synth-part-3/#comment-27298 Fri, 19 Apr 2013 15:33:53 +0000 https://designingsound.org/?p=22549#comment-27298 In reply to Ulysse.

I introduced pretty much all of this in later tutorials, Ulysse. Trying to ease people into it. ;)

]]>
By: Ulysse https://designingsound.org/2013/04/09/pure-data-wavetable-synth-part-3/#comment-27290 Fri, 19 Apr 2013 15:05:31 +0000 https://designingsound.org/?p=22549#comment-27290 Hi Shaun,
I chose to use the expr pd-object to copmute the sample size.
It simplifies things alot.

expr if ($i1 > 3, pow(2, $i1) + 3, 11)

This object takes care of the casting from float to int, the pow calculation, the +3 and the minimal value of 11.

You can even remove the dead part of the slider caused by the 11 minimal value by adjusting the slider range. You need to give the slider a receive name (i used s_size) and then send it a message with ; s_size range $1 1
to compute the minimal value which will produce 11 once processed, compute 3/maxpower, feed it to the message ($1).
Once the range is adapted, you can even drop the “if” part of the expr, and leave only pow(2, $i1) + 3. :)
cheers,
Ulysse

]]>