diff --git a/doc/img/NFMMod_plugin.png b/doc/img/NFMMod_plugin.png index 5c3b99295..c4bfd172b 100644 Binary files a/doc/img/NFMMod_plugin.png and b/doc/img/NFMMod_plugin.png differ diff --git a/doc/img/NFMMod_plugin.xcf b/doc/img/NFMMod_plugin.xcf index 12d669229..8f91438f4 100644 Binary files a/doc/img/NFMMod_plugin.xcf and b/doc/img/NFMMod_plugin.xcf differ diff --git a/doc/img/NFMdemod_plugin.png b/doc/img/NFMdemod_plugin.png index 5c3147e44..350ed9356 100644 Binary files a/doc/img/NFMdemod_plugin.png and b/doc/img/NFMdemod_plugin.png differ diff --git a/doc/img/NFMdemod_plugin.xcf b/doc/img/NFMdemod_plugin.xcf index b7fa63b72..82fc47474 100644 Binary files a/doc/img/NFMdemod_plugin.xcf and b/doc/img/NFMdemod_plugin.xcf differ diff --git a/plugins/channelrx/demodnfm/readme.md b/plugins/channelrx/demodnfm/readme.md index f16fa47c8..d4a1faa1b 100644 --- a/plugins/channelrx/demodnfm/readme.md +++ b/plugins/channelrx/demodnfm/readme.md @@ -22,44 +22,105 @@ Average total power in dB relative to a +/- 1.0 amplitude signal received in the - bottom bar (blue green): instantaneous peak value - tip vertical bar (bright green): peak hold value -

4: RF bandwidth

+

4: Channel spacing presets

-This is the bandwidth in kHz of the channel signal before demodulation. It can take these values with the corresponding nominal frequency deviation: +This selector will apply RF bandwidth, AF bandwidth and FM deviation settings according to the channel spacing scheme as follows: - - **5** kHz: ± 1.25 kHz - - **6.25** kHz: ± 1.25 kHz - - **8.33** kHz: ± 1.67 kHz - - **11** kHz: ± 2.5 kHz (11F3) - - **16** kHz: ± 5 kHz (16F3) - - **20** kHz: ± 7 kHz - - **25** kHz: ± 9.5 kHz - - **40** kHz: ± 14 kHz + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
CS (kHz)RFBW (kHz)AFBW (kHz)FM Δ (±kHz)β
54.81.70.70.43
6.2562.10.90.43
7.57.22.51.10.43
8.3382.81.20.43
12.51132.50.83
2516351.67
4036991
+ + - All these settings apply the Carson's rule: RFBW = 2 × (FMΔ + AFBW) + - The 12.5 and 25 kHz channel spacings correspond to standard 11F3 and 16F3 settings respectively and are widely accepted and mostly used + - For spacings lower than 12.5 kHz values are empirically built using Carson's rule from β=0.43 which is the only standard provided + - For spacing higher than 25 kHz values are derived from an old 36F9 standard. + +When you are lost with the RF, AF bandwidths and FM deviation settings you can always come back to these standards and generally get good results. ☞ The demodulation is done at the channel sample rate which is guaranteed not to be lower than the requested audio sample rate but can possibly be equal to it. This means that for correct operation in any case you must ensure that the sample rate of the audio device is not lower than the Nyquist rate required to process this channel bandwidth. ☞ The channel sample rate is always the baseband signal rate divided by an integer power of two so depending on the baseband sample rate obtained from the sampling device you could also guarantee a minimal channel bandwidth. For example with a 125 kS/s baseband sample rate and a 8 kS/s audio sample rate the channel sample rate cannot be lower than 125/8 = 15.625 kS/s (125/16 = 7.8125 kS/s is too small) which is still OK for 5 or 6.25 kHz channel bandwidths. -

5: AF bandwidth

+

5: RF bandwidth

-This is the bandwidth of the audio signal in kHz (i.e. after demodulation). It can be set in continuous kHz steps from 1 to 20 kHz. +This is the bandwidth in kHz of the filter applied before the discriminator and therefore called "RF" bandwidth but is applied in the device pass band in fact. -

6: Volume

+

6: AF bandwidth

-This is the volume of the audio signal from 0% (mute) to 200% (maximum) of volume at nominal frequency deviation. It can be varied continuously 1% steps using the dial button. +This is the bandwidth of the audio signal in kHz (i.e. after demodulation). -

7: Delta/Level squelch

+

7: Expected FM peak deviation

+ +This is the peak FM deviation in ±kHz expected in the received signal and corresponds to 100% audio volume + +

8: Delta/Level squelch

Use this button to toggle between AF (on) and RF power (off) based squelch. -

8: Squelch threshold

+

9: Squelch threshold

Power threshold mode

-Case when the delta/Level squelch control (7) is off (power). This is the squelch threshold in dB. The average total power received in the signal bandwidth before demodulation is compared to this value and the squelch input is open above this value. It can be varied continuously in 1 dB steps from 0 to -100 dB using the dial button. +Case when the delta/Level squelch control (8) is off (power). This is the squelch threshold in dB. The average total power received in the signal bandwidth before demodulation is compared to this value and the squelch input is open above this value. It can be varied continuously in 1 dB steps from 0 to -100 dB using the dial button.

Audio frequency delta mode

-Case when the delta/Level squelch control (7) is on (delta). In this mode the squelch compares the power of the demodulated audio signal in a low frequency band and a high frequency band. In the absence of signal the discriminator response is nearly flat and the power in the two bands is more or less balanced. In the presence of a signal the lower band will receive more power than the higher band. The squelch does the ratio of both powers and the squelch is opened if this ratio is lower than the threshold given in percent. +Case when the delta/Level squelch control (8) is on (delta). In this mode the squelch compares the power of the demodulated audio signal in a low frequency band and a high frequency band. In the absence of signal the discriminator response is nearly flat and the power in the two bands is more or less balanced. In the presence of a signal the lower band will receive more power than the higher band. The squelch does the ratio of both powers and the squelch is opened if this ratio is lower than the threshold given in percent. A ratio of 1 (100%) will always open the squelch and a ratio of 0 will always close it. The value can be varied to detect more distorted and thus weak signals towards the higher values. The button rotation runs from higher to lower as you turn it clockwise thus giving the same feel as in power mode. The best ratio for a standard NFM transmission is ~40%. @@ -69,27 +130,31 @@ The distinct advantage of this type of squelch is that it guarantees the quality ☞ The chosen bands around 1000 and 6000 Hz are optimized for standard voice signals in the 300-3000 Hz range. -

9: Squelch gate

+

10: Squelch gate

This is the squelch gate in milliseconds. The squelch input must be open for this amount of time before the squelch actually opens. This prevents the opening of the squelch by parasitic transients. It can be varied continuously in 10ms steps from 10 to 500ms using the dial button. -

10: CTCSS on/off

+

11: CTCSS on/off

Use the checkbox to toggle CTCSS activation. When activated it will look for a tone squelch in the demodulated signal and display its frequency (see 10). -

11: CTCSS tone

+

12: CTCSS tone

This is the tone squelch in Hz. It can be selected using the toolbox among [these CTCSS values](https://en.wikipedia.org/wiki/Continuous_Tone-Coded_Squelch_System) and `--` for none. When a value is given and the CTCSS is activated the squelch will open only for signals with this tone squelch. -

12: CTCSS tone value

+

13: CTCSS tone value

This is the value of the tone squelch received when the CTCSS is activated. It displays `--` if the CTCSS system is de-activated. -

13: Audio high pass filter

+

14: Volume

+ +This is the volume of the audio signal from 0% (mute) to 200% (maximum) of volume at nominal frequency deviation. It can be varied continuously 1% steps using the dial button. + +

15: Audio high pass filter

Toggle a 300 Hz cutoff high pass filter on audio to cut-off CTCSS frequencies. It is on by default for normal audio channels usage. You can switch it off to pipe the audio in programs requiring DC like DSD+ or Multimon. -

14: Audio mute and audio output select

+

16: Audio mute and audio output select

Left click on this button to toggle audio mute for this channel. The button will light up in green if the squelch is open. This helps identifying which channels are active in a multi-channel configuration. diff --git a/plugins/channeltx/modnfm/readme.md b/plugins/channeltx/modnfm/readme.md index f03bacb39..06943c1bb 100644 --- a/plugins/channeltx/modnfm/readme.md +++ b/plugins/channeltx/modnfm/readme.md @@ -12,25 +12,95 @@ This plugin can be used to generate a narrowband frequency modulated signal. "Na Use the wheels to adjust the frequency shift in Hz from the center frequency of transmission. Left click on a digit sets the cursor position at this digit. Right click on a digit sets all digits on the right to zero. This effectively floors value at the digit position. Wheels are moved with the mousewheel while pointing at the wheel or by selecting the wheel with the left mouse click and using the keyboard arrows. Pressing shift simultaneously moves digit by 5 and pressing control moves it by 2. -

3: Channel power

+

2: Channel power

Average total power in dB relative to a +/- 1.0 amplitude signal generated in the pass band. -

4: Channel mute

+

3: Channel mute

Use this button to toggle mute for this channel. -

5: RF bandwidth

+

4: Channel spacing presets

-This is the bandwidth in kHz of the channel signal filtered after modulation. It can be set in discrete values: 3, 4, 5, 6.25, 8.33, 10, 12.5, 15, 20, 25 and 40 kHz +This selector will apply RF bandwidth, AF bandwidth and FM deviation settings according to the channel spacing scheme as follows: -

6: Audio frequency bandwidth

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
CS (kHz)RFBW (kHz)AFBW (kHz)FM Δ (±kHz)β
54.81.70.70.43
6.2562.10.90.43
7.57.22.51.10.43
8.3382.81.20.43
12.51132.50.83
2516351.67
4036991
-This is the bandwidth in khz of the modulating signal filtered before modulation. It can be set in kHz steps from 1 to 20 kHz + - All these settings apply the Carson's rule: RFBW = 2 × (FMΔ + AFBW) + - The 12.5 and 25 kHz channel spacings correspond to standard 11F3 and 16F3 settings respectively and are widely accepted and mostly used + - For spacings lower than 12.5 kHz values are empirically built using Carson's rule from β=0.43 which is the only standard provided + - For spacing higher than 25 kHz values are derived from an old 36F9 standard. + +When you are lost with the RF, AF bandwidths and FM deviation settings you can always come back to these standards and generally get good results. + +

5: Audio frequency bandwidth

+ +This is the bandwidth in khz of the modulating signal filtered before modulation. + +

6: RF bandwidth

+ +This is the bandwidth in kHz of the channel signal filtered after modulation.

7: Frequency deviation

-Adjusts the frequency deviation in 0.1 kHz steps from 0 to 30 kHz. This is the full deviation. +This is the peak FM deviation in ±kHz that will be effective for nominal (1.0) audio volume

8: Volume

@@ -66,27 +136,35 @@ Left click to switch to the audio input. You must switch it off to make other in Right click to select audio input device. See [audio management documentation](../../../sdrgui/audio.md) for details. -

11: CTCSS switch

+

11: Audio feedback

+ +Activate or de-activate the input source audio feedback + +

12: Audio feedback volume

+ +Adjust audio feedback volume + +

13: CTCSS switch

Checkbox to switch on the CTCSS sub-audio tone -

12: CTSS tone frequency

+

14: CTSS tone frequency

Select the CTCSS sub-audio tone in Hz among [these values](https://en.wikipedia.org/wiki/Continuous_Tone-Coded_Squelch_System) -

14: CW (Morse) text

+

15: CW (Morse) text

Enter the text to be keyed when Morse input is active and in text mode -

15: Clear CW text

+

16: Clear CW text

Clears the CW (Morse) text -

16: Morse keyer controls

+

17: Morse keyer controls

![Morse keyer control GUI1](../../../doc/img/ModCWControls1.png) -

16.1: CW keying speed

+

17.1: CW keying speed

Sets the CW speed in Words Per Minute (WPM). This is based on the word "PARIS" sent 5 times. For 5 WPM the dot length is 240 ms. In other terms the dot length is calculated as 1.2 / WPM seconds. The dot length is used as the base to compute other timings: @@ -95,74 +173,76 @@ Sets the CW speed in Words Per Minute (WPM). This is based on the word "PARIS" s - Character silence separator: 3 dot lengths - Word silence separator: 7 dot lengths -

16.2: Dots keying

+

17.2: Dots keying

Switch this button to send dots continuously -

16.3: Dashes keying

+

17.3: Dashes keying

Switch this button to send dashes continuously -

16.4: Text keying

+

17.4: Text keying

Switch this button to send the text typed into the text box (14) -

16.5: Text auto repeat

+

17.5: Text auto repeat

Switch this button to auto repeat the text keying -

12.6: Text play/stop

+

17.6: Text play/stop

Use this button to stop sending text. When resuming keying restarts at the start of text +

18: Use keyboard for morse keying

+ ![Morse keyer control GUI2](../../../doc/img/ModCWControls2.png) -⚠ WARNING: what follows is not really useful if you do not use a proper Morse keyer with direct audio feedback. There is a significant audio delay either with the direct monitoring or by monitoring the transmitted signal so keying with this audio as feedback is not practical +⚠ WARNING: this is not really useful if you do not use a proper Morse keyer with direct audio feedback. There is a significant audio delay either with the direct monitoring or by monitoring the transmitted signal so keying with this audio as feedback is not practical -12.7: Activate morse keys keyboard control +18.7: Activate morse keys keyboard control This disables text or continuous dots or dashes. Toggle input from keyboard. Occasionnaly the focus may get lost and you will have to deactivate and reactivate it to recover the key bindings. -12.8: Iambic or straight +18.8: Iambic or straight Choose iambic or straight keying style. When straight is selected the dot or dash key may be used. -12.9: Register dot key +18.9: Register dot key Click on the button and while selected type a character or character and modifier (Shift + key for example) to select which key is used for dots. The key or key sequence appears next (here dot `.`) -12.10: Register dash key +18.10: Register dash key Click on the button and while selected type a character or character and modifier (Shift + key for example) to select which key is used for dashes. The key or key sequence appears next (here dot `.`) -

17: Audio file path

+

19: Audio file path

The path to the selected audio file to be played or dots if unselected -

18: Audio file play controls

+

20: Audio file play controls

![Modulator audio file play control GUI](../../../doc/img/ModFileControls.png) -

18.1: Audio file select

+

20.1: Audio file select

Opens a file dialog to select the audio file to be played. It must be mono 48 kHz F32LE raw format. Using sox a .wav file can be converted with this command: `sox piano.wav -t raw -r 48k -c 1 -b 32 -L -e float piano.raw` -

18.2: Audio file loop

+

20.2: Audio file loop

Audio replay file at the end -

18.3: Play/pause file play

+

20.3: Play/pause file play

Toggle play/pause file play. When paused the slider below (17) can be used to randomly set the position in the file when re-starting. -

19: Play file current position

+

21: Play file current position

This is the current audio file play position in time units relative to the start -

20: Play file length

+

22: Play file length

This is the audio file play length in time units -

21: Play file position slider

+

23: Play file position slider

This slider can be used to randomly set the current position in the file when file play is in pause state (button 18.3)