Open the device via open(). Get the highest and lowest supported frequency of the radio: get_freq_min() and get_freq_max(). Set the frequency with set_frequency(). Listen or record. Close with close().