Skip to content
Acoustic Signal DecoderWAV / MP3 / OGG

Morse Code Audio File Decoder

Upload an audio recording (.wav, .mp3, .ogg, .webm) to automatically detect tone frequencies, envelope timing, and transcribe Morse beeps into text.

Browser-Local Processing: Audio analysis is executed locally inside your web browser using the Web Audio API. Your audio files remain on your device and are not uploaded to any remote server.

Tap to select an audio recording

Supports WAV, MP3, OGG, WebM (up to 10 MB, max 120 seconds)

Tap button to choose file from phone storage

How the Morse Code Audio Decoder Works

Our morse code audio decoder converts audible telegraph beeps into readable text through client-side digital signal processing. When you upload an audio file, your browser's native HTML5 Web Audio API decodes the raw audio container into an uncompressed PCM AudioBuffer:

01.Pitch Estimation & Carrier DetectionCarrier Analysis

Measures the dominant carrier frequency of the Morse audio tone across active segments within the 300 Hz to 1200 Hz spectrum using zero-crossing analysis.

02.Envelope Segmentation & Energy ProfilingRMS Windows

Samples Root-Mean-Square (RMS) amplitude energy in consecutive 10ms sliding time windows to clearly distinguish active tone bursts from background silence.

03.PARIS Clustering & Timing AnalysisITU-R Ratios

Clusters pulse durations into dots and dashes and analyzes silence intervals to detect character spaces and word boundaries calibrated to standard PARIS timing.

04.Character Translation & Confidence ScoringITU-R M.1677-1

Maps assembled dot-dash sequences against official International Morse Code ITU-R M.1677-1 definitions, computing acoustic confidence metrics.

Audio Decoding Architecture: Buffer to Character Stream

The audio engine transforms acoustic wave pressure into symbolic telegraphy using a four-stage client-side pipeline:

Stage 1.Container Ingestion & Audio DecodingWeb Audio API

File container (.wav, .mp3, .ogg, .webm) is unpacked into floating-point PCM samples at native sample rate (44.1 kHz / 48 kHz).

Stage 2.Energy Profiling & Micro-Click Filtering10ms RMS

10ms RMS windowing computes smooth amplitude envelopes to strip momentary micro-clicks while preserving real beeps.

Stage 3.State Segmentation & Otsu ThresholdingDuration Timestamps

Adaptive Otsu-like thresholding marks transition timestamps, logging exact durations of tone bursts and silence gaps.

Stage 4.Symbolic Assembly & PARIS Delimiters1T / 3T / 7T

Statistical pulse clustering maps short tones to dots, long tones to dashes, and pauses to letter/word delimiters.

The Audio Decoding Process: Tone Detection, Timing & Clustering

Acoustic Morse decoding relies on mathematical timing ratios defined by International Morse Code standard Recommendation ITU-R M.1677-1:

1. Dominant Pitch & Carrier Frequency Estimation

Telegraph audio is transmitted as an interrupted carrier tone pitched between 400 Hz and 800 Hz. The analyzer evaluates high-energy segments using a zero-crossing frequency estimator within the 300 Hz to 1200 Hz spectrum:

Frequency (Hz) = (Zero Crossings / 2) / (Active Window Duration in Seconds)

Identifying the dominant tone verifies that the audio contains intentional telegraph signaling rather than non-tonal background noise.

2. Dynamic RMS Envelope & Adaptive Thresholding

Audio recordings often have fluctuating volume, ambient room noise, or varying microphone gain. To prevent missed quiet beeps or noise false alarms, the analyzer applies an adaptive decision threshold across minimum and maximum detected RMS energy:

Threshold = Min Energy + (Max Energy - Min Energy) × 0.35

Any 10ms window with energy exceeding this threshold is registered as an active tone, while values below are treated as silence.

3. Duration Clustering & PARIS Standard Timing

Under the international PARIS calibration word (50 units), all pulse and silence lengths follow strict mathematical proportions based on unit dot duration (T):

  • Dot (•): 1 unit of tone (1T).
  • Dash (—): 3 units of tone (3T).
  • Intra-Letter Gap: 1 unit of silence (1T).
  • Letter Pause: 3 units of silence (3T).
  • Word Pause: 7 units of silence (7T).
  • Speed Formula: WPM = 1200 / T (ms).

Supported Audio Formats & File Limits

Clear technical boundaries ensure rapid processing and browser stability without memory exhaustion:

Supported File Formats
WAV, MP3, OGG, WebM, FLAC, M4A

Decoded natively via HTML5 Web Audio API. Clean uncompressed .wav files deliver the highest timing precision.

Maximum File Size
10 MB

Enforces safe in-browser array buffer allocation without page lag or memory exhaustion.

Maximum Audio Duration
120 Seconds (2 Minutes)

Optimizes sliding-window RMS computation while accommodating standard telegraph transmissions and drills.

Detected Speed Range
5 to 35 WPM

Calibrated to the international PARIS standard to accommodate both slow practice beeps and fast CW signals.

Pitch Detection Spectrum
300 Hz to 1200 Hz

Zero-crossing rate frequency estimator accurately identifies standard telegraph sidetones (default 600 Hz).

Channel Processing
Mono / Primary Channel (0)

Multi-channel files are processed on their primary channel for maximum signal clarity.

How to Get Better Decoding Results

Acoustic Morse decoding relies on clean signal-to-noise ratios and consistent element timing. Follow these four practical recording guidelines:

Tip 01.Use a Pure, Unchanging Audio PitchSingle Carrier

Decoders expect a stable audio tone (such as a 600 Hz sine wave). Avoid clips where the pitch shifts, bends, or contains background music and vocal hums.

Tip 02.Minimize Background Static & Room HumNoise Isolation

While adaptive thresholding tolerates mild ambient room noise, heavy radio static (QRN) or loud fan hum can bridge silent pauses, causing characters to merge.

Tip 03.Prevent Audio Clipping & Harmonic DistortionGain Control

Overdriven audio recordings that flatline create acoustic harmonics that disrupt frequency detection. Record at moderate volume levels where peaks remain below 0 dB.

Tip 04.Maintain 1:3 Dot-to-Dash Ratio (PARIS Timing)Standard Timing

Recordings produced with electronic keyers decode with near-perfect confidence. Hand-keyed straight key audio with irregular operator "swing" may produce misclassified letters.

Common Audio Decoding Problems & Solutions

Diagnose real-world decoding obstacles and learn how to resolve them:

Issue 01.Heavy Background Static or Radio QRNSignal Noise

Symptoms: Decoder inserts unexpected characters or reports low confidence.

Fix: Apply a narrow audio bandpass filter centered at the pitch frequency before uploading.

Issue 02.Variable Speed or Hand-Keyed "Fist"Irregular Timing

Symptoms: Letters are merged together or split unexpectedly into separate characters.

Fix: Ensure steady transmission speed with consistent 3T letter pauses.

Issue 03.Background Music or VoicesMulti-Tonal Audio

Symptoms: Frequency estimator reports fluctuating pitch or fails to isolate the carrier.

Fix: Use clean audio clips containing only the Morse code sidetone.

Issue 04.File Exceeds 10 MB or 120 SecondsBuffer Limits

Symptoms: Upload displays an error notice rejecting the audio clip.

Fix: Use a simple audio editor (e.g., Audacity) to trim the recording to the active Morse segment before uploading.

Audio Decoder vs. Text Morse Code Translator

While both utilities produce English text, they serve fundamentally different stages of Morse communication:

Primary Input Mode
Audio Decoder:Acoustic sound files (.wav, .mp3, .ogg, .webm)
Text Translator:Typed English prose or dot-dash Morse code strings
Core Processing Algorithm
Audio Decoder:Acoustic envelope segmentation, zero-crossing pitch, & PARIS clustering
Text Translator:Deterministic lookup table mapping characters to ITU-R Morse symbols
Execution Environment
Audio Decoder:Client-side HTML5 Web Audio API and AudioBuffer decoding
Text Translator:Instant client-side string parsing in browser memory
Handling Ambiguity
Audio Decoder:Calculates signal confidence metric based on element ratio consistency
Text Translator:Emits [?] warning tokens for unrecognized symbols without halting
Audio Capability
Audio Decoder:Previews and analyzes the uploaded source audio recording
Text Translator:Synthesizes clean sine wave Morse code tones via Web Audio API

Frequently Asked Questions About Audio Decoding

Find answers to common questions about file compatibility, processing privacy, and signal analysis:

1. What audio file formats can I decode with this tool?
You can decode standard audio file formats including WAV (.wav), MP3 (.mpeg, .mp3), OGG (.ogg), and WebM (.webm). Uncompressed WAV files provide the highest timing accuracy because they contain raw PCM samples without compression artifacts.
2. Are my uploaded audio files sent to or stored on an external server?
No. All audio decoding and signal processing occurs entirely within your web browser using the HTML5 Web Audio API. Zero audio bytes, recordings, or transcribed text strings are transmitted over the internet or saved on an external server.
3. What is the maximum file size and audio length allowed?
The decoder supports audio files up to 10 MB in file size and up to 120 seconds (2 minutes) in duration. Limiting the duration prevents browser memory strain and ensures instant, responsive analysis.
4. Why did the decoder report low confidence or unrecognized symbols?
Low confidence occurs when the audio recording contains background static, volume fluctuations, echo, or irregular element lengths. If the pause between letters is too short, the decoder may combine adjacent letters into an invalid sequence.
5. Can I decode audio directly from my computer or phone microphone?
Currently, this tool is designed exclusively for pre-recorded audio file analysis (.wav, .mp3, .ogg, .webm). Live microphone input is not supported on this page; please upload or drag and drop an audio file for instant browser-local transcription.
6. How does this web decoder compare to specialized amateur radio software?
Specialized desktop programs like fldigi or CW Skimmer use advanced multi-channel narrow-band DSP filters designed for high-frequency radio contests under severe noise. Our web tool is an accessible, zero-install utility designed for transcribing clean CW recordings, learning clips, and challenge files directly in any modern browser.
CW TELEGRAPHY • START LEARNING

Ready to Expand Your Morse Code Skills?

Whether you need to translate a single phrase, decode audio recordings, or want to build real telegraphy skills, our free learning curriculum and practice tools are ready when you are.

Related Tools & Lessons

Explore all interactive Morse code tools, reference guides, and step-by-step lessons across the platform.