NOTES FROM ORBIT
Thoughts,
experiments & discoveries.
Things I learn, things I review, and notes from along the way.
Local music generation with ACE-Step 1.5: text to music
The DiT and 5Hz language model architecture, 8 steps with the turbo model, the Python API, BPM, key and duration parameters, cover and repaint modes, provenance records, WAV to MP3 and importing into a game.
Local image generation with FLUX.1 schnell and stable-diffusion.cpp
The Apache-2.0 FLUX.1 schnell model, stable-diffusion.cpp with GGUF quantization, four-step sampling, seeds and generation records, img2img and chroma-key background removal.
.NET sockets: TCP framing and LAN discovery over UDP
Length-prefixed TCP frames, the Nagle algorithm and NoDelay, a Channel write queue, connect timeouts, UDP directed broadcast and error 10054 on Windows.
Procedural audio: PCM samples, WAV files and Godot audio buses
Sample rate and PCM, phase-accumulating oscillators and envelopes, seeded noise and one-pole filters, click-free loops, the RIFF/WAV header, decibels and AudioServer buses.
Godot InputMap and gamepads: actions, axes and device switching
Defining actions in code, PhysicalKeycode, GetVector and deadzones, positional JoyButton values, switching between keyboard and gamepad, _UnhandledInput and testing with synthetic input.
Offline signed license verification with ECDSA P-256
Asymmetric signatures instead of HMAC, a base64url signed document, IEEE P1363 and DER signature formats, PEM keys, installation binding and Crockford Base32 for hand-typed keys.