<div dir="ltr"><div class="gmail_quote"><div dir="ltr"><div>Hello list,</div><div><br></div><div>I made a pix_fft2 object that calculates the magnitude of the spectrum [1] based on [2] and [3]. So far, it works pretty much the same as pix_opencv_dft but I want to expand this further:<br></div><div><br></div><div>I'm making a different one, and I have problems because I want to output real an imaginary values as images. The code is in [4].<br></div><div><br></div><div>I'm following these instructions [5], but I can't wrap my head around it.</div><div><br></div><div>How would I go about sending a second gem_state (or image) via a 2nd outlet ? Are there any examples out there? What's wrong with [4]?</div><div><br></div><div>A solution for this was to output all pixels as a list, but I don't think it's very efficient and it messes around with the pixel order. </div><div><br></div><div>Thanks!</div><div><br></div><div>fede</div><div><br></div><div>[1] (github dot com) /fdch/fd_<wbr>lib/tree/master/pix_fft2</div><div>[2] how fftw works from William Brent's recent timbreID</div><div>[3] how a pix object works with Antoine Villeret's pix_opencv<br></div><div>[4] (github dot com) fdch/<wbr>fd_lib/blob/master/pix_fft/<wbr>pix_fft.cpp<br></div><div>[5] <a href="https://lists.puredata.info/pipermail/gem-dev/2011-11/005642.html" target="_blank">https://lists.puredata.info/<wbr>pipermail/gem-dev/2011-11/<wbr>005642.html</a></div><div><div><br></div><div><br></div><div>PS: working on osx10.11.6 with Gem from deken,latest Pd.0.48.0 </div></div><div><br></div><div>PSS: resending to the list because it did not went through yesterday</div></div></div><div class="gmail_signature"><div dir="ltr"></div></div>
</div>