edit message. redoing math :rolleyes:
Printable View
edit message. redoing math :rolleyes:
25 FPS = 25 frames per second (40 ms per step)
30 FPS = 30 frames per second (33 ms per step)
and so on.
So ... you can't have 0.5 steps !
Also, flash can't be "accurate to the second" because setInterval doesn't work for intervals under 1/FPS.
For example,if the movie speed is 30 FPS, and you try setInterval(function,20) (in other words: 20 ms per interval - 50 FPS), in the runtime that function is called once per 33 miliseconds (can't work faster than 30 FPS).
As I said many times before (and as Wilbert told you),the unique solution in this case is to use sound.position
The reason: this command works asynchronous !
cheers
Ok, for now anyway, my app will only use 15fps and 30fps until I can figure out this sound.position. It's almost complete and I don't feel like rewriting it now.
You're going to kill me Remus. Please look at attachment.
What else do you expect if your speed is 30 FPS and the del array is del = [0,1,1,1,1,1,1,1,1,...,1] ?!?Quote:
Originally posted by FLASHPULSE
You're going to kill me Remus. Please look at attachment.
In other words: no delay at all !
p.s.
Works fine if you set the speed to 5-8 FPS.
I had to rebuild your "amazing" del array.
:xbones:
I have to slow down my lipsync program from 1/30 of a second to maybe something like 1/3 and maybe that should do it. So when I export the script, del will be 10 when fps is 30. It's almost finished, thanks god. :D
Here's a little test although I have to edit the script a bit before loading it into KM. Timing is somewhat off in flash.
http://www.flashpulse.com/koolmoves/lipsynctest.html
Well done !Quote:
But for future take care: in case of complex animations (large moving areas), the real movie speed is gonna be far away from the theoretical speed (you'll need a top machine to keep them closer enough).
To prevent all of these, your (future) sequencer has to be based on sound.position
;)
I had been thinking alone these lines too. Seems the best way would be to make a tool that plays the mp3 an you could press a key for different mouth positions as it goes and store it in an array that could then be imported into another flash that uses the same mp3 and this array file for the mouth positions.
That's what I've been working on. Everything works now, just cleaning some stuff up and writing a help file.Quote:
Originally posted by blanius
I had been thinking alone these lines too. Seems the best way would be to make a tool that plays the mp3 an you could press a key for different mouth positions as it goes and store it in an array that could then be imported into another flash that uses the same mp3 and this array file for the mouth positions.
http://www.flashpulse.com/downloads/lipsync.jpg
I'm excited!! This will be great!!! How much are you charging for this KoolMoves Plugin?
td
Hi Joe,
It's looking nice. :)
What would really be great is if you could add a window that displays the wave file with markers on it's timeline. That way it would be very easy to see where the silences are.
After I get everything completed, it's going to Bob first. I've talked to him about maybe adding it to KM. This may or may not happen. After knowing what Bob's thoughts are and my own, I'll post more on this.Quote:
Originally posted by TDolce
I'm excited!! This will be great!!! How much are you charging for this KoolMoves Plugin?
td
Actually right now it's pretty fast to make a lipsync. I'm able to make a lipsync with a wav that's a few seconds long in about a minute (I'll explain more on how to do this quickly in the help file). So let's try it out after the release and if you still think it would be important, I'll look into adding it.Quote:
Originally posted by w.brants
Hi Joe,
It's looking nice.
What would really be great is if you could add a window that displays the wave file with markers on it's timeline. That way it would be very easy to see where the silences are.
Also, I had reported in a post above about the timing being slightly off when used in flash. This was an error on my behalf on calculating time for the fps (which also now supports 12-30 fps and all seems pretty acurate so far).
I found one minor bug that I have to fix tonight but after that, I have to clean up my code and comment it (so I don't forget what's what) and make the help file. Won't be long. ;)
Ha ha, I like it.Quote:
Originally posted by FLASHPULSE
That's what I've been working on. Everything works now, just cleaning some stuff up and writing a help file.
http://board.flashkit.com/board/
I'm waiting for more ...
And don't forget about that sound.position.
:mrpimp:
wow, this will make things too easy and put cartoonist out of work. looks like you have made everything real simple for anyone:D
Yeah,..speaking for just myself,...simple is fine with me. I'm probably the target when he aims for simple!!! :DQuote:
Originally posted by tmoore935
wow, this will make things too easy and put cartoonist out of work. looks like you have made everything real simple for anyone:D
Hey FlashPulse,...you could even call it KoolTalk!!! (chuckle)
http://www.togotoons.com/KoolTalk.jpg
LOL, that's a big play button. ;)Quote:
Originally posted by TDolce
Yeah,..speaking for just myself,...simple is fine with me. I'm probably the target when he aims for simple!!! :D
Hey FlashPulse,...you could even call it KoolTalk!!! (chuckle)
http://board.flashkit.com/board/
Yes I love Big shiny buttons!!!:faded:
Always have, Always Will! Gives me that Mac feeling without a Mac.
So,..wassup with the Lipservice plugin?
Is this something that will be tied in with the next big release of KM? Have you already turned it into Bob for his decision?
Just curious and nosey! I'd like to know if I should start saving some pennies for the next release or just keep watching from the sidelines.
td:D
I like fancy buttons myself. :DQuote:
Originally posted by TDolce
Yes I love Big shiny buttons!!!:faded:
Always have, Always Will! Gives me that Mac feeling without a Mac.
So,..wassup with the Lipservice plugin?
Is this something that will be tied in with the next big release of KM? Have you already turned it into Bob for his decision?
Just curious and nosey! I'd like to know if I should start saving some pennies for the next release or just keep watching from the sidelines.
td:D
Everything is complete except for the manual. I'll start working on it tonight. Then talk to Bob either thursday or friday to see what he wants to do or if I'll be offering alone, myself.
Here's a list of it's features:
1.) FPS can be from 12 to 30.
2.) Frames can be from 2 to what ever you desire.
3.) 10 mouth shapes (that can be combined for any word, I think)
4.) Save and open your work as a "*".lip file.
5.) Only imports standard "*"wav at the moment
6.) Delays for frames can be 1 to what ever you desire.
7.) A "Play" button to preview your lipsync animation before exporting.
8.) Of course, export your final lipsync animation to a "*".as file.
I've spent the last few days error checking everything to make it dummy proof, lol. It won't be long now. :D ;)