Audio Source

From GNU Radio
Jump to navigation Jump to search

Acts as a microphone input. See Audio Sink for a block that outputs to a speaker.

Not all sampling rates will be supported by your hardware. The audio source can have multiple outputs depending upon your hardware. For example, set the outputs to 2 for stereo audio.

Parameters

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.
Device Name
Leave the device name blank to choose default audio device. Other typical choices include:
  1. pulse
  2. hw:0,0
  3. plughw:0,0
  4. surround51
  5. /dev/dsp
ALSA users with audio trouble may try setting the device name to plughw:0,0
OK to Block
On by default, which should be used when this sink is not throttled by any other block.