-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|46|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-




spinal

Machine Made Max

30th March 2023

Hell, it's worse than that. The idea wont work. Main problem TTS doesn't work properly. It cuts out atfer 14 seconds then will not work again until the browser is closed and reopened.


spinal

Machine Made Max

30th March 2023

Giving javascript a try...
[code]
<!DOCTYPE html>
<html>
<head>
<title>My Page</title>
<script src=&quot (Linkage)
<script src=''code.js''></script>
</head>
<body>
&lt*snip*


spinal

Machine Made Max

30th March 2023

Stole it


spinal

Machine Made Max

30th March 2023

Isn't it a shame that text to speech can't do regional accents...


spinal

Quantum Leap - 2022

30th March 2023

Just got around to watching episode 1.
Don't know what I expected, of if that was it, but I'll gove the rest a chance.


spinal

Machine Made Max

28th March 2023

So far, when it comes to running it on my phone..... fail. There seems to be an issue with TTS engines in android python.


spinal

Machine Made Max

27th March 2023

I now have the window resizable, I just need a way to make using it more natural, voice command maybe.
Then there is trying to run it on my phone 🤔


spinal

Picard Season Three

25th March 2023

There's literally nothing but easter eggs in this season.


spinal

Covid 23

24th March 2023

Got it myself this year too, nice birthday present. No worse than last time though, just a bit bunged up, not sleeping so good though.


spinal

Machine Made Max

23rd March 2023

Here is the latest version, with a little better glitching...
(Linkage)


spinal

Happy Birthday, Spinal

23rd March 2023

Thanks guys! Full day of relaxing ahead!


spinal

Machine Made Max

21st March 2023

Adjusted the face layer, to be slightly larger than the window so that the hair doesn't get clipped. I think I've managed to detect the stuttering, just need a good looking way to express it visually. Also added blinking, this is done randomly.
[e*snip*


spinal

Machine Made Max

21st March 2023

This code *nearly* detects the glitches, but weirdly not always. Thats a puzzle.
[code]
'''
To install more voices (they WILL be needed)
Open Regedit and navigate to Computer\\HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Speech_OneCore\\
Right clic*snip*


spinal

Machine Made Max

20th March 2023

In theory, yes, in practice....
This is a mess...
[code]
def stutter_text(text):
# Split the text into sentences
sentences = re.split(''(?<!\\w\\.\\w.)(?<![A-Z][a-z]\\.)(?<=\\.|\\?)\\s(?![0-9])'', text)
#print(text)
# put a*snip*


spinal

Machine Made Max

20th March 2023

Changed the mouth, fixed the animation speed (for the mouth).


spinal

Machine Made Max

20th March 2023

I assume there's plenty of time to bung it in an array or something. Are you thinking maybe averaging the data over 500/fps frames or something?
[edit] no wait, thats worse.
[edit agian]
Fixed...
just moved the mouth sizing code to the buffer copy *snip*


spinal

Machine Made Max

20th March 2023

Currently its this...
[code]
# Draw the mouth
M1 = mouth
if M1 > M: M = M1
# M/13107
frame = int(M/2500)
M=M-32
if M<1024: M=1024
[/code]
[code]
if frame == 0:
bu*snip*


spinal

Machine Made Max

20th March 2023




spinal

Machine Made Max

20th March 2023

Currently, the eyes (ouline, pupils and whites), nose, ears, hair, face outline and mouth are all draw to a layer, then that layer is drawn to the screen. I did this so that I could rotate it as a single image rather than all the maths being done for every*snip*


spinal

Machine Made Max

19th March 2023

Yes, but if he's talking the frame rate drops so low that his mouth stops moving 😅


spinal

Machine Made Max

19th March 2023

Anyone got any better ideas for an idle animation?


spinal

Machine Made Max

19th March 2023

OK, I did not expect this to work as well as it is doing...
(Image.gif)
Stole, edited and traced some face parts from (Linkage)
No idea how I'm going to manage to do the hair though, I guess it will take multiple layers.


spinal

Machine Made Max

19th March 2023

Oh, that was real, but its just a static image with a 5 frame mouth. I want to move the head around.


spinal

Machine Made Max

19th March 2023

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 &quot*snip*


spinal

Machine Made Max

17th March 2023

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 &quot*snip*

More - Older Posts