From 803574a6c3512c1bc880f76396337507384ea61a Mon Sep 17 00:00:00 2001 From: boblark Date: Tue, 4 Apr 2023 16:20:41 -0700 Subject: [PATCH] Added functions to DesignTool/ModulateBFSK --- docs/index.html | 31 ++++++++++++++++++++++--------- gui/DesignTool_F32.zip | Bin 1724555 -> 1724707 bytes 2 files changed, 22 insertions(+), 9 deletions(-) diff --git a/docs/index.html b/docs/index.html index a02ba67..3e6281b 100644 --- a/docs/index.html +++ b/docs/index.html @@ -3915,10 +3915,21 @@ look ahead delay, as well.

that set filters.

bufferHasSpace();

-

Returns a bool value true if another data word can be sent.

+

Returns a bool value true if one or + more data words can be sent + without filling the 64 word FIFO transmit buffer.

+ +

getBufferSpace();

+

Returns an in16_t with the + number of data words can be sent + without filling the 64 word FIFO transmit buffer.

+

sendData(uint32_t data);

-

Empties the FIFO transmit buffer.

+

Places a data word into the FIFO transmit buffer. + The data word can be any length up to 32 bits. The buffer length is 64 words. + If the word was queued for sending, a bool true is returned. + If no space was available, a bool false is returned.

clearBuffer();

Clears the send buffer. Does not stop a character being sent. No return value.

@@ -3929,17 +3940,18 @@ look ahead delay, as well.

setLPF (float32_t* FIRdata, float32_t* FIRcoeff, uint16_t numCoeffs);

-

This sets output filtering where: +

This sets output filtering where:

  float32_t* FIRdata is a pointer to array data storage
  float32_t* firCoeffs is a pointer to array of coefficients
  uint       numCoeffs is the number of FIR filter coefficients
-    
- To omit the FIR filter, enter the pointer to the coefficients as NULL. +

+

To omit the FIR filter, enter the pointer to the coefficients as NULL.

+ +

setSampleRate_Hz(float32_t sampleRate_Hz)

-

Enter sample rate, as float32_t. - It applies to this class only. -

+

Enter sample rate, as float32_t. + This applies to this class only, i.e., this does not change sample rates globally.

Examples

File > Examples > OpenAudio_ArduinoLibrary > BFSK

@@ -3947,12 +3959,13 @@ look ahead delay, as well.

File > Examples > OpenAudio_ArduinoLibrary > BFSK_snr

+

Notes

This modulator includes a lowpass filter on the input bit data. This can be very effective in restricting the bandwidth of the BFSK output. This filter can be None (default) or an arbitrary FIR filter.

-

Parity is not yet implemented.

+

Parity is not implemented.