Pokey Explorer 1.0 Lets You Sweep Every POKEY Register Combination
On 14 October 2020 ivop released Pokey Explorer 1.0, a program that runs on the Atari itself and lets you explore all the register combinations of the POKEY sound chip that affect what you hear. It grew out of a long AtariAge discussion about non-standard POKEY settings. The release came with source code and a short manual.
What it does
Instead of trying one value at a time from BASIC, Pokey Explorer plays sweeps: a sequence of frequency values for a given set of AUDCTL and AUDCx settings, with adjustable play time and gap between notes. That makes it practical to listen through big areas of POKEY's sound space, such as joined 16-bit channels, clock combinations and the high-pass filter, and to note which settings give clean or musically useful tones.
The program comes in separate PAL and NTSC builds, because both the sweep timing and the resulting note tuning differ between the two video standards.
Version 1.1
After user feedback (the first complaint was that you couldn't stop a running sweep), Pokey Explorer 1.1 followed in November 2020 with:
- 16-bit intervals for sweeps, needed to step two linked channels together;
- hold START to stop a running sweep (it responds within one play-plus-gap cycle, at most about five seconds);
- batch processing: special builds that run a list of sweeps from a source file with no user input, so you can record long sessions overnight. The author suggested recording the output, splitting it with a script and running the pieces through a pitch detector to build tuning tables automatically.
What people found with it
The thread quickly became a small research project. One user documented the high-pass-filter mode AUDCTL=$64 with AUDC1=$Ax and channels 1 and 3 clocked at 1.79 MHz. Offsetting the two frequency registers slightly produces sawtooth-like waveforms, and the group worked out which offsets stay in tune and which add unwanted whistle tones, aiming for usable note tables. This kind of work feeds directly into modern trackers and game sound drivers. One participant said he planned to use the results in a game project.
Getting it
The thread provides pokeyexp-v1.x-ntsc.xex and -pal.xex executables, plus batch builds for 1.1. The source and manual are linked from the release posts. The author noted it was made to run even on a 16 KB machine.
Credits
- AtariAge — Pokey Explorer v1.0 release — AtariAge forum members
- AtariAge — Pokey Explorer v1.1 release — AtariAge forum members
