# This is a quisk_conf.py configuration file for the FiFi-SDR. import quisk_hardware_fifisdr as quisk_hardware sample_rate = 96000 # NOTE: Default sample width is 32-bits. # ADC hardware sample rate in Hertz # FiFiSDR does not play nice with PulseAudio - use Alsa device. name_of_sound_capt = "alsa:FiFi-SDR" # Name of soundcard capture hardware device (alsa:FiFi-SDR). name_of_sound_play = "pulse" # Use the pulseaudio for play back #name_of_sound_play = "pulse:alsa_output.pci-0000_00_14.2.analog-stereo" channel_i = 0 # Soundcard index of in-phase channel: 0, 1, 2, ... channel_q = 1 # Soundcard index of quadrature channel: 0, 1, 2, ... digital_output_name = "pulse" # device name for received audio #digital_output_name = "pulse:alsa_output.platform-snd_aloop.0.analog-stereo" # Send Digital audio via Alsa loopback # This is the CW tone frequency in Hertz cwTone = 800 # Quisk can save its current state in a file on exit, and restore it when you restart. # State includes band, frequency and mode, but not every item of state (not screen). # The file is .quisk_init.pkl in the same directory as your config file. If this file # becomes corrupted, just delete it and it will be reconstructed. persistent_state = True # This converts from dB to S-units for the S-meter (it is in S-units). correct_smeter = 18 ################ Bands # Band plans vary by country, so they can be changed here. # To change BandPlan in your config file, first remove any frequencies in the range # you want to change; then add your frequencies; and then sort the list. Or you could just # replace the whole list. # These are the suppressed carrier frequencies for 60 meters freq60 = (5330500, 5346500, 5357000, 5371500, 5403500) #freqLF = (135700, 472000) # Band plan BandPlan = [ # Test display of colors #[ 0, CW], [ 50000, eCW], [ 100000, Phone], [ 150000, ePhone], [ 200000, Data], [ 250000, DxData], [ 300000, RTTY], [ 350000, SSTV], #[ 400000, AM], [ 450000, Packet], [ 500000, Beacons], [ 550000, Satellite], [ 600000, Repeater], [ 650000, RepInput], [ 700000, Simplex], #[ 750000, Other], [ 800000, Special], [ 850000, None], # 2200, 630 meters # [ freqLF[0], Other], # [ freqLF[0] + 2100, None], # [ freqLF[1], Other], # [ freqLF[1] + 7000, None], # 2200 meters [ 135700, Other], [ 137800, None], # 630 meters [ 472000, Other], [ 479000, None], # 160 meters [ 1800000, Data], [ 1809000, Other], [ 1811000, CW], [ 1843000, Phone], [ 1908000, Other], [ 1912000, Phone], [ 1995000, Other], [ 2000000, None], # 80 meters [ 3500000, eCW], [ 3525000, CW], [ 3570000, Data], [ 3589000, DxData], [ 3591000, Data], [ 3600000, ePhone], [ 3790000, Other], [ 3800000, Phone], [ 3844000, SSTV], [ 3846000, Phone], [ 3880000, AM], [ 3890000, Phone], [ 4000000, None], # 60 meters [ freq60[0], Phone], [ freq60[0] + 2800, None], [ freq60[1], Phone], [ freq60[1] + 2800, None], [ freq60[2] - 5500, Other], [ freq60[2], Phone], [ freq60[2] + 2800, Other], [ freq60[2] + 9500, None], [ freq60[3], Phone], [ freq60[3] + 2800, None], [ freq60[4], Phone], [ freq60[4] + 2800, None], # 40 meters [ 7000000, eCW], [ 7025000, CW], [ 7039000, DxData], [ 7041000, CW], [ 7080000, Data], [ 7125000, ePhone], [ 7170000, SSTV], [ 7172000, ePhone], [ 7175000, Phone], [ 7285000, AM], [ 7295000, Phone], [ 7300000, None], # 30 meters [10100000, CW], [10130000, RTTY], [10140000, Packet], [10150000, None], # 20 meters [14000000, eCW], [14025000, CW], [14070000, RTTY], [14095000, Packet], [14099500, Other], [14100500, Packet], [14112000, CW], [14150000, ePhone], [14225000, Phone], [14229000, SSTV], [14231000, Phone], [14281000, AM], [14291000, Phone], [14350000, None], # 17 meters [18068000, CW], [18100000, RTTY], [18105000, Packet], [18110000, Phone], [18168000, None], # 15 meters [21000000, eCW], [21025000, CW], [21070000, RTTY], [21110000, CW], [21200000, ePhone], [21275000, Phone], [21339000, SSTV], [21341000, Phone], [21450000, None], # 12 meters [24890000, CW], [24920000, RTTY], [24925000, Packet], [24930000, Phone], [24990000, None], # 10 meters [28000000, CW], [28070000, RTTY], [28150000, CW], [28200000, Beacons], [28300000, Phone], [28679000, SSTV], [28681000, Phone], [29000000, AM], [29200000, Phone], [29300000, Satellite], [29520000, Repeater], [29590000, Simplex], [29610000, Repeater], [29700000, None], # 6 meters [50000000, Beacons], [50100000, Phone], [54000000, None], # 4 meters [70000000, Phone], [70500000, None], # 2 meters [144000000, CW], [144200000, Phone], [144275000, Beacons], [144300000, Satellite], [144380000, Special], [144400000, Satellite], [144500000, RepInput], [144900000, Other], [145100000, Repeater], [145500000, Other], [145800000, Satellite], [146010000, RepInput], [146400000, Simplex], [146510000, Special], # Simplex calling frequency [146530000, Simplex], [146610000, Repeater], [147420000, Simplex], [147600000, RepInput], [148000000, None], # 1.25 meters [222000000, Phone], [222250000, RepInput], [223400000, Simplex], [223520000, Data], [223640000, Repeater], [225000000, None], #70 centimeters [420000000, SSTV], [432000000, Satellite], [432070000, Phone], [432300000, Beacons], [432400000, Phone], [433000000, Repeater], [435000000, Satellite], [438000000, Repeater], [445900000, Simplex], [445990000, Special], # Simplex calling frequency [446010000, Simplex], [446100000, Repeater], [450000000, None], # 33 centimeters [902000000, Other], [928000000, None], # 23 centimeters [1240000000, Other], [1300000000, None], ] ## BandEdge Band Edge, dict # For each band, this dictionary gives the lower and upper band edges. Frequencies # outside these limits will not be remembered as the last frequency in the band. BandEdge = { '2200':( 135700, 137800), '630':( 472000, 479000), '160':( 1800000, 2000000), '80' :( 3500000, 4000000), '60' :( 5300000, 5430000), '40' :( 7000000, 7300000), '30' :(10100000, 10150000), '20' :(14000000, 14350000), '17' :(18068000, 18168000), '15' :(21000000, 21450000), '12' :(24890000, 24990000), '10' :(28000000, 29700000), '6' :( 50000000, 54000000), '4' :( 70000000, 70500000), '2' :( 144000000, 148000000), '1.25' :( 222000000, 225000000), '70cm' :( 420000000, 450000000), '33cm' :( 902000000, 928000000), '23cm' :(1240000000, 1300000000), } # For the Time band, this is the center frequency, tuning frequency and mode: bandTime = [ ( 2500000-10000, 10000, 'AM'), ( 3330000-10000, 10000, 'USB'), ( 5000000-10000, 10000, 'AM'), ( 7850000-10000, 10000, 'USB'), (10000000-10000, 10000, 'AM'), (14670000-10000, 10000, 'USB'), (15000000-10000, 10000, 'AM'), (20000000-10000, 10000, 'AM'), (25000000-10000, 10000, 'AM'), ] ## bandLabels Band Buttons, list # This is the list of band buttons that Quisk displays, and it should have # a length of 14 or less. Empty buttons can have a null string "" label. # Note that the 60 meter band and the Time band have buttons that support # multiple presses. bandLabels = [ # 'Audio', # ('LF',) * 2, # '2200', '630', '160', '80', ('60',) * 5, '40', '30', '20', '17', '15', '12', '10', '6', # '2', ('Time',) * len(bandTime)]