M0LTE.Ofdm
0.1.0
dotnet add package M0LTE.Ofdm --version 0.1.0
NuGet\Install-Package M0LTE.Ofdm -Version 0.1.0
<PackageReference Include="M0LTE.Ofdm" Version="0.1.0" />
<PackageVersion Include="M0LTE.Ofdm" Version="0.1.0" />
<PackageReference Include="M0LTE.Ofdm" />
paket add M0LTE.Ofdm --version 0.1.0
#r "nuget: M0LTE.Ofdm, 0.1.0"
#:package M0LTE.Ofdm@0.1.0
#addin nuget:?package=M0LTE.Ofdm&version=0.1.0
#tool nuget:?package=M0LTE.Ofdm&version=0.1.0
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. |
- Targets
net10.0. Depends onM0LTE.FecLdpc(the codec2 LDPC codec) andM0LTE.Fec. - Public API is locked by a build-time test and the package follows
Semantic Versioning; see
docs/versioning.md.
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 | Versions 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. |
-
net10.0
- M0LTE.Fec (>= 0.1.0)
- M0LTE.FecLdpc (>= 0.1.0)
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 |