M0LTE.Ofdm 0.1.0

dotnet add package M0LTE.Ofdm --version 0.1.0
                    
NuGet\Install-Package M0LTE.Ofdm -Version 0.1.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="M0LTE.Ofdm" Version="0.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="M0LTE.Ofdm" Version="0.1.0" />
                    
Directory.Packages.props
<PackageReference Include="M0LTE.Ofdm" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add M0LTE.Ofdm --version 0.1.0
                    
#r "nuget: M0LTE.Ofdm, 0.1.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package M0LTE.Ofdm@0.1.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=M0LTE.Ofdm&version=0.1.0
                    
Install as a Cake Addin
#tool nuget:?package=M0LTE.Ofdm&version=0.1.0
                    
Install as a Cake Tool

M0LTE.Ofdm

A managed, codec2-compatible FreeDV datac OFDM modem for .NET, extracted from the pdn-soundmodem packet-radio modem. It is a port of codec2's ofdm.c / ofdm_mode.c: the full TX and RX chains for all six FreeDV datac modes (datac0/1/3/4/13/14), LDPC-protected and interoperable with codec2/FreeDV on the air.

Type What it is
OfdmMode The per-mode parameter record (one static factory per datac mode).
OfdmModulator TX chain: per-symbol iDFT, cyclic prefix, Hilbert clipper, tx BPF, preamble/postamble, burst assembly.
OfdmDemodulator / OfdmDemodConfig RX chain: timing + frequency-offset acquisition, streaming and burst sync state machines, per-packet demod.
DatacTransmitter / DatacReceiver End-to-end datac drivers — payload bytes ⇄ PCM audio, wiring the engine to LDPC framing.
OfdmPacketAssembler / OfdmSoftDemap Packet disassembly / UW extraction and QPSK soft-demapping to LLRs.
Cf Single-precision complex value matching codec2's complex float accumulation order.

Install

dotnet add package M0LTE.Ofdm

Quick start

using M0LTE.Ofdm;

// datac0: transmit a payload as a single OFDM packet of 8 kHz PCM16 audio.
var tx = new DatacTransmitter(OfdmMode.Datac0);
byte[] payload = new byte[tx.PayloadBytes];
// ... fill payload ...
short[] audio = tx.ModulatePacketPcm16(payload);

// Receive: feed 8 kHz PCM16 samples; get decoded packets back (with CRC + LDPC status).
var rx = new DatacReceiver(OfdmMode.Datac0);
foreach (DatacRxResult result in rx.Process(audio))
{
    if (result.CrcOk)
    {
        ReadOnlySpan<byte> got = result.Payload;   // recovered payload bytes
    }
}

(Exact constructor/method signatures are in the XML docs shipped with the package.)

Licence

AGPL-3.0-or-later (see LICENSE). This package is a derivative work of codec2 (David Rowe et al.), which is LGPL-2.1; the OFDM engine ports codec2 1.2.0 (git 310777b) ofdm.c / ofdm_mode.c. The relicensing to AGPL-3.0-or-later is permitted by LGPL-2.1 §3 → GPLv3 → §13. codec2's copyright and origin are preserved in PROVENANCE.md — read it before redistributing.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on M0LTE.Ofdm:

Package Downloads
pdn-soundmodem

Headless soundcard packet modem core: IL2P/AX.25 framing and FEC now; demodulators, KISS TCP and DCD to follow.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.0 655 7/18/2026