TinyModem
Header-only software audio modem library
Loading...
Searching...
No Matches
MFSKEncoder.h File Reference
#include <math.h>
#include "AudioTools.h"
#include "MFSKConfig.h"
#include "ModemBase.h"
Include dependency graph for MFSKEncoder.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  tinymodem::MFSKEncoder
 Multi-tone FSK modulator: converts the written bytes into 16 bit PCM audio. Each symbol is one of MFSKConfig::tones tones and carries log2(tones) bits (Gray coded, most significant bit first). More...

Namespaces

namespace  tinymodem
 TinyModem: software audio modems and packets with error correction.

Functions

unsigned tinymodem::grayEncode (unsigned value)
 Gray code of a value: neighbouring tones differ in a single bit.
unsigned tinymodem::grayDecode (unsigned gray)
 Inverse of grayEncode().