1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-23 16:38:37 -05:00
sdrangel/plugins/channel/udpsrc
2016-04-04 03:44:06 +02:00
..
CMakeLists.txt CMakeLists.txt files cleanup 2016-03-29 09:36:19 +02:00
readme.md NFM demodulator plugin: documentation as readme 2016-04-03 17:04:35 +02:00
udpsrc.cpp NFM demod and UDP source: revised FM completely rationalizing deviation. New input in UDP source GUI to specify the FM deviation 2016-04-04 03:44:06 +02:00
udpsrc.h NFM demod and UDP source: revised FM completely rationalizing deviation. New input in UDP source GUI to specify the FM deviation 2016-04-04 03:44:06 +02:00
udpsrc.pro Windows build: added udpsrc channel plugin to the build 2016-03-10 03:11:18 +01:00
udpsrcgui.cpp NFM demod and UDP source: revised FM completely rationalizing deviation. New input in UDP source GUI to specify the FM deviation 2016-04-04 03:44:06 +02:00
udpsrcgui.h NFM demod and UDP source: revised FM completely rationalizing deviation. New input in UDP source GUI to specify the FM deviation 2016-04-04 03:44:06 +02:00
udpsrcgui.ui NFM demod and UDP source: revised FM completely rationalizing deviation. New input in UDP source GUI to specify the FM deviation 2016-04-04 03:44:06 +02:00
udpsrcplugin.cpp BFM demod: added phase lock class. Updated copyright notices 2015-12-06 19:47:55 +01:00
udpsrcplugin.h BFM demod: added phase lock class. Updated copyright notices 2015-12-06 19:47:55 +01:00

UDP source plugin

Introduction

By "source" one should undetstand a source of samples for the outside of SDRangel application. An UDP connection is established from the plugin to the given address and port and samples are directed to it.

The block size is fixed to 512 samples that is 2048 bytes. The receiving application must make sure it acknowledges this block size. UDP may fragment the block but there will be a point when the last UDP block will fill up a complete block of 2048 bytes. In particular in GNUradio the UDP source block must be configured with a 2048 bytes payload size.

Interface

UDP Source plugin GUI

1: Frequency shift from center frequency of reception

Use the wheels to adjust the frequency shift in Hz from the center frequency of reception. Use the "+/-" button on the left side to toggle between positive and negative shift.

2: Channel power

Total power in dB relative to a +/- 1.0 amplitude signal received in the pass band.

3: Type of samples

Combo box to specify the type of samples that are sent over UDP.

  • S16LE I/Q: Raw I/Q samples on signed 16 bits integers with Little Endian layout. Use it with software that accepts I/Q data as input like GNUradio with the UDP source block
  • S16LE SSB: AF of SSB demodulated signal as 16 bits signed integers with Little Endian layout. Use it with software that uses a SSB demodulated signal as input i.e. software that is based on the audio output of a SSB radio.
  • S16LE NFM: AF of FM demodulated signal as 16 bits signed integers with Little Endian layout. Use it with software that takes the FM demodulated audio or the discriminator output of a radio as input. Make sure you specify the appropriate signal bandwidth (see 7) according to the AF bandwidth needs.

4: Signal sample rate

Sample rate in samples per second of the signal that is sent over UDP. For raw I/Q output this is the sample rate of a complete I/Q sample (4 bytes). For demodulated outputs this is the sample rate of an "audio" sample (2 bytes).

5: Destination IP address

IP address of the remote destination to which samples are sent

6: Destination port

Remote UDP port number to which samples are sent

7: Signal bandwidth

The signal is bandpass filtered to this bandwidth (zero frequency centered) before being sent out as raw I/Q samples or before being demodulated for SSB and FM outputs. Thus a 20000 Hz bandwidth for example means +/-10000 Hz around center channel frequency.

8: Audio UDP port

There is a possible feedback of audio samples at 48 kHz into SDRangel using this port as the UDP port on the local machine to collect the audio samples.

9: Toggle audio feedback

This turns on or off the audio samples feedback

10: Mono/Stereo toggle for audio feedback

This toggles between mono or stereo audio feedback

11: Apply (validation) button

When any item of connection or stream configuration changes this button becomes active to make the changes effective when pressed.

12: Boost

Amplify the signal being sent over UDP from the original. There are 4 levels of amplification from 0: none to 3: maximum

13: Audio volume

Volume of the audio feedback (when used).

14: Spectrum display

This is the spectrum display of the channel signal after bandpass filtering. Please refer to the Spectrum display description for details.

This spectrum is centered on the center frequency of the channel (center frequency of reception + channel shift) and is that of a complex signal i.e. there are positive and negative frequency. The width of the spectrum is proportional of the sample rate. That is for a sample rate of S samples per seconds the spectrum spans from -S/2 to +S/2 Hz.