Skip to main content

Hey Stella

Voice control for the Atari 2600. Say "left" and the console sees a joystick pushed left.

This package is the host program. It listens to a microphone, recognises the words in a game profile, and turns them into joystick actions. Those go to the Stella emulator as key presses, or to a small build-it-yourself dongle that plugs into a real console's joystick port.

Early software. It works with typed input and recorded speech. It has not been tried with a live microphone yet, no dongle has been built, and nothing has touched a real console. Expect rough edges and please report them.

Install

pipx install "heystella[all]"

or with pip:

pip install "heystella[all]"

Python 3.11 or newer. The extras are optional:

Extra Adds For
voice vosk, sounddevice Speech recognition from a microphone
keys pynput Pressing keys in the Stella emulator
serial pyserial Talking to the dongle over USB

A plain pip install heystella has no dependencies and can still run profiles from typed input. On Linux the microphone needs PortAudio, for example sudo apt install libportaudio2.

Use

heystella --list                            # the game profiles that come with it
heystella pitfall --input text              # type phrases, see what the joystick does
heystella pitfall                           # speak, see what the joystick does
heystella pitfall --backend keys            # speak, and press keys in Stella
heystella pitfall --backend serial:/dev/ttyACM0    # speak, and drive the dongle
heystella my-game.toml --input wav:take.wav # test your own profile against a recording

The first spoken run downloads a 40MB speech model to ~/.cache/vosk. After that everything runs offline.

Game profiles

A profile is a short TOML file that says what each spoken word does in one game.

[game]
title = "Space Invaders"

[profile]
author = "your-name"
mode = "joystick"

[words]
left = { hold = ["left"] }
right = { hold = ["right"] }
stop = { release = "all" }
fire = { tap = ["fire"], aliases = ["shoot"] }

Five starter profiles are included. To write your own, pass the path to your .toml file in place of a profile name.

More

The hardware design, the token protocol for homebrew games, a test ROM and the project plan are in the repository.

MIT licence. Atari and Atari 2600 are trademarks of their owner. Stella is also the name of an emulator, which this project works with and is not part of. No connection to either.

Metadata

Release files for heystella 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for heystella 0.1.0
File Size Uploaded Provenance Actions
heystella-0.1.0.tar.gz 17.8 kB Without provenance Details for heystella-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for heystella 0.1.0
File Interpreter ABI Platform Actions
heystella-0.1.0-py3-none-any.whl Python 3 none any Details for heystella-0.1.0-py3-none-any.whl

Total release size: 38.6 kB

Release files / heystella-0.1.0.tar.gz

Download URL heystella-0.1.0.tar.gz
Size 17.8 kB
Tags Source
SHA-256 checksum
How to use checksums
b2575ce69553c90590a3cba748b449c2e76aa5dc693feff8c5ba8f5e91fe0e55
BLAKE2b-256 checksum
How to use checksums
270652b1bf90d80d607a70c044e6523418e3940d5452599ea19aeece2c4c482c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.0

Release files / heystella-0.1.0-py3-none-any.whl

Download URL heystella-0.1.0-py3-none-any.whl
Size 20.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
120d20798bfb0624b520b598dc362e99bae63ecb3406acfb5a92a1448a379d4b
BLAKE2b-256 checksum
How to use checksums
0175737a9a9020ae47df9f48774acd6d4ecddc89553a3ddd72084d284d52e482
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.0

Security for heystella 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page