123
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|138|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> AI Threads -> Machine Made Max

Page : 1 Prev 2 3 Next 4 5 6 7 8
Fri, 10 Mar 2023, 13:53
cyangames
That's really cool spinal, nice work! Reminds me I need to finish up that Raspberry PI project sometime, err, along with everything else, ha!

-=-=-
Web / Game Dev, occasionally finishes off coding games also!
Fri, 10 Mar 2023, 14:16
cyangames
Slightly related, have been chatting to the M3GAN bot via DM on twitter, much fun <3 I do love robo waifus

-=-=-
Web / Game Dev, occasionally finishes off coding games also!
Mon, 13 Mar 2023, 05:40
spinal
I think I need to take some time an start a second thread on this max headroom topic.

I managed to get the Google text to speech working to see if a different voice would sound better. But they have less options available, still stuck with female, can only convert to MP3, so other parts of the code are incompatible, so I had to introduce MP3 to wav conversation using ffmpeg. That slowed everything down, and although the voice is more natural sounding, it doesn't work as good.

-=-=-
Check out my excellent homepage!
Mon, 13 Mar 2023, 07:42
Jayenkai
Good grief!!
Mon, 13 Mar 2023, 11:46
spinal
Here is the google tts test...

2023/11/maxine_headspace_google_tts (.mp3)

More natural, but more wrong.

-=-=-
Check out my excellent homepage!
Mon, 13 Mar 2023, 12:33
Jayenkai
Hmmm. I'm not really sure on the b-b-best way to go go go go about it, if I'm honest-t-t-t-t-t-t-taaa.

-=-=-
''Load, Next List!''
Mon, 13 Mar 2023, 14:25
spinal
I think I need to use the same trick for the stutter that I'm using for the normal speech. I'm adding an extra word of a known length to then, then trimming it from the converted file, so the TTS engine doesn't assume it's at the end of a sentence.

-=-=-
Check out my excellent homepage!
Mon, 13 Mar 2023, 22:36
Jayenkai
That sounds like a good way to do it.
Have you experimented with pitch-shifting, too? Obviously, you'll want to do this to some of the stutters, but I wonder how different it might sound if the voice's pitch was reduced significantly, then scaled back up by pitch-shifting the audio, later?

-=-=-
''Load, Next List!''
Tue, 14 Mar 2023, 00:36
spinal
Pitch shifting might be a pain, it doesn;t look possible to adjust the pitch mid sentence, so each word would have to be adjusted the same way as the stutter. First I want a text to speech engine that is (A) not too slow (B) has a range of voices that are easy to set up and © free.

-=-=-
Check out my excellent homepage!
Tue, 14 Mar 2023, 01:24
Jayenkai
> Reveal 🔎

How about the Microsoft internal voices? Are those any use?

-=-=-
''Load, Next List!''
Tue, 14 Mar 2023, 11:07
spinal
I've just managed to get the microsoft voices working correctly, turns out the python tts engine looks for them in a different place to where they are (now?) you have to installthem through the narrator options in control panel, then go into regedit, export the settings, change the path, import them again.

Now I have all the english voices ready for testing.

-=-=-
Check out my excellent homepage!
Tue, 14 Mar 2023, 11:15
Jayenkai
Woohoo!
Tue, 14 Mar 2023, 15:52
spinal
I think I've got the speaking much closer to what I'm aiming for...

2023/11/max_test_14_3_23 (.mp3)




-=-=-
Check out my excellent homepage!
Tue, 14 Mar 2023, 15:58
Jayenkai
Cool That's working really nicely!
Wed, 15 Mar 2023, 09:58
spinal
2023/11/max_test_15_3_23 (.mp3)

👍

-=-=-
Check out my excellent homepage!
Wed, 15 Mar 2023, 10:14
Jayenkai
Yup!
Thu, 16 Mar 2023, 03:26
spinal
Got gfx doing something!

Don't fall off your chair at the complexity of the CGI...


View on YouTube

-=-=-
Check out my excellent homepage!
Thu, 16 Mar 2023, 03:30
Jayenkai
... Needs to be a taller head with some hair, I think. Looks more like Zippy!!
At least the lip-sync kinda works.

Keep going

-=-=-
''Load, Next List!''
Thu, 16 Mar 2023, 06:07
Jayenkai
*moves thread to it's own... .. thread*
If you spot any irregularities in the selection of posts that I've moved over into this thread, please do let me know.

-=-=-
''Load, Next List!''
Fri, 17 Mar 2023, 04:57
spinal
Next update will be a little better, I just added openAI.
FYI, it's bloody useless, unless you just want it to spout random nonsense. I believe it's possible to access Google assistant from python, but I bet it's difficult with lots of hoops to jump through and a fee of some sort.

-=-=-
Check out my excellent homepage!
Fri, 17 Mar 2023, 05:43
Jayenkai
Sounds like you're almost there,

I wonder why OpenAI haven't yet added speech and faces?

-=-=-
''Load, Next List!''
Fri, 17 Mar 2023, 14:04
spinal

View on YouTube
Fri, 17 Mar 2023, 15:31
Jayenkai
Daaamn...
And you only started this last Sunday in a language you hadn't previously used??!
See, now THIS is the power of AI
It's about using it, and learning with it.
Fantastic!!!

-=-=-
''Load, Next List!''
Fri, 17 Mar 2023, 15:54
spinal
I had used micropython a couple of years ago, but all I can really remember is that python is basic-ish and uses indents for loops and IFS instead of curly brackets.

As for me learning, that isn't really happening. It's a case of tell the AI "I want to do xyz", the AI then spits out some code, I run it, it fails, I tell it, it gives me another idea. It's just a faster way to Google something.

[Edit] oh, wow, pyhton has a Wikipedia API.....

-=-=-
Check out my excellent homepage!
Sun, 19 Mar 2023, 07:39
spinal
OK, now that I have speach working quite well, I need to work on the face some more.
So after a few attempts to get chatGPT to draw me some simple concentric circles that are layered and move in parallax according to the mouse x location, with a few "no that's wrong" and rewording the question a few times, then eventually manually moving a couple of lines of code around, I got this...



This is going to be the basis for the face movement animation, essentially 2d layers that can move around to give the effect of a well drawn face...

-=-=-
Check out my excellent homepage!
Page : 1 Prev 2 3 Next 4 5 6 7 8