PhosphorALE — Decoder Test Results

Accuracy testing of the PhosphorALE 2G ALE decoder against the error-correcting code itself, published test vectors, a synthetic corpus and real over-the-air recordings. The test tool runs exactly the same decoder code as the app — same code, same output. Results below are from the current build, November 2026.

What is tested

Self-test

CheckResult
Golay weight distribution 1, 759, 2576, 759, 1, the extended Golay code's ownPASS
All 2,325 error patterns of weight 0 to 3 corrected on all 4,096 codewordsPASS
100,000 random weight-4 patterns refused, none miscorrectedPASS
Codec round trip on 20,000 random wordsPASS
Any one wrong symbol outvoted, 5,000 wordsPASS
Sounding, call, AMD, termination and group frames parsedPASS
Every word of a sounding, a call and a 13-word message heard at every SNR from clean to −6 dB, and at 0, +40, −90 and +130 Hz off tunePASS
Ten minutes of noise, no word decodedPASS

Published test vectors

The 42 vectors of ale-core, synthesised by openALE's transmitter, each with the words sent and the decode of the KiwiSDR ALE_2G decoder on the same file. Words correct over words sent, and false words reported. SNR in the vector names is in a 3 kHz band.

VectorSentPhosphorALEFalseKiwiSDR ALE_2GFalse
sound_twas_dg6fl88087
sound_tis_dl1abc66060
sound_twas_long15150150
call_dl1abc10100102
response_dg6fl66063
ack_dl1abc66062
termination_dl1abc66061
call_lqa99091
call_amd18180183
allcall66066
anycall66062
netcall_hfn88082
handshake22220224
link_terminate28280284
sound_twas_dg6fl_snrp1088087
sound_twas_dg6fl_snrp088082
sound_twas_dg6fl_snrm488083
sound_twas_dg6fl_snrm788040
call_amd_snrp1018180183
call_amd_snrp018180172
call_amd_snrm418180182
call_amd_snrm71818010
handshake_snrp1022220225
handshake_snrp022220224
handshake_snrm422220181
handshake_snrm72221030
sound_twas_dg6fl_shiftp12588087
sound_twas_dg6fl_shiftm25088087
sound_twas_dg6fl_shiftp6088087
noise_only00000
mix00_ack_dl1abc66062
mix01_call_lqa99070
mix02_ack_dl1abc66010
mix03_call_amd18180180
mix04_ack_dl1abc66062
mix05_call_dl1abc10100102
mix06_response_dg6fl66061
mix07_sound_twas_dg6fl88085
mix08_response_dg6fl66000
mix09_ack_dl1abc64000
mix10_termination_dl1abc66040
mix11_call_amd18180183
Total4754720409102

The three words missed are in handshake_snrm7 and mix09_ack_dl1abc, at about −7 dB, where KiwiSDR heard 3 and 0.

Synthetic corpus

Soundings, calls, messages and terminations written by PhosphorALE's own encoder at seven noise levels and four tuning offsets (0, +70, −180 and +330 Hz), 144 words at each level. SNR here is measured across the whole 4 kHz audio band, so it reads about 1 dB lower than the same signal measured in 3 kHz.

SNRWords correctFalse
Clean144 / 1440
+10 dB144 / 1440
+3 dB144 / 1440
0 dB144 / 1440
−3 dB144 / 1440
−6 dB144 / 1440
−9 dB108 / 1440
Two minutes of noise0 / 00

Real-world recordings

Publicly available recordings of live ALE traffic, decoded at the app's default settings. These are over-the-air captures — no cleanup, no SNR preconditioning. There is no record of what was sent, so the decodes are shown as heard.

RecordingDecoded
Individual call (Leif Dehio, signals.taunus.de) CALL BATZ → HOUAT
Sounding (same source) SOUND BLE
AMD message (same source) MSG ANK → BRA "OK IDEM NA TO"
Data block message, DBM (same source) The call, sounding and response around the data block: CALL DKL → BLP, SOUND DKL, CALL BLP → DKL
Data text message, DTM (same source) The call and its French text, including COMMSTAT JOURNALI, DE : CPL MAYRA and FONCTIONNEL
Linking protection (same source) SOUND A41, and nothing false from the protected words
Off-air call, 350 Hz off tune (radioscanner.ru signal base) CALL 762 → 768, found by automatic tuning

Protected words are encrypted by design and show as partial frames. The DTM text is shown as transmitted, with its own errors.

Download Test File

A clean test sequence written by PhosphorALE's own encoder: a sounding, a call, an AMD message and a link termination between two stations, ALPHA1 and BRAVO2, repeated three times. Play it from any audio source near the device's microphone to test the app without a receiver.

FileDescriptionSize
phosphorale_test.wav54 s — 12 frames, 108 words expected~870 KB

Expected result on DECODE, three times over:

SOUND  ALPHA1 TIS
CALL   ALPHA1 TIS  →  BRAVO2
MSG    ALPHA1 TIS  →  BRAVO2
       "PHOSPHORALE TEST"
TERM   ALPHA1 TWAS  →  BRAVO2

Every word decodes with 48 of 48 votes and no corrected errors when the file is decoded directly. Played through the air, expect fewer votes and an occasional corrected error.

Testing Instructions

  1. Download the WAV file above.
  2. Launch PhosphorALE. It opens on the DECODE tab.
  3. Tap START and allow microphone access when asked. The header reads SEARCHING.
  4. Play the WAV on a laptop or second device at conversational volume, 15–30 cm from the microphone.
  5. Within a second or two of the first tones the header reads SYNC and the frames print as above.
  6. LOG lists ALPHA1 as a station heard. Tap its star to add it to WATCH, then play the file again: the WATCH lamp lights in the header and the station's frames print bright.

Scope