We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpSound,  Music Libraries › problem with minim library in visualreactstosound
Page Index Toggle Pages: 1
problem with minim library in visualreactstosound (Read 652 times)
problem with minim library in visualreactstosound
Jan 26th, 2010, 1:53pm
 
Hello everybody

I'm making a video that reacts to sound. I saved a track in the folder of the applet.

Minim minim;
AudioPlayer player;
//setup ();
....
minim = new Minim(this);
player = minim.loadFile("audio.rale.1.mp3", 2048);

The track has a duration of 10 seconds, but when  I want to convert the applet to .mov file, the video has a duration only 2 seconds instead of 10 seconds and run very quickly. I have also tried to use saveFrame () wich shout provide 300 frames (30fps x 10 sec = 300 frames) but  I only received 64 frames. I don't understand why this happens and it makes me frustrated  Undecided . Please I hope somebody can help me.

Best regards
Daniel
Page Index Toggle Pages: 1