I downloaded minim libraries to run a sound clip in a program. its an mp3 thats about 3mb in size.
I have imported the minim library and i think i have the syntax. the program runs, but no sound is created. In the command prompt it throws this line at me, " === Minim Error === === Likely buffer underrun in AudioOutput."
I dont know what this means. Can anyone suggest what I might be doing wrong? Also, heres a snippet of my code, only the info related to the audio. Please note I am pretty new to this stuff! Thanks!
import ddf.minim.*;
Minim minim;
AudioSample NIN;
void setup(){
size
frameRate
minim = new Minim(this);
NIN = minim.loadSample("nin.mp3", 1024);
}
I have tried to download a couple of libraries for running gifAnimiations, but it isnt working for me. I would really appreciate it if someone could give me a sample bit of code that would allow me to run a .gif animated file in processing, or any instruction on how to get this to work.
Thanks a million!
Hi!
ok so I have a feeling im missing something small, thats why im having this problem!
my program is supposed to copy an image over top of another image when the mouse is clicked, and thats working fine. but my "contrain" that "reveals" the image so to speak is a square, where as i want it to appear more like the spray-paint effect like in Windows Paint. Hopefully you get what i mean!
so what i am asking is, how do i make the constrain function allow me to get the effect im looking for? should i be creating an array that will randomize smaller squares constrained within lets say, a 20px radius of the mouse pointer? or should i be making a class that acts as a stencil?
thank you so much for the help!! I hope im making myself clear! if its a little confusing but you think you can help me, ill be MORE than happy to explain it further!
Hi!
So im trying to create an erasing effect on an image. I am using a small square box to 'erase' one image, and in its place, have the other image exposed. The best way i can describe it to you is like this website did, (click somewhere and drag to expose the image.)
http://anotherversionofthetruth.com/ Thats what i am trying to do, but i am unsure how. I have loaded the initial image into the void setup, and the second image into the void draw.
Any assistance is much appeciated!