GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - iu6cws/CW-DECODER-mac-arm64: Real-time CW (Morse) decoder for macOS Apple Silicon: DeepCW neural decoder + HamNoise noise reduction, fully offline, Italian/English UI. By IU6CWS.

BranchesTags
Open more actions menu

Latest commit

 

History

6 Commits
6 Commits

Folders and files

NameName
Last commit message
Last commit date
docs
docs
 
 
README.md
README.md
 
 
mac-LEGGIMI.txt
mac-LEGGIMI.txt
 
 
mac-README.txt
mac-README.txt
 
 

Repository files navigation

CW DECODER for macOS (Apple Silicon)

CW DECODER is a desktop app for Mac computers with Apple Silicon (M1–M4) that decodes Morse code (CW) in real time from your radio's USB audio interface. It combines two open-source projects by e04:

  • DeepCW – a neural-network CW decoder
  • HamNoise – a neural-network noise reduction filter for amateur radio audio

The original web apps are packaged in an Electron shell, so everything runs locally and offline: no browser, no server, no network connection needed.

Built by IU6CWS (Damian), JN72ib.

CW DECODER main window

Main window: waterfall with decoding passband, live decoded line, decoded text with callsigns highlighted, and the Settings panel (audio input/output, HamNoise, decoder, appearance).


What's new in 1.4.6

  • CW keyer from the computer keyboard. It keys the radio by raising the DTR (or RTS) line of a serial port, so on the FTDX101MP it uses the USB Standard port and leaves the CAT (Enhanced) port to your logger. It has:
    • a typing line: Enter sends, Esc stops;
    • F1–F6 messages with {MYCALL} {CALL} {RST} {NR} placeholders and prosigns <SK> <KN> <AR> <BT>;
    • speed control (5–60 WPM) and a TX line showing what has been sent.
  • MacLoggerDX integration:
    • the radio frequency, band and mode are shown in the top bar;
    • typing or clicking a callsign opens it in MacLoggerDX automatically;
    • Log QSO (or ⌘L) logs the contact with RST sent/received and a note.
  • Pile-up:
    • the log and keyer bar stays under the waterfall;
    • the waterfall speed is adjustable (window 8/12/16/24 s, default 16 s), so the text stays readable for longer;
    • the decoded letters are easier to read.
  • Decoded text style: size and colour (9 colours) set separately for Normal and Pile-up, in Settings › Appearance.
  • Settings in two columns (decoder on the left, keyer on the right), identical in Normal and Pile-up.
  • Waterfall keeps its picture when the window or settings panel is resized.

CW DECODER with keyer and log bar

Normal mode with the MacLoggerDX frequency in the top bar, the log row (callsign, RST, note, Log QSO) and the keyer (F1–F6, typing line).

What's new in 1.2.2

  • Automatic tuning (AFC). Until a signal is found the decoder reads the whole 400–1200 Hz band, as before. Once it finds a signal it narrows the passband onto it and follows it if it drifts. Click the waterfall to lock onto a different station. Turn it off in Settings › Decoder › Automatic tuning (AFC).
  • Narrower default passband: 150 Hz (was 800 Hz), applied to existing installs too. A narrow filter keeps adjacent QRM out of the decoder.
  • No lost audio when retuning. Moving or narrowing the passband used to discard the few seconds of audio waiting to be decoded; now that only happens when you jump to a different station.

Measured on a recorded QSO with QRM at 610 and 870 Hz, fed to the app as its audio input: character error rate went from 27.1 % (v1.2.1) to 4.8 % (v1.2.2). In a pile-up recording the two versions decode about the same, since there the errors come from overlapping callers.

Features

  • Real-time CW decoding from any audio input (radio USB sound card, interface, microphone)
  • HamNoise noise reduction with three modes:
    • Off – no noise reduction
    • Monitor only – cleans only the audio you listen to (default)
    • Monitor + decoder – also feeds the cleaned audio to the waterfall and the decoder
  • Separate monitor output selection (headphones / speakers)
  • Automatic tuning (AFC): finds the CW signal, centres a narrow passband on it and follows it
  • CW keyer on a serial port (DTR/RTS): F1–F6 messages, typing line, speed control
  • MacLoggerDX: frequency in the top bar, automatic callsign lookup, one-click Log QSO with RST and note
  • Interactive waterfall: click to move the decoding passband, scroll to fine-tune
  • Pileup mode to decode several signals at the same time, with adjustable waterfall speed
  • Choice of inference engine: WASM or WebGPU
  • Modern dark UI with a large area for decoded text
    • A- / A+ and 9 colours for the decoded text (Settings › Appearance)
    • Copy text to the clipboard, Clear to empty the window
    • Callsigns automatically highlighted in amber
    • Collapsible Settings side panel
  • Bilingual interface (Italian / English) – both the app and the macOS menu bar. On first launch it follows the system language; change it in Settings › Appearance or in the Language menu.

Requirements

  • Mac with Apple Silicon (arm64), recent macOS
  • An audio input carrying the receiver audio (e.g. the radio's built-in USB audio codec)

Download

⬇ CW-DECODER-mac-arm64.zip (≈130 MB, macOS Apple Silicon) – or see all Releases

Installation

  1. Unzip the archive and drag CW DECODER.app into the Applications folder.
  2. The app is not signed with an Apple Developer certificate, so macOS reports it as "damaged" and refuses to open it. In Terminal, remove the quarantine flag and give it a local ("ad hoc") signature:
    xattr -cr "/Applications/CW DECODER.app"
    codesign --force --deep -s - "/Applications/CW DECODER.app"
    If macOS still blocks it, right-click the app › Open › Open, or go to System Settings › Privacy & Security and click Open Anyway.
  3. On first launch, allow microphone access – it is required to read the USB audio input.

Usage

  1. Press Start.
  2. Open Settings and select your radio's USB audio interface under Input.
  3. Choose where to hear the audio under Monitor output.
  4. Set the noise reduction mode you prefer.
  5. With automatic tuning on (default) the passband locks onto the signal by itself. Click another signal in the waterfall to switch station. With AFC off, click the signal to centre the passband on it.

Decoded text appears in the main window; callsigns are highlighted and clickable.

CW keyer (Yaesu FTDX101MP example)

  1. In the radio menu set PC KEYING = DTR and turn BK-IN on.
  2. In Settings › CW keyer pick the radio's USB Standard port (the Enhanced port stays with MacLoggerDX for CAT), line DTR, then Connect.
  3. Use F1–F6 for the stored messages, type in the keyer line and press Enter to send, Esc to stop at once.
  4. Click a callsign in the decoded text to put it in the Callsign field used by {CALL}.

Timing is generated by the Mac (PARIS standard). It is steady up to about 30–35 WPM.

MacLoggerDX

  1. In MacLoggerDX Preferences › Station tick UDP Broadcast (port 9932). The frequency then updates immediately; without it, CW DECODER reads it every 3 s via AppleScript.
  2. The first time, macOS asks whether CW DECODER may control MacLoggerDX: click Allow. You can change it later in System Settings › Privacy & Security › Automation.
  3. Type or click a callsign: MacLoggerDX looks it up. Fill in RST received, then Log QSO, Enter, or ⌘L.

CW DECODER never starts MacLoggerDX by itself. If it is closed, you get a message instead.

How it works

  • main.js serves the bundled web app from a private secure scheme (app://deepcw) with cross-origin isolation headers, so that audio capture, AudioWorklet, WebAssembly threads and WebGPU all work offline.
  • Only the bundled app is granted access to audio devices; external links open in the default browser, never inside the app.
  • The window keeps decoding even when hidden (background throttling disabled).
  • The macOS menu is localized in Italian and English and follows the language selected in the app.

Folder layout

CW DECODER.app/
└── Contents/Resources/app/
    ├── main.js        Electron main process (secure scheme, permissions, menus, IPC)
    ├── keyer.js       CW keyer: text → Morse timing, DTR/RTS keying
    ├── mldx.js        MacLoggerDX: UDP broadcast reader, AppleScript lookup/log
    ├── preload.js     Bridge for the language setting
    ├── package.json
    ├── web/           DeepCW + HamNoise web app (models, WASM, worklets)
    ├── LICENSE-DeepCW.txt
    └── LICENSE-HamNoise.txt
mac-README.txt         Quick guide (English)
mac-LEGGIMI.txt        Quick guide (Italian)
docs/screenshot.png    Screenshot

A Windows 64-bit build of the same app is also available (named DeepCW).

Credits & license

  • DeepCW – https://github.com/e04/web-deep-cw-decoder – MIT License, © 2026 e04
  • HamNoise – https://github.com/e04/HamNoise – MIT License, © 2026 e04
  • Desktop packaging, UI changes and Italian/English localization by IU6CWS

This project is distributed under the MIT License. See the license files included in the app bundle.

73 de IU6CWS

About

Real-time CW (Morse) decoder for macOS Apple Silicon: DeepCW neural decoder + HamNoise noise reduction, fully offline, Italian/English UI. By IU6CWS.

Topics

amateur-radioapple-siliconcwcw-decoderdeep-learningelectronham-radiomacosmorse-codenoise-reductionwebgpu

Resources

Readme
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.