Skip to content

Instantly share code, notes, and snippets.

@csete
Created February 22, 2011 16:42
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save csete/838939 to your computer and use it in GitHub Desktop.
Save csete/838939 to your computer and use it in GitHub Desktop.
Quisk configuration file for Funcube Dongle
# Custom quisk_conf.py configuration file for Funcube Dongle.
# See quisk_conf_defaults.py for more information.
# In ALSA, soundcards have these names. The "hw" devices are the raw
# hardware devices, and should be used for soundcard capture.
#name_of_sound_capt = "hw:0"
#name_of_sound_capt = "hw:1"
#name_of_sound_capt = "plughw"
#name_of_sound_capt = "plughw:1"
#name_of_sound_capt = "default"
sample_rate = 96000 # ADC hardware sample rate in Hertz
name_of_sound_capt = "hw:1" # Name of soundcard capture hardware device.
name_of_sound_play = "default" # Use the same device for play back
channel_i = 0 # Soundcard index of in-phase channel: 0, 1, 2, ...
channel_q = 1 # Soundcard index of quadrature channel: 0, 1, 2, ...
# The width of the graph data as a fraction of the total screen size. This
# will be adjusted by Quisk to accommodate preferred FFT sizes. It can
# not be changed once Quisk starts. It can not be made too small because
# of the space needed for all the buttons. If you have two displays, Quisk
# will try to fill both, so set graph_width to 0.4 or smaller.
graph_width = 0.7
# Select the way the waterfall screen scrolls:
waterfall_scroll_mode = 0 # scroll at a constant rate.
#waterfall_scroll_mode = 1 # scroll faster at the top so that a new signal appears sooner.
# Select the initial size in pixels (minimum 1) of the graph at the top of the waterfall.
waterfall_graph_size = 120
# Define colors used by all widgets in wxPython colour format:
color_bg = (0xF2,0xF1,0xF0) # Lower screen background (eliminated)
color_graph = (0xFF,0xF9,0xFF) # Graph background
color_fft = (0x4c,0x4c,0xff)
color_gl = (0xB2,0xB2,0xB2) # Lines on the graph
color_tick = 'black'
color_freq = (255,255,255) # background color of frequency and s-meter
color_entry = color_freq # frequency entry box
# These are the palettes for the waterfall. The one used is named waterfallPallette,
# so to use a different one, overwrite this name in your .quisk_conf.py.
waterfallPalette = (
( 0, 0, 0, 0),
( 36, 85, 0, 255),
( 73, 153, 0, 255),
(109, 255, 0, 128),
(146, 255, 119, 0),
(182, 85, 255, 100),
(219, 255, 255, 0),
(255, 255, 255, 255)
)
digipanWaterfallPalette = (
( 0, 0, 0, 0),
( 32, 0, 0, 62),
( 64, 0, 0, 126),
( 96, 145, 142, 96),
(128, 181, 184, 48),
(160, 223, 226, 105),
(192, 254, 254, 4),
(255, 255, 58, 0)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment