Audio Sink

From GNU Radio
Revision as of 23:06, 3 May 2019 by 777arc (talk | contribs)
Jump to navigation Jump to search

Allows a signal to be played through your speakers or other audio device


  1. Sample Rate: Audio sampling rate used, click the drop-down menu to see popular rates. Note, not all sampling rates will be supported by your hardware. For typical applications, this should be set to 48kHz.
  2. Device Name: Leave the device name blank to choose default audio device. ALSA users with audio trouble may try setting the device name to plughw:0,0
  3. OK to Block: On by default, which should be used when the source is not throttled, e.g. generating a signal within GNU Radio or reading it from a file, meaning the audio sink has to be responsible for deciding when it's time to take more samples. If it's set to Off, then the Audio Sink will discard samples rather than the internal buffers filling up and causing the RF source block to have to discard them instead.
  4. Num Inputs: The audio sink can have multiple inputs depending upon your hardware. For example, set the inputs to 2 for stereo audio, or 1 for mono.

For issues or debugging see

Example Flowgraph

This flowgraph should play a 1 kHz tone out of your speakers. Note that you don't need a throttle block, the Audio Sink should throttle for you.