discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] First time user - fm radio tutorial has choppy au


From: Marcus D. Leech
Subject: Re: [Discuss-gnuradio] First time user - fm radio tutorial has choppy audio
Date: Thu, 15 Jan 2015 00:40:51 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0

On 01/15/2015 12:29 AM, Ralph A. Schmid, dk5ras wrote:
One could just try dial_tone.py example.  That will exercise the audio 
subsystem.
Output is some garbled noise, and

python$ python dial_tone.py
INFO: Audio sink arch: alsa
aUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaU

So my audio stuff is defective, good to know :)

For alsa, in the device field in the audio sink, try something like
hw:0,0  or plughw:0,0
Seems to be alsa already...hmm...so this comes later.

Ralph.


It may just be that your audio-subsystem doesn't actually support the sample-rate that the graph is configuring it for.

Here's the --help for dial_tone.py

Usage: dial_tone.py [options]

Options:
  -h, --help            show this help message and exit
  -O AUDIO_OUTPUT, --audio-output=AUDIO_OUTPUT
                        pcm output device name.  E.g., hw:0,0 or /dev/dsp
  -r SAMPLE_RATE, --sample-rate=SAMPLE_RATE
                        set sample rate to RATE (48000)



Looks like the default is 48e3

Try other rates, like 44.1e3  or 32e3






reply via email to

[Prev in Thread] Current Thread [Next in Thread]