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

Play Sound

$
0
0

I read "LEARNING PROCESSING" book and I found the way to play Sound and the code was...

import processing.video.*;

Movie movie;

void setup() { size(200, 200);

movie = new Movie(this, "sample.mp3");

}

void draw() { background(0); noLoop(); }

void mousePressed(){ movie.stop(); movie.play(); }

but... The class "Movie" does not exist

What's wrong?


Viewing all articles
Browse latest Browse all 2896

Trending Articles