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.
Page Index Toggle Pages: 1
Two problems: playing and sound. (Read 453 times)
Two problems: playing and sound.
Apr 28th, 2008, 7:50pm
 
Hey,

Problem one:
I'm trying to play two quicktime movies: one when a key is pressed, and one when the mouse is pressed.  My ley pressed  video(alarm) is working fine, but my mouse pressed(face) won't play at all.  I tried switching face to key and alarm to mouse and alarm always works, but face never does.  My professor and I have concluded that there is something wrong with my face video.  I've tried exporting it a few times from flash, and it just won't work at all.  I don't know why one is working and the other is not when I haven't done anything different in exporting them.

I'm going to be working with an arduino and sensors in the final project, so I need to get this to work as is before switching everything over.

My second problem:
So, alarm has sound built in to it.  Even when the video is not playing, the sound is playing.  Is there any way to stop this?  Should I just make the sound a separate file and play it alongside the video through minim?  

If anyone could help me with this, that would be amazing.
Re: Two problems: playing and sound.
Reply #1 - May 2nd, 2008, 3:39pm
 
I noticed that you were having the same issue as us.
We can't seem to stop the sound from even though we have stop the video. I was wondering if you were able to solve the problem?
Re: Two problems: playing and sound.
Reply #2 - May 2nd, 2008, 4:11pm
 
No -- I ended up exporting the movie from flash into a series of .jpgs and then playing them in an array alongside a sound file, using minim.
Page Index Toggle Pages: 1