<div dir="ltr"><div>Yeah, well I&#39;m trying to create shapes in Gem (say a circle) and create the sound they make. So, to make a circle, I&#39;m making a ramp from 0 to 1, multiply it by 2pi and send it to [cos] and [sin] and store these values in two tables, which I then read for every instance of a [circle] (using [repeat] and [separator]). So, since for any shape, you need two coordinates, x and y, my thought was to use these two coordinates as the real and imaginary part of an FFT, merging the two dimensions in one.<br>
</div>After the sinusoid, I&#39;ll try to make other shapes too, but I wanted to start from that to make sure that I hear exactly what I see.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jan 29, 2014 at 10:30 PM, Charles Z Henry <span dir="ltr">&lt;<a href="mailto:czhenry@gmail.com" target="_blank">czhenry@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>What you seem to be doing is creating a spectrum which has magnitude 1 everywhere, and the phase is varying at a constant rate vs frequency.  That means it has a constant group delay.<br>
<br></div><div>
So... my guess is that you&#39;d get an impulse in each block, whose timing depends on the rate of the phasor.  When you vary the phasor frequency, it will coincide with the peak of the hann window at some point and be its loudest. <br>

</div><div><br></div><div>Should be a periodic complex tone.  I don&#39;t understand your goal:  you&#39;ve got sinusoids in the patch... to generate sinusoids?  <br></div><div><br></div><div>Chuck<br></div></div><div class="gmail_extra">

<br><br><div class="gmail_quote"><div><div class="h5">On Wed, Jan 29, 2014 at 9:12 AM, Alexandros Drymonitis <span dir="ltr">&lt;<a href="mailto:adrcki@gmail.com" target="_blank">adrcki@gmail.com</a>&gt;</span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
<div dir="ltr"><div><div><div><div><div>Say I have a full sine and a full cosine cycle stored in two tables. I&#39;m trying the following to get a sinusoid from [rifft~] but it doesn&#39;t work.<br><br></div>[phasor~]<br>

|<br>
</div>[*~ sizeOfTable - 3]<br>|<br>[+~ 1]<br>|\<br>| \<br></div><div>|  [tabread4~ sine]<br></div><div>|   \<br></div>[tabread4~ cosine]<br>|      \<br></div>[rifft~]<br>|<br></div>|    [tabreceive~ hann]<br><div>|    |<br>


[*~ ]<br>|<br>[/~ 1536]<br><br></div><div>I&#39;ve set the block size to 1024 in this subpatch, and there&#39;s a hann window in the parent patch as well. The tables have three guard points, that&#39;s why I&#39;m multiplying [phasor~] by the size of the table minus three and then add one.<br>


</div><div>The output of this is a waveform with very low amplitude that kind of bounces up and down within a sine like mask. Don&#39;t know if I&#39;m making my self clear. My main question is, how do you get a sinusoid out of a sine and a cosine? Also, what&#39;s wrong in my approach?<br>


</div></div>
<br></div></div>_______________________________________________<br>
<a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
<a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
<br></blockquote></div><br></div>