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




spinal

SpinalWatch

5th July 2023

[code]
int listMax = sizeof (menuText) / sizeof (menuText[0]);
int listStart = menuItem - 2;
if(listStart<0) listStart=0;
int listEnd = listStart+4;
if (listEnd>listMax) {
listEnd=listMax;
listStart=listEnd-4;
if(listSta*snip*


spinal

SpinalWatch

5th July 2023

bloody hell, I've forgot how to do a simple scrolling menu...
My brain can't see whats wrong here :-(
[code]
int listMax = sizeof (menuText) / sizeof (menuText[0]);
int listStart = menuItem - 2;
if(listStart<0) listStart=0;
int lis*snip*


spinal

Machine Made Max

25th May 2023

trying a 'simpler' way. got Poe trying to create a 3d texture with a loaded image on it, then rotate it. So far so good....
Then getting Poe to add a background texture falls flat on its face. Just a white square, seemingly nothing wrong with the *snip*


spinal

Machine Made Max

12th May 2023

Arduino code snippet to read the GY-271 magnetometer and a GY-521 accelerometer values.
[code]
#include <Wire.h>
const int MPU_ADDR = 0x68; // I2C address of MPU-6050
const int MAG_ADDR = 0x0D; // I2C address of QMC5883L
int16_t gyro_x, gyro_y, *snip*


spinal

Mystify...

6th May 2023

As I am making a start on the backgrounds for Max FPS, I'll plonk them in the forum here. The first is a basic 'Mysstify' screenaver type thingy.
[code]
Const SCREENX=800 ; 2 Const for the set Resolution
Const SCREENY=600 *snip*


spinal

Machine Made Max

26th April 2023

I think it's time to ask some real people if they can see what I'm doing wrong or inefficiently...
[code]
def stutter_text(text):
# Split the text into sentences
sentences = re.split(''(?<!\\w\\.\\w.)(?<![A-Z][a-z]\\.)(?<=\\.|\\?*snip*


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

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

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

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

14th March 2023

I think I've got the speaking much closer to what I'm aiming for...
2023/11/max_test_14_3_23 (.mp3)
[code]
'''
To install more voices (they WILL be needed)
Open Regedit and navigate to Computer\\HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft*snip*


spinal

Machine Made Max

10th March 2023

It's getting better...
[code]
import random
import time
import wave
import tempfile
import os
import numpy as np
import pyttsx3
import pyaudio
import re
#from datetime import datetime
#random.seed(datetime.now().timestamp())

def spea*snip*


spinal

Machine Made Max

8th March 2023

[code]
import random
import time
import wave
import tempfile
import os
import numpy as np
import pyttsx3
import pyaudio
def speak(text):
# Initialize the text-to-speech engine
engine = pyttsx3.init()
# Set the text-to-speech paramet*snip*


spinal

Machine Made Max

5th March 2023

Don't know, I have no idea what it's doing :-D
[code]
import pyttsx3
import random
import time
import numpy as np
import wave
import playsound
# Initialize the TTS engine with the default voice
engine = pyttsx3.init()
# Get the user input*snip*


spinal

Machine Made Max

5th March 2023

socoder.net
Getting there.
[code]
import pyttsx3
import random
import time
import numpy as np
import wave
import playsound
# Initialize the TTS engine with the default voice
engine = pyttsx3.init()
# Get the user input
text = input(''Enter *snip*


spinal

SmileBASIC Switch - Sale

20th February 2023

hmmmm.... I can see that something is wrong here.... but what?
Blitz3D = Nice dithery gradient
[code]
Graphics 1280,720,0,2
r1=27
g1=114
b1=210
r2=21
g2=91
b2=163
width = 1280
For y = 0 To 720
For x=0 To width
r = r1 + (x * (r2-r1) / width)*snip*


spinal

SmileBASIC Switch - Sale

18th February 2023

OK this 'use the joystick' idea has me confused...
I have
[code]
uint8_t joyLookUp[]={0,85,170,255};
// myData = 1 byte (0-255) being read from a file
ReportData->LX = joyLookUp[(myData>>6)&3];
ReportData->LY = joyLookUp[(myDa*snip*


spinal

Anyone any good at java?

4th January 2023

[code]
For n = 0 to 2
? ''Those were the days''
Next n
[/code]


spinal

Anyone any good at java?

4th January 2023

OK, maybe a bit further, changed the ext.kotlin_version to 1.7.0 in build.gradle...
[code]
buildscript {
ext.kotlin_version = '1.7.0'
[/code]
[edit] OK, a little further, but still completely lost...
[code] lateinit var bleManager: Ble*snip*


spinal

N64 Controller Project...

3rd October 2022

I'm 50% sure I have, but I can't find anything on myhard drive other than the usb adapter part, and that didn't support rumble.
I did also do a PS2 to N64 adapter, and I remember doing a Wii to N64 adapter also.
And here be a list of distance*snip*


spinal

N64 Controller Project...

2nd October 2022

Here is the Arduino code for my N64 joystick replacement. It should work fine on any Arduino compatible device, just wire up the potentiometer outputs the the defined pins in the code and you're good to go.
Question 1 - Why?
Because both replacemtn a*snip*


spinal

Too many parameters!!!???

22nd September 2022

OK, odd problem, this code was working fine, no issues at all, I was just about to post it here and go, ''Here guys this is the latest waste of time I did...'' when bam! it suddently stopped working!
Apparently there are now ''Too Many Paramet*snip*


spinal

SmileBASIC Switch - Sale

25th August 2022

Arduino part driving me crazy again.
[code]
if(digitalRead(DPAD_DOWN)==LOW){
while(digitalRead(DPAD_DOWN)==LOW){;}
fileNumber++;
updateList=true;
}else if(digitalRead(DPAD_UP)==LOW){
while(digitalRead(DPAD_UP)==LOW){;*snip*


spinal

SmileBASIC Switch - Sale

1st August 2022

Screenshots to the rescue!
(Image.png)
Invert colours, reduce palette, Online OCR, cleanup...
[code]
' MAIN. PRGw
GCLS
CLS
XSCREEN 1280,720,1,2
'GTarget 4
'PRINT “MAKING RANDOM BACKGROUND''
'GTARGET 4
'FOR Y = 6 T*snip*

Newer Posts More - Older Posts