[Pd] Complex audio signals

Chuckk Hubbard badmuthahubbard at gmail.com
Tue Jun 20 14:51:13 CEST 2006


On 6/20/06, Chuckk Hubbard <badmuthahubbard at gmail.com> wrote:
> On 6/20/06, Piotr Majdak <piotr at majdak.com> wrote:
> > > Another question: if I just ran rfft~ on a signal, and then ran ifft~
> > > on the transform, would that create the same signal as a complex
> > > signal?
> >
> > Using [rfft~] you can process real signals only...
>
> I meant like:
> [readsf~] (for instance)
> |
> [rfft~]
> |      |
> [ifft~]  [num\ [num\
> |   |     |         |
> [czero~]
> |
> [dac~]
>
> I suppose I could just try it and see if it works...

It doesn't.  Nor does:
[osc~]
|
[rfft~] [sig~ 0]
|        |
[ifft~]

regardless of scaling.  At a harmonic, the real part of the output
matches the input, but changing the frequency causes mad distortion.
?




More information about the Pd-list mailing list