ah sorry, yes

i want to read a wavetable, say 128 steps and calculate the gain structure to aproximate this wavetable with sine waves.
the idea behind this is to get a different sound from wavetables, use low resolution wavetables to get nice sounds (waldorf microwave xt)

so for a saw wave i would want the following numbers.

1 0.5 0.3333 0.25 0.2 and so on…

how to do this for an arbitrary input wavetable?

i looked at the fft examples but it is not clear to me how i would do this with a single wavetable (of known size)

or if there is a “simpler” (without fft) possibility that would be great.


On 04 Aug 2016, at 10:05, José Rafael Subía Valdez <jsubiavaldez@gmail.com> wrote:

Can you elaborate a bit what you want to do??

I think you better process the table rather than go from one domain to another.

inverse the phase by multiplying by -1,
you can "reverse" the table by reading it from back to front.



On Thu, Aug 4, 2016 at 8:53 AM, Simon Iten <itensimon@gmail.com> wrote:
sorry to post again.

i think sigmund~ can do this.

but i would be thankful for a hint how to calculate it. if it’s fft, then some insight how to use fft on a single wavetable would be very nice.

> On 04 Aug 2016, at 09:34, Simon Iten <itensimon@gmail.com> wrote:
>
> dear list,
>
> i can create nice wavetables with sinesum.
>
> what would be the easiest process to do the inverse?
>
> reading a wavetable of known size and converting it to it’s sine harmonics gain structure.
>
> fft? i am a little bit lost on how to do this with a wavetable.
>
> or is there a simpler way if i know the number of points and the range of the waveform?
>
> cheers


_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list



--
José Rafael Subía Valdez