Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Everything you need to test your StepMania sync with a Raspberry Pi Pico. (or anything else you need a 625bpm repeated keypress for.)

License

Notifications You must be signed in to change notification settings

sukibaby/stepmania-sync-tester

Repository files navigation

Pi Pico Based StepMania Sync Tester

This is based off TomoDesigns' "Super Easy Pico Keyboard"

Everything you need to test the input sync stability of your StepMania (or other rhythm game engine) setup is provided here. This has been tested to be as accurate as 0.2ms std dev * 3.

All you need is a Raspberry Pi Pico and a microUSB cable which does data. Use GitHub's "download as ZIP" feature to get everything you need easily.

625BPM_SYN_2024-05-03_220500

The Pi Pico settles in at just about 625 BPM when you have it loop every 90ms and simulate a keypress. This is configured to send P2 Up, which is usually set by default to "8" on the number pad. A silent ogg file and .sm file containing 12 minutes of up arrow 16th notes at 156.25BPM is included.

The normal version Main.py can be controlled completely from your computer. The alternate version Main-switched.py assumes you connected a switch between 3V3 and GP10 on your Pi Pico.

Prerequisites

You will need something to run the software on the Pico. Thonny is a good option. The version provided here is tested and works, or it can be downloaded from Thonny's GitHub here: https://github.com/thonny/thonny/releases/download/v3.3.13/thonny-3.3.13.exe

How to set up

  1. Plug in the Pi Pico while holding down the BOOTSEL button. It should appear as a USB drive. Drag adafruit-circuitpython-raspberry_pi_pico-nl-7.3.0.uf2 onto the Pico's storage. It will disconnect, reboot, and reconnect.
  2. Copy the folder adafruit_hid to the Pico's storage.
  3. Open Thonny. When it asks you if you want to use Normal or Raspberry Pi mode, stay on Normal mode. You may have to hit the "Stop" button (Stop/restart backend) to get your Pi Pico to be recognized.
  4. Load Main.py in Thonny. When you are ready to send the input, press the start button (or toggle the switch if you loaded Main-switched.py)
  5. Make a folder in your StepMania's Songs directory called anything you'd like to call it, and then put the folder "625bpm sync test" in there. It will show up in your song list as "625bpm sync test".

Note on accuracy

Something with either the Pico or adafruit_hid library causes a very slight offset every 10 minutes. Please take this into account if you are going to use this to test for 10 minutes or more. Example: 625BPM_SYN_2024-05-02_233341

About

Everything you need to test your StepMania sync with a Raspberry Pi Pico. (or anything else you need a 625bpm repeated keypress for.)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages