Go to file
2022-04-19 22:30:39 -07:00
docs added readme 2022-04-19 22:30:39 -07:00
etc initial import from old hard drive 2022-04-19 16:17:20 -07:00
img initial import from old hard drive 2022-04-19 16:17:20 -07:00
midi got sound working using <audio /> and ogg 2022-04-19 21:46:07 -07:00
songs initial import from old hard drive 2022-04-19 16:17:20 -07:00
sound initial import from old hard drive 2022-04-19 16:17:20 -07:00
.gitignore initial import from old hard drive 2022-04-19 16:17:20 -07:00
bass_1.php initial import from old hard drive 2022-04-19 16:17:20 -07:00
bass_2.php initial import from old hard drive 2022-04-19 16:17:20 -07:00
createmidi.php initial import from old hard drive 2022-04-19 16:17:20 -07:00
functions.js got sound working using <audio /> and ogg 2022-04-19 21:46:07 -07:00
index.php fixed centering of forms 2022-04-19 22:19:32 -07:00
lead_1.php initial import from old hard drive 2022-04-19 16:17:20 -07:00
lead_2.php initial import from old hard drive 2022-04-19 16:17:20 -07:00
README.md added readme 2022-04-19 22:30:39 -07:00
saw_1.php initial import from old hard drive 2022-04-19 16:17:20 -07:00
saw_2.php initial import from old hard drive 2022-04-19 16:17:20 -07:00
square_1.php initial import from old hard drive 2022-04-19 16:17:20 -07:00
square_2.php initial import from old hard drive 2022-04-19 16:17:20 -07:00
style.css initial import from old hard drive 2022-04-19 16:17:20 -07:00

A thing I wrote in January 2007 to write music for the Atari 2600. I generated MIDI files and used the pitch bend MIDI controller to adjust each pitch to what the Atari 2600 can output. There was some giant document that listed all the frequencies for each distortion that the Atari 2600 could emit, and I used that to generate MIDI files for each pitch. 15 years later I converted them to ogg so that modern browsers could handle them.

What fun!

Running this thing

  1. Install PHP
    • This was written in 2007 so that's like PHP 5.2 or something, but I tested it in 2022 on PHP 8.1.4 and somehow it all still works. It seems impossible but it did.
  2. Run /path/to/php -S localhost:9999 from this directory
    • On Windows it'll be /path/to/php.exe. Thread safety shouldn't matter so download either version.
  3. Visit http://localhost:9999/ in your browser

screenshot