You can implement the same thing with Pd only. I've attached a patch that
creates the same waveform as the one you're loading, plus adds the three
guard points for the cubic interpolation.
On Thu, Apr 10, 2014 at 3:48 AM, David dfket...@gmail.com wrote:
Thanks again to everyone that replied. I
On 04/09/2014 09:46 AM, IOhannes m zmoelnig wrote:
[sin]|
ah, there is no [sin] object, use [cos] instead.
anyhow, the patch was not really meant to be be copied to your Pd
instance, but to show how easy it is to do what you want.
it basically consists of two three parts:
#1
hey, I tried making mine a bit more understandable
it works with any table size. Just set the size as the argument in the
[table] object.
This means it works with [tabosc4~] if you'd like, and it makes the extra 3
guard points correctively.
The guard points thing and interpolation is a bit hard
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
On 2014-04-09 02:41, David wrote:
Any suggestions on how I could do that in Pure Data?
[loadbang]
|
[1024(
|
[t f f|
| [; mytable resize $1(
|
[until]
|
|+---+
[i -1] |
[+ 1]|
[t f f] |
| +--+
|
[t f f]
|
I don't know if it's exactly what you had in mind,
but here's an example with expr
gr,
Tim
2014-04-09 9:46 GMT+02:00 IOhannes m zmoelnig zmoel...@iem.at:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
On 2014-04-09 02:41, David wrote:
Any suggestions on how I could do that in Pure Data?
Thanks to everyone who replied, I'll try your suggestions when I get home
tonight.
David.
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -
http://lists.puredata.info/listinfo/pd-list
Right, I think 'sinesum' takes care of that for you. I don't know if Tim's
example takes care of that or not.
Thanks again.
On Wed, Apr 9, 2014 at 10:36 AM, Alexandre Torres Porres
por...@gmail.comwrote:
the tricky detail you'd have to think of, if you're planing to use
[tabread4~], is that
the tricky detail you'd have to think of, if you're planing to use
[tabread4~], is that you need 3 extra points that are copies of existing
points. The help file will tell you that. [tabosc4~], in extent, needs a
power of 2 plus the 3 extra points.
2014-04-09 9:21 GMT-03:00 David
I made one that takes care of it, here you go
it's just doing a hann window, but you tweak any way you want it :)
2014-04-09 11:52 GMT-03:00 David dfket...@gmail.com:
Right, I think 'sinesum' takes care of that for you. I don't know if Tim's
example takes care of that or not.
Thanks again.
and I'm using it for an envelope...
2014-04-09 12:42 GMT-03:00 Alexandre Torres Porres por...@gmail.com:
I made one that takes care of it, here you go
it's just doing a hann window, but you tweak any way you want it :)
2014-04-09 11:52 GMT-03:00 David dfket...@gmail.com:
Right, I think
And here's a patch that creates guard points. Your table should already
have a size of (2^x) + 3, which is taken care of in the patch.
On Wed, Apr 9, 2014 at 6:43 PM, Alexandre Torres Porres por...@gmail.comwrote:
and I'm using it for an envelope...
2014-04-09 12:42 GMT-03:00 Alexandre
Hi!
Is there some way to fill an array (table) with an arbitrary wave form
programatically? I know I can use sinesum or cosinesum to generate sums of
sinusoidal wave forms, and in theory any periodic waveform can be generated
this way. But I want to generate wave forms using more complicated
just
- think of the table size you want.
- get its period in seconds, or better, its frequency, according to the
sample rate
- use this frequency as the frequency of [phasor~], going from 0 to 1 (be
careful to set the starting phase as zero, as well)
- make [phasor~] feed whatever crazy idea
13 matches
Mail list logo