Quantcast
Channel: Library Questions - Processing 2.x and 3.x Forum
Viewing all articles
Browse latest Browse all 2896

Live Audio Translating Into Hue Change

$
0
0

Hello everyone!

So for this assignment I have to take either an audio file or live audio input and have it translate to a hue change on a photo! Overall it seems pretty simple but I'm stuck on how to put the information in to change the hue. I've inserted what I have so far below.

    import ddf.minim.*;
    import ddf.minim.signals.*;
    import ddf.minim.analysis.*;
    import ddf.minim.effects.*;
    PImage img;

    Minim minim;
    AudioInput in;

    void setup()
    {
        img = loadImage("Ash.jpg");
        size( 540, 687 );
        smooth();

        minim = new Minim( this );

        in = minim.getLineIn( Minim.STEREO, 512 );

        background(img);
    }

    void draw()
    {
    }
    void stop()
    {
        in.close();
        minim.stop();
        super.stop();
    }

Viewing all articles
Browse latest Browse all 2896

Trending Articles