This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2011-06-04 16:31:30

cheddargirl
Scratch Team
Registered: 2008-09-15
Posts: 1000+

Lip-synching... and Singing about SOAP BUBBLES! :D

Soap Bubbles - Shabondama, a project I made to test out lip-synching in Scratch.

Apparently if I design a project to lip-synch offline and then upload it to the website, it works better in the online Java Player than the Flash player because of the the time it takes to execute scripts. The rate at which blocks are executed in the Java player is closer to the rate it takes to execute scripts offline on a regular computer, given a certain project size limit [we all know how big projects bog down the Java Player causing projects to crawl to a standstill]. Flash has a tendency to execute scripts at a faster rate than offline for small projects, resulting in the lip-synching being off (which makes me wonder if the lip synching is better optimized in Flash for really big animations, like in Astro947's projects).

I'm wondering if there's a way to optimize the project to work both well online and offline without much work (which will probably be something I'll want to work on when 2.0 comes out and the Flash player is finished and permanently made an integral part of the Scratch website). Feel free to take a look at the code and offer up your own opinions.

Or just feel free to watch the video and learn to sing a kiddie song about soap bubbles in the Japanese language. Take your pick.  tongue

[edit]: Oh, I wanted to add more subtitles for this project in different languages. If you know another language, I encourage you to remix this project change the English subtitle option into another language.  smile [/edit]

Last edited by cheddargirl (2011-06-04 18:47:51)


http://i.imgur.com/8QRYx.png
Everything is better when you add a little cheddar, because when you have cheese your life is at ease  smile

Offline

 

#2 2011-06-06 21:48:13

cheddargirl
Scratch Team
Registered: 2008-09-15
Posts: 1000+

Re: Lip-synching... and Singing about SOAP BUBBLES! :D

BUMP.  tongue


http://i.imgur.com/8QRYx.png
Everything is better when you add a little cheddar, because when you have cheese your life is at ease  smile

Offline

 

#3 2011-06-06 21:56:00

idkdude
Scratcher
Registered: 2009-07-23
Posts: 100+

Re: Lip-synching... and Singing about SOAP BUBBLES! :D

I know what you mean! I only find it to be a problem when I use repeat blocks as timers and base it off of timing in presentation mode... like without wait blocks.

It seems like using wait blocks keeps the time pretty well since seconds are the same on and offline... well it might be different if you're waiting like .05 seconds lol  tongue


http://i253.photobucket.com/albums/hh43/smuthered/sigg-1.jpg

Offline

 

#4 2011-06-06 22:06:10

cheddargirl
Scratch Team
Registered: 2008-09-15
Posts: 1000+

Re: Lip-synching... and Singing about SOAP BUBBLES! :D

idkdude wrote:

I know what you mean! I only find it to be a problem when I use repeat blocks as timers and base it off of timing in presentation mode... like without wait blocks.

It seems like using wait blocks keeps the time pretty well since seconds are the same on and offline... well it might be different if you're waiting like .05 seconds lol  tongue

Yeah, unfortunately, I am waiting for a short amount of time (like 0.01 to 0.03 seconds, if I'm not mistaken), so sometimes the smallest time change causes the timing to be off at certain time. ^^;

There are techniques that detect when a project is being offline and online, as well as a way to detect which online player is being used (but I'd rather stay away from that option if at all possible ^^U)


http://i.imgur.com/8QRYx.png
Everything is better when you add a little cheddar, because when you have cheese your life is at ease  smile

Offline

 

#5 2011-06-06 22:13:56

idkdude
Scratcher
Registered: 2009-07-23
Posts: 100+

Re: Lip-synching... and Singing about SOAP BUBBLES! :D

The best idea I can come up with is uploading it to a test account (so people won't see it and get confused) with a variable for how long to wait.  And add some scripts to let you change the variable in the project.  That way, you can see what works in flash.

And just have multipliers with the variable in the wait box depending on how long you want it to be in each costume, setting up a ratio for the whole thing.

Not sure if I explained that very well hehe ^_^~


http://i253.photobucket.com/albums/hh43/smuthered/sigg-1.jpg

Offline

 

#6 2011-06-06 22:26:26

cheddargirl
Scratch Team
Registered: 2008-09-15
Posts: 1000+

Re: Lip-synching... and Singing about SOAP BUBBLES! :D

idkdude wrote:

The best idea I can come up with is uploading it to a test account (so people won't see it and get confused) with a variable for how long to wait.  And add some scripts to let you change the variable in the project.  That way, you can see what works in flash.

And just have multipliers with the variable in the wait box depending on how long you want it to be in each costume, setting up a ratio for the whole thing.

Not sure if I explained that very well hehe ^_^~

Yeah, that's true, I could do that.

I'll probably wait for the Flash player to be updated, though. Some people have complained about the time thing before, I'd rather optimize the project when the Flash player is finished so I won't have to worry about timing later.  smile


http://i.imgur.com/8QRYx.png
Everything is better when you add a little cheddar, because when you have cheese your life is at ease  smile

Offline

 

#7 2011-06-07 18:46:44

Athgod
New Scratcher
Registered: 2011-06-07
Posts: 19

Re: Lip-synching... and Singing about SOAP BUBBLES! :D

I didn't like it.

Offline

 

#8 2011-06-07 21:22:50

Aliendude12
New Scratcher
Registered: 2011-04-21
Posts: 28

Re: Lip-synching... and Singing about SOAP BUBBLES! :D

cool!


P.S. you don't have to reply because you already did on your project. But you can if you want to.

Offline

 

Board footer