1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-18 06:11:46 -05:00
sdrangel/plugins/samplesource/audioinput
2022-04-24 02:13:18 +02:00
..
audioinput.cpp Fixed some signal/slot connects. Removed unnecessary m_channelMessageQueue in ChannelAPI. Fixes #1185 2022-03-23 22:32:23 +01:00
audioinput.h Fixed -Wunused-parameter warnings 2020-11-14 11:13:32 +01:00
audioinputgui.cpp Massive UI revamping (v7): Devices: set the border on the outer side of the window. Part of #1213 2022-04-24 02:13:18 +02:00
audioinputgui.h Massive UI revamping (v7): fixed widget size handling: sample sources. Part ofs #1209 2022-04-21 07:53:36 +02:00
audioinputgui.ui Massive UI revamping (v7): fixed widget size handling: sample sources. Part ofs #1209 2022-04-21 07:53:36 +02:00
audioinputplugin.cpp Updated versions and changelogs 2022-03-30 22:16:08 +02:00
audioinputplugin.h Avoid global QString init in plugins 2020-11-22 04:06:32 +01:00
audioinputsettings.cpp Massive UI revamping (v7): fixed device workspace index save/restore and removed useless geometry blobs. Fixes #1207 2022-04-20 20:08:41 +02:00
audioinputsettings.h Massive UI revamping (v7): fixed device workspace index save/restore and removed useless geometry blobs. Fixes #1207 2022-04-20 20:08:41 +02:00
audioinputwebapiadapter.cpp Fixed wrong structure being used in some sample source and sink plugins web API adapters. Fixes #842 2021-04-15 15:30:29 +02:00
audioinputwebapiadapter.h Rebase to master 2020-11-09 21:12:08 +00:00
audioinputworker.cpp Audio Input: quarter sample rate heterodyne for mono signals 2020-11-13 19:55:09 +01:00
audioinputworker.h Audio Input: quarter sample rate heterodyne for mono signals 2020-11-13 19:55:09 +01:00
CMakeLists.txt Install debug symbols on Windows for debug builds 2022-02-06 12:56:58 +00:00
readme.md Massive UI revamping (v7): implemented device common settings from top bar and added documentation on device windows top and bottom bars 2022-04-17 01:31:50 +02:00

Audio input plugin

Introduction

This input sample source plugin gets its samples from an audio device.

Interface

The top and bottom bars of the device window are described here

Audio input plugin GUI

1: Start/Stop

Device start / stop button.

  • Blue triangle icon: device is ready and can be started
  • Green square icon: device is running and can be stopped
  • Magenta (or pink) square icon: an error occurred. In the case the device was accidentally disconnected you may click on the icon, plug back in and start again.

2: Device

The audio device to use.

3: Refresh devices

Refresh the list of audio devices.

4: Audio sample rate

Audio sample rate in Hz (Sa/s).

5: Decimation

A decimation factor to apply to the audio data. The baseband sample rate will be the audio sample, divided by this decimation factor.

6: Volume

A control to set the input volume. This is not supported by all input audio devices.

7: Channel Map

This controls how the left and right audio channels map on to the IQ channels.

  • Mono L - Real samples are taken from the left audio channel and are heterodyned by the fourth of the sample rate (fs/4) to obtain complex samples. Therefore the spectrum of the complex baseband is centered at the fourth of the sample rate (fs/4). As per Nyquist rule only a bandwidth of half of the sample rate (fs/2) is available for real signals. Frequencies outside the [0, fs/2] interval are artefacts and can be eliminated by decimating by a factor of 2.
  • Mono R - Same as above but takes the right audio channel for the real signal.
  • I=L, Q=R - The left audio channel is driven to the I channel. The right audio channel is driven to the Q channel for a complex (analytic signal)input.
  • I=R, Q=L - The right audio channel is driven to the I channel. The left audio channel is driven to the Q channel for a complex (analytic signal)input.