<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: HOWTO: From magnitude spectrum to sound</title>
	<atom:link href="http://atlhack.org/2005/10/09/howto-from-magnitude-spectrum-to-sound/feed/" rel="self" type="application/rss+xml" />
	<link>http://atlhack.org/2005/10/09/howto-from-magnitude-spectrum-to-sound/</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Wed, 03 Mar 2010 05:26:38 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Anonymous</title>
		<link>http://atlhack.org/2005/10/09/howto-from-magnitude-spectrum-to-sound/comment-page-1/#comment-514</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Wed, 31 Dec 1969 19:00:00 +0000</pubDate>
		<guid isPermaLink="false">#comment-514</guid>
		<description>Properly, no. The magnitude spectrum throws out the phase information from the DFT transform (what the FFT computes). Given the full DFT, one can exactly reproduce the bandlimited time domain signal - but the phase is critical to positioning the component sinusoids.

A short example:
&lt;code&gt;load handel;
yfft=fft(y);
plot( abs( yfft )); %show the spectrum

%compare the reconstruction and the original
iy=(ifft(yfft));
plot( y );
plot( iy );

iay=ifft(abs(yfft));
plot(iay);
sound(iay, Fs);&lt;/code&gt;


This isn&#039;t the best explanation. But the low frequencies of a non-stationary signal are actually doing some weird form of making events in the sound.

If you want to throw out the phases of the spectrum but still use the magnitude for synthesis, it might work in the context of short-time fourier transform, where you break the time domain signal into windows (with more or less stationary spectrums) to analyse them.</description>
		<content:encoded><![CDATA[<p>Properly, no. The magnitude spectrum throws out the phase information from the DFT transform (what the FFT computes). Given the full DFT, one can exactly reproduce the bandlimited time domain signal &#8211; but the phase is critical to positioning the component sinusoids.</p>
<p>A short example:<br />
<code>load handel;<br />
yfft=fft(y);<br />
plot( abs( yfft )); %show the spectrum</p>
<p>%compare the reconstruction and the original<br />
iy=(ifft(yfft));<br />
plot( y );<br />
plot( iy );</p>
<p>iay=ifft(abs(yfft));<br />
plot(iay);<br />
sound(iay, Fs);</code></p>
<p>This isn&#8217;t the best explanation. But the low frequencies of a non-stationary signal are actually doing some weird form of making events in the sound.</p>
<p>If you want to throw out the phases of the spectrum but still use the magnitude for synthesis, it might work in the context of short-time fourier transform, where you break the time domain signal into windows (with more or less stationary spectrums) to analyse them.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephen</title>
		<link>http://atlhack.org/2005/10/09/howto-from-magnitude-spectrum-to-sound/comment-page-1/#comment-515</link>
		<dc:creator>Stephen</dc:creator>
		<pubDate>Wed, 31 Dec 1969 19:00:00 +0000</pubDate>
		<guid isPermaLink="false">#comment-515</guid>
		<description>I suspected as much.  I will go ahead with experimenting with the STFT using just real parts or maybe the magnitudes.  This will be my absentee hackfest project for the week.

The goal is to create a tool that will convert sounds to images of spectrograms and backwards.  Joel mentioned applying applying photoshop filters to them and wondering what the sounds would be.  I, of course, am interested in the results of texture synthesis / image analogies on the spectrogram.</description>
		<content:encoded><![CDATA[<p>I suspected as much.  I will go ahead with experimenting with the STFT using just real parts or maybe the magnitudes.  This will be my absentee hackfest project for the week.</p>
<p>The goal is to create a tool that will convert sounds to images of spectrograms and backwards.  Joel mentioned applying applying photoshop filters to them and wondering what the sounds would be.  I, of course, am interested in the results of texture synthesis / image analogies on the spectrogram.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ynniv</title>
		<link>http://atlhack.org/2005/10/09/howto-from-magnitude-spectrum-to-sound/comment-page-1/#comment-516</link>
		<dc:creator>ynniv</dc:creator>
		<pubDate>Wed, 31 Dec 1969 19:00:00 +0000</pubDate>
		<guid isPermaLink="false">#comment-516</guid>
		<description>&lt;a href=&quot;http://www.bastwood.com/aphex.php&quot;&gt;This website&lt;/a&gt; (http://www.bastwood.com/aphex.php) has images hidden in the spectrogram of some Aphex Twin songs.</description>
		<content:encoded><![CDATA[<p><a href="http://www.bastwood.com/aphex.php">This website</a> (<a href="http://www.bastwood.com/aphex.php" rel="nofollow">http://www.bastwood.com/aphex.php</a>) has images hidden in the spectrogram of some Aphex Twin songs.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephen</title>
		<link>http://atlhack.org/2005/10/09/howto-from-magnitude-spectrum-to-sound/comment-page-1/#comment-525</link>
		<dc:creator>Stephen</dc:creator>
		<pubDate>Wed, 31 Dec 1969 19:00:00 +0000</pubDate>
		<guid isPermaLink="false">#comment-525</guid>
		<description>The process distorts even sine waves using teensy weensy windows.&#160; Check out the results here:&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.cs.ubc.ca/~sfingram/phouriershop/&quot;&gt;http://www.cs.ubc.ca/~sfingram/phouriershop/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I think I&#039;m going to just roll my own photoshop-style filters to run on images with complex pixel values.&#160; Most image filters are quite simple and I think there&#039;s nothing wrong with substituting complex numbers in them.</description>
		<content:encoded><![CDATA[<p>The process distorts even sine waves using teensy weensy windows.&nbsp; Check out the results here:</p>
<p><a href="http://www.cs.ubc.ca/~sfingram/phouriershop/">http://www.cs.ubc.ca/~sfingram/phouriershop/</a></p>
<p>I think I&#8217;m going to just roll my own photoshop-style filters to run on images with complex pixel values.&nbsp; Most image filters are quite simple and I think there&#8217;s nothing wrong with substituting complex numbers in them.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
