-
Notifications
You must be signed in to change notification settings - Fork 6
/
quisk_conf_sdriq.py
34 lines (29 loc) · 1.44 KB
/
quisk_conf_sdriq.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
from __future__ import absolute_import
from __future__ import division
# These are the configuration parameters for Quisk using the
# SDR-IQ by RfSpace as the capture device.
# Please do not change this sample file.
# Instead copy it to your own .quisk_conf.py and make changes there.
# See quisk_conf_defaults.py for more information.
# In ALSA, soundcards have these names:
#name_of_sound_play = "hw:0"
#name_of_sound_play = "hw:1"
#name_of_sound_play = "plughw"
#name_of_sound_play = "plughw:1"
#name_of_sound_play = "default"
# Pulseaudio support added by Philip G. Lee. Many thanks!
# For PulseAudio support, use the name "pulse" and connect the streams
# to your hardware devices using a program like pavucontrol
#name_of_sound_capt = "pulse"
use_sdriq = 1 # Use the SDR-IQ
#sdriq_name = "/dev/ft2450" # Name of the SDR-IQ device to open
sdriq_name = "/dev/ttyUSB2" # Name of the SDR-IQ device to open
sdriq_clock = 66666667.0 # actual sample rate (66666667 nominal)
sdriq_decimation = 1250 # Must be 360, 500, 600, or 1250
sample_rate = int(float(sdriq_clock) / sdriq_decimation + 0.5) # Don't change this
name_of_sound_capt = "" # We do not capture from the soundcard
name_of_sound_play = "hw:0" # Play back on this soundcard
playback_rate = 48000 # Radio sound play rate
channel_i = 0 # Soundcard index of left channel
channel_q = 1 # Soundcard index of right channel
display_fraction = 0.85 # The edges of the full bandwidth are not valid