Profile Picture

Has anyone noticed the lip syncing works better for record voice option, compared to update an audio...

Posted By Data Juggler 6 Years Ago
You don't have permission to rate!
1
2

Has anyone noticed the lip syncing works better for record voice...

Author
Message
Kelleytoons
Kelleytoons
Posted 6 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (37.8K reputation)Distinguished Member (37.8K reputation)Distinguished Member (37.8K reputation)Distinguished Member (37.8K reputation)Distinguished Member (37.8K reputation)Distinguished Member (37.8K reputation)Distinguished Member (37.8K reputation)Distinguished Member (37.8K reputation)Distinguished Member (37.8K reputation)

Group: Forum Members
Last Active: Last Year
Posts: 9.2K, Visits: 22.1K
Hmmm.  Well, holler at me, then (my email is easy to find if you go to my YouTube channel, and from there I can give you my phone or you can give me yours).  We'll figure it out.



Alienware Aurora R16, Win 11, i9-149000KF, 3.20GHz CPU, 64GB RAM, RTX 4090 (24GB), Samsung 870 Pro 8TB, Gen3 MVNe M-2 SSD, 4TBx2, 39" Alienware Widescreen Monitor
Mike "ex-genius" Kelley
Data Juggler
Data Juggler
Posted 6 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (13.9K reputation)Distinguished Member (13.9K reputation)Distinguished Member (13.9K reputation)Distinguished Member (13.9K reputation)Distinguished Member (13.9K reputation)Distinguished Member (13.9K reputation)Distinguished Member (13.9K reputation)Distinguished Member (13.9K reputation)Distinguished Member (13.9K reputation)

Group: Forum Members
Last Active: 9 Months Ago
Posts: 1.8K, Visits: 5.6K
Yes I watched the video, and I created a 3 second blank recording that showed up as None None where the only two vsemes.

I set the cursor at frame 10 and these two were at frames less than 10. I will try deleting them after work and try again.

Thanks

Creator of the free website:
PixelDatabase.Net
A Free Online Text Based Image Editor
https://forum.reallusion.com/uploads/images/6e6663e2-0ecf-447a-ab3d-d49d.png

Kelleytoons
Kelleytoons
Posted 6 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (37.8K reputation)Distinguished Member (37.8K reputation)Distinguished Member (37.8K reputation)Distinguished Member (37.8K reputation)Distinguished Member (37.8K reputation)Distinguished Member (37.8K reputation)Distinguished Member (37.8K reputation)Distinguished Member (37.8K reputation)Distinguished Member (37.8K reputation)

Group: Forum Members
Last Active: Last Year
Posts: 9.2K, Visits: 22.1K
Did you watch my video about using this?  You will need to create a viseme track first (and then delete all the visemes in it -- if I get the time I'll mod this to do that first).  It won't work without that because as it stands Python won't allow us to create a blank track.  That may be where it's blowing up (it's not a path issue -- it should just throw an error if it can't find the file).

And if you watch my video you'll note I just say this is a proof of concept -- it will work, and *should* work for you, but it's really not intended for anyone unless they know Python or at least understand a *bit* about how it works in iClone.  Knowing any other language will help, of course, but iClone's Python needs to be studied so you can see the various objects it creates and handles (so you would see that "avatar.GetVisemeComponent" needs both the avatar AND that viseme track first).

If you do decide to work on this tonight (or this weekend) holler at me and I can walk you through some things (if we could get enough folks interested we could do an online webinar, but I suspect that's coming from RL soon enough).



Alienware Aurora R16, Win 11, i9-149000KF, 3.20GHz CPU, 64GB RAM, RTX 4090 (24GB), Samsung 870 Pro 8TB, Gen3 MVNe M-2 SSD, 4TBx2, 39" Alienware Widescreen Monitor
Mike "ex-genius" Kelley
Data Juggler
Data Juggler
Posted 6 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (13.9K reputation)Distinguished Member (13.9K reputation)Distinguished Member (13.9K reputation)Distinguished Member (13.9K reputation)Distinguished Member (13.9K reputation)Distinguished Member (13.9K reputation)Distinguished Member (13.9K reputation)Distinguished Member (13.9K reputation)Distinguished Member (13.9K reputation)

Group: Forum Members
Last Active: 9 Months Ago
Posts: 1.8K, Visits: 5.6K
Thank you for the update. I installed the update, ran the script, quickly crashed IClone.

I modified your script to match my path(s) there was one other place I mdified for the wave file.
From your code, it looks like you have to use double back slashes as an escape character to indicate an actual backslash, is that correct?
C# is like that, unless you put an @ symbol before the string you can use a literal backslash.

This path exists: C:\Video Projects\Codey\Audio\CodeIntro.dat on my hard drive. The error shown was on line 23, which is the last line I pasted where it parses the text into two variables, and it blows up. Is there a way in Python to check if the file exists before it opens? Just trying to verify it isn't a path issue.
And in C# you can say something like While Read Line, instead of While True, so if it doesn't Read the first line you don't go into the loop at all. Sorry I don't know Python, or I could debug it.
I just wanted to write and say thank you for your help, but alas my pesky day job is calling so I can afford to play with animation tools.

After work I will resume again if I have time, else this weekend I will investigate further. 


f = open("C:\\Video Projects\\Codey\\Audio\\CodeIntro.dat",'r')
the_frame = 0
while True:
    text = f.readline()
    if text == '':
        break
    if 'MohoSwitch1' in text:
        print ("Start")
    else:
        my_Frame, my_Vise = text.split()


Creator of the free website:
PixelDatabase.Net
A Free Online Text Based Image Editor
https://forum.reallusion.com/uploads/images/6e6663e2-0ecf-447a-ab3d-d49d.png

Kelleytoons
Kelleytoons
Posted 6 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (37.8K reputation)Distinguished Member (37.8K reputation)Distinguished Member (37.8K reputation)Distinguished Member (37.8K reputation)Distinguished Member (37.8K reputation)Distinguished Member (37.8K reputation)Distinguished Member (37.8K reputation)Distinguished Member (37.8K reputation)Distinguished Member (37.8K reputation)

Group: Forum Members
Last Active: Last Year
Posts: 9.2K, Visits: 22.1K
No, it's no insider version, DJ.  You just need to download the latest from the Python thread here (they show the last candidate as 2/27, which you don't have, but note there is another one coming in April as well):

https://forum.reallusion.com/399188/Basic-Samples-Request-Thread-iClone-Developer-Edition






Alienware Aurora R16, Win 11, i9-149000KF, 3.20GHz CPU, 64GB RAM, RTX 4090 (24GB), Samsung 870 Pro 8TB, Gen3 MVNe M-2 SSD, 4TBx2, 39" Alienware Widescreen Monitor
Mike "ex-genius" Kelley
Data Juggler
Data Juggler
Posted 6 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (13.9K reputation)Distinguished Member (13.9K reputation)Distinguished Member (13.9K reputation)Distinguished Member (13.9K reputation)Distinguished Member (13.9K reputation)Distinguished Member (13.9K reputation)Distinguished Member (13.9K reputation)Distinguished Member (13.9K reputation)Distinguished Member (13.9K reputation)

Group: Forum Members
Last Active: 9 Months Ago
Posts: 1.8K, Visits: 5.6K
Kelleytoons (3/18/2019)
My gut tells me you aren't using the latest iClone (the last Python version was about two weeks ago).  You will need to install the latest to have any of my scripts work (well, it's ALWAYS better to install the latest).

7.41.2529.1 is the earliest version you should be using.

You must be part of an IClone insider program, because I have the latest according to this, and it is 7.41.2525.

I guess I will just have to wait.

https://forum.reallusion.com/uploads/images/a4c0be32-c00c-4fbe-86e6-764d.png

Creator of the free website:
PixelDatabase.Net
A Free Online Text Based Image Editor
https://forum.reallusion.com/uploads/images/6e6663e2-0ecf-447a-ab3d-d49d.png

Kelleytoons
Kelleytoons
Posted 6 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (37.8K reputation)Distinguished Member (37.8K reputation)Distinguished Member (37.8K reputation)Distinguished Member (37.8K reputation)Distinguished Member (37.8K reputation)Distinguished Member (37.8K reputation)Distinguished Member (37.8K reputation)Distinguished Member (37.8K reputation)Distinguished Member (37.8K reputation)

Group: Forum Members
Last Active: Last Year
Posts: 9.2K, Visits: 22.1K
My gut tells me you aren't using the latest iClone (the last Python version was about two weeks ago).  You will need to install the latest to have any of my scripts work (well, it's ALWAYS better to install the latest).

7.41.2529.1 is the earliest version you should be using.



Alienware Aurora R16, Win 11, i9-149000KF, 3.20GHz CPU, 64GB RAM, RTX 4090 (24GB), Samsung 870 Pro 8TB, Gen3 MVNe M-2 SSD, 4TBx2, 39" Alienware Widescreen Monitor
Mike "ex-genius" Kelley
Data Juggler
Data Juggler
Posted 6 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (13.9K reputation)Distinguished Member (13.9K reputation)Distinguished Member (13.9K reputation)Distinguished Member (13.9K reputation)Distinguished Member (13.9K reputation)Distinguished Member (13.9K reputation)Distinguished Member (13.9K reputation)Distinguished Member (13.9K reputation)Distinguished Member (13.9K reputation)

Group: Forum Members
Last Active: 9 Months Ago
Posts: 1.8K, Visits: 5.6K
I finally had the time to try Python tonight, and I got an error on my first attempt at slithering, so kind of disappointing.

It took me a while to figure out Papagayo, but once I did I would pay IClone $100 to upgrade the audio and add an interface like this.

I tried to run the python script, but I get an error:

<class 'AttributeError'>, File: C:\Program Files\Reallusion\iClone 7\Bin64\RLPy.py, Line: 80

I opened the file above, and on line 80 just raises some previous error, but that is about all I can tell by looking:

 raise AttributeError("'%s' object has no attribute '%s'" % (class_type.__name__, name))


All I can tell by looking at Python from my first 5 minutes, is Visual Studio thinks Python is a third class citizen as when you open a Python File with VS with Python installed, you still have to go to File Open and reopen the file because attempting that from Windows and nothing happens.

This could be due to VS 2019's new start menu is horrible.

Anyway, I don't know what to do to resolve the error, so I am going to give up on animating and stick to wrestling sharks, aerial cart wheels and other easier tasks that I know how to do.

I was all excited after conquering Papagayo. 






Creator of the free website:
PixelDatabase.Net
A Free Online Text Based Image Editor
https://forum.reallusion.com/uploads/images/6e6663e2-0ecf-447a-ab3d-d49d.png

Data Juggler
Data Juggler
Posted 6 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (13.9K reputation)Distinguished Member (13.9K reputation)Distinguished Member (13.9K reputation)Distinguished Member (13.9K reputation)Distinguished Member (13.9K reputation)Distinguished Member (13.9K reputation)Distinguished Member (13.9K reputation)Distinguished Member (13.9K reputation)Distinguished Member (13.9K reputation)

Group: Forum Members
Last Active: 9 Months Ago
Posts: 1.8K, Visits: 5.6K
Thanks, I didn't read the description.

I will dive in as soon as I get the chance.

Creator of the free website:
PixelDatabase.Net
A Free Online Text Based Image Editor
https://forum.reallusion.com/uploads/images/6e6663e2-0ecf-447a-ab3d-d49d.png

3dtester
3dtester
Posted 6 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (5.1K reputation)Distinguished Member (5.1K reputation)Distinguished Member (5.1K reputation)Distinguished Member (5.1K reputation)Distinguished Member (5.1K reputation)Distinguished Member (5.1K reputation)Distinguished Member (5.1K reputation)Distinguished Member (5.1K reputation)Distinguished Member (5.1K reputation)

Group: Forum Members
Last Active: 6 Months Ago
Posts: 999, Visits: 2.2K
Pretty awesome stuff, although currently beyond my scope ;)
I will surely check this out at a later time.
Thanks guys!






1
2



Reading This Topic