Simple audio frequency reader

edited January 2014 in Library Questions

Hi,

I would like to make a simple audio frequency reader. Where I import a .file and it shows me the frequency/amplitude.

And where I then can save the image to a .pdf.

I tried the minim library but I get the same error over again and that's something with 8 or 16 bit.

Changed buffer rate but give me no solution.

Help wanted, it could not be that hard though?

Answers

  • "I get the same error over again and that's something with 8 or 16 bit."
    Perhaps you can share the exact text of the message? Because we are unable to guess it...

  • We'll it shows met that in the bar I can't copy.

        iimport ddf.minim.*;
    
    Minim minim;
    AudioPlayer song;
    
    void setup()
    {
      size(100, 100);
    
      minim = new Minim(this);
    
      // this loads mysong.wav from the data folder
      song = minim.loadFile("DR-100_0195.wav");
      song.play();
    }
    
    void draw()
    {
      background(0);
    }
    
Sign In or Register to comment.