Animation Script: Lyp Synchronisation

Scripting in Blender with Python, and working on the API

Moderators: jesterKing, stiv

Post Reply
dienben
Posts: 0
Joined: Thu Mar 04, 2004 5:31 pm
Location: Paris

Animation Script: Lyp Synchronisation

Post by dienben »

Hello All!

I'am proud to annonce that my script for lip synchronisation is released (beta).

How does it work: with Blender 2.40 alpha2, you could built the basic RVK for your character.

Then you use Papagayo:
http://www.lostmarble.com/papagayo/index.shtml
It's under GNU Licence.

Then use my import script. It works...

I don't have any web site yet, it's in the pipe. You could see the result here:
http://blenderclan.tuxfamily.org/html/m ... mpost31486

I actualy wrote a tutorial (RVK + Synchro). I just need a little help: i look for in the API the functiun to determine the name of a RVK.

Hope to help. If people want to join me, it's with pleasure. Please mail me: dienben_mail@yahoo.fr

Dienben[/img]

guitargeek
Posts: 0
Joined: Thu Apr 24, 2003 12:54 am
Location: Greenville,IL USA

Post by guitargeek »

if you have a mesh object ob do this...

myshape = 0
me = ob.getData()
ky = me.getKey()
blocks = ky.getBlocks() #This list of blocks are the shape keys.
for i in range(len(blocks)):
if blocks.name == "Smile":
myshape = i

ipo = ky.getIpo()
curve = ipo.getCurve(i)

now curve is the ipocurve of the shape named "Smile"

dienben
Posts: 0
Joined: Thu Mar 04, 2004 5:31 pm
Location: Paris

Post by dienben »

Thanks for your answers.

I just made a very basic tutorial:

http://blenderlipsynchro.blogspot.com/

The script and exemples are here:
http://afn.dalmont.free.fr/ben/

Please, give me your feedback!

Dienben

dienben
Posts: 0
Joined: Thu Mar 04, 2004 5:31 pm
Location: Paris

Post by dienben »

Hello,

Just had a short talk about facial animation:

http://blenderlipsynchro.blogspot.com/

Dienben

GusM
Posts: 2
Joined: Wed Oct 16, 2002 2:16 pm

Post by GusM »

Excelent tools, and very needed for CA, thank you very much :)

Keep up your great work,
Gustavo Muñoz

dienben
Posts: 0
Joined: Thu Mar 04, 2004 5:31 pm
Location: Paris

Post by dienben »

Hello,

Today, i published a new release of the script (really easy to use now). Feedbacks are welcome!

Dienben

dienben
Posts: 0
Joined: Thu Mar 04, 2004 5:31 pm
Location: Paris

Post by dienben »

Hello,

Today, a new release of blenderlipsynchro was published! It provide a full compatibility with Jlipsync:
http://JLipSync.sourceforge.net

Now, even if you under Linux, you could synchronyse sound and phonems, then map with your shapes in Blender. There some amelioration in the code too (english comment etc...)

Script is here:
http://afn.dalmont.free.fr/ben/blenderLipSynchro_12.py
My blog (tutorial...):
http://blenderlipsynchro.blogspot.com/

Hope to Help,
__________________
Dienben

There are no bad spells, only bad wizards.

dienben
Posts: 0
Joined: Thu Mar 04, 2004 5:31 pm
Location: Paris

Post by dienben »

Hello,

A little post to say that a new version of Papagayo is released:
http://www.lostmarble.com/papagayo/index.shtml

With Linux distrib!

Dienben

dienben
Posts: 0
Joined: Thu Mar 04, 2004 5:31 pm
Location: Paris

BlenderLipSynchro V2 release!

Post by dienben »

Hello,

Great news today! I release a new version of blenderlipsynchro!

The imrovement:
- framework simplified! You only have to choose the export file from your favorite lipsynchronisation application and made the mapping
- mutli phonems set supported! You are not depend from any pre defined phonems set, like the Preston Blair one or JLipSync one. You could use your own custom phonems set.
- phonems auto detection : you have just to mapp the used phonems. For exemple, if you use 15 phonems and in a particular scene only 8, you just map 8 phonems.
- true compatibility with any lipsynchronisation tool: open source, of cousre (papagayo, pamela and JLipSync), and the ones who export for moho. The interface is very simple: the first line of the text file is not intepreted, and then, for each line, you write the number of the frame, a space and the phonem use at this frame.That's all. A simple text editor is suffisant!

Technically:
- non regression test suit
- code cleaning

My target is efficiency. So less clicks and simple function.

D'ont forget to create your Ipo curves befor use the script. If you don't, the script simple remin it to you!

The links:
my blog:
http://blenderlipsynchro.blogspot.com/

the script:
http://afn.dalmont.free.fr/ben/blenderl ... Synchro.py

the non regression suit:
http://afn.dalmont.free.fr/ben/blenderl ... o2/nonreg/

Cheer!

Dienben

Post Reply