<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">ah sorry, yes<div class=""><br class=""></div><div class="">i want to read a wavetable, say 128 steps and calculate the gain structure to aproximate this wavetable with sine waves.</div><div class="">the idea behind this is to get a different sound from wavetables, use low resolution wavetables to get nice sounds (waldorf microwave xt)</div><div class=""><br class=""></div><div class="">so for a saw wave i would want the following numbers.</div><div class=""><br class=""></div><div class="">1 0.5 0.3333 0.25 0.2 and so on…</div><div class=""><br class=""></div><div class="">how to do this for an arbitrary input wavetable?</div><div class=""><br class=""></div><div class="">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)</div><div class=""><br class=""></div><div class="">or if there is a “simpler” (without fft) possibility that would be great.</div><div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 04 Aug 2016, at 10:05, José Rafael Subía Valdez <<a href="mailto:jsubiavaldez@gmail.com" class="">jsubiavaldez@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Can you elaborate a bit what you want to do??<div class=""><br class=""></div><div class="">I think you better process the table rather than go from one domain to another.</div><div class=""><br class=""></div><div class="">inverse the phase by multiplying by -1,</div><div class="">you can "reverse" the table by reading it from back to front.</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Thu, Aug 4, 2016 at 8:53 AM, Simon Iten <span dir="ltr" class=""><<a href="mailto:itensimon@gmail.com" target="_blank" class="">itensimon@gmail.com</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">sorry to post again.<br class="">
<br class="">
i think sigmund~ can do this.<br class="">
<br class="">
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.<br class="">
<br class="">
> On 04 Aug 2016, at 09:34, Simon Iten <<a href="mailto:itensimon@gmail.com" target="_blank" class="">itensimon@gmail.com</a>> wrote:<br class="">
><br class="">
> dear list,<br class="">
><br class="">
> i can create nice wavetables with sinesum.<br class="">
><br class="">
> what would be the easiest process to do the inverse?<br class="">
><br class="">
> reading a wavetable of known size and converting it to it’s sine harmonics gain structure.<br class="">
><br class="">
> fft? i am a little bit lost on how to do this with a wavetable.<br class="">
><br class="">
> or is there a simpler way if i know the number of points and the range of the waveform?<br class="">
><br class="">
> cheers<br class="">
<br class="">
<br class="">
_______________________________________________<br class="">
<a href="mailto:Pd-list@lists.iem.at" target="_blank" class="">Pd-list@lists.iem.at</a> mailing list<br class="">
UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank" class="">https://lists.puredata.info/listinfo/pd-list</a><br class="">
</blockquote></div><br class=""><br clear="all" class=""><div class=""><br class=""></div>-- <br class=""><div data-smartmail="gmail_signature" class=""><div dir="ltr" class="">José Rafael Subía Valdez<br class=""><div class=""><a href="http://www.jrsv.net/" target="_blank" class="">www.jrsv.net</a><br class=""><div class=""><br class=""></div><div class=""><br class=""><div class=""><br class=""><font face="'lucida grande', tahoma, verdana, arial, sans-serif" size="4" class=""><span style="font-size:14px;line-height:17px" class=""><br class=""></span></font></div></div></div></div></div>
</div></div>
</div></blockquote></div><br class=""></div></body></html>