Logo by kr0mat1k - Contribute your own Logo!

END OF AN ERA, FRACTALFORUMS.COM IS CONTINUED ON FRACTALFORUMS.ORG

it was a great time but no longer maintainable by c.Kleinhuis contact him for any data retrieval,
thanks and see you perhaps in 10 years again

this forum will stay online for reference
News: Follow us on Twitter
 
*
Welcome, Guest. Please login or register. March 29, 2024, 01:38:03 PM


Login with username, password and session length


The All New FractalForums is now in Public Beta Testing! Visit FractalForums.org and check it out!


Pages: [1]   Go Down
  Print  
Share this topic on DiggShare this topic on FacebookShare this topic on GoogleShare this topic on RedditShare this topic on StumbleUponShare this topic on Twitter
Author Topic: Fractals to sound  (Read 2832 times)
Description: spectrogram method
0 Members and 1 Guest are viewing this topic.
Tater
Navigator
*****
Posts: 71



« on: January 28, 2013, 10:57:02 PM »

Here is an example of a fractal to sound http://kernsholler.net/Fractals/2BulbMovie1.wmv treating the picture as a spectrograph. This was done in Matlab using an m file like this

function signal = imagetosignal(path, format)

    % Read in the image and make it symmetric.
    image = imread('Eaton.png');
    image = [image; flipud(image)];

    [row, column] = size(image);
    signal = [];

    % Take the ifft of each column of pixels and piece together the results.
    for i = 1 : column

       spectrogramWindow = image(:, i);
       signalWindow = real(ifft(spectrogramWindow));
       signal = [signal; signalWindow];

    end

end


followed by saving the wave

wavwrite(ans,48000,'Power2Bulb.wav');

The movie was made in Movie Makler, and you have to save the image (in this case Eaton.png) as grayscale for Matlab to deal with it. What you hear is the sum of sine waves of frequency determined by pixels left (low) to right (high) with time going top to bottom. The amplitude of the Fourier modes is determined by the grayscale level of the pixel.
Logged
eiffie
Guest
« Reply #1 on: January 29, 2013, 05:47:31 PM »

I like the idea but I would rather you made a fractal that produced a more realistic spectrograph so you could hear the fractal formula.
Logged
kram1032
Fractal Senior
******
Posts: 1863


« Reply #2 on: January 30, 2013, 10:52:17 AM »

projecting a lit 3D object onto a 2D plane, biasing it all by using a colored object rather than a directly uniform-white one, and later throwing away all the color information to interpret it all as a spectrogram?
That seems highly artificial to me.
Nice. But artificial.
Logged
Pages: [1]   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
This may sound odd, but please hear me out..... (new) Theories & Research Essedjwykpi 5 1459 Last post December 08, 2006, 05:26:01 AM
by Nahee_Enterprises
Mandelbulber and sound Mandelbulber olihar 6 2672 Last post March 16, 2011, 09:15:27 AM
by Side B
Source for free sound files Help & Support CFJH 1 214 Last post September 12, 2014, 12:56:30 AM
by mclarekin
Sound Controlled 3d Kaliset Hybrid Movies Showcase (Rate My Movie) cKleinhuis 7 1667 Last post September 27, 2014, 11:51:59 AM
by cKleinhuis
Per Aspera Ad Astra (Fractals + generative music/sound) Movies Showcase (Rate My Movie) Aura-Indigo 0 885 Last post December 17, 2015, 05:38:24 AM
by Aura-Indigo

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM
Page created in 0.367 seconds with 25 queries. (Pretty URLs adds 0.007s, 2q)