On 01/15/2015 01:15 AM, Ralph A. Schmid, dk5ras wrote:
Only 44100 works, giving a clear dial tone. As DSD has fixed sampling rate 8k,
a resampler should do the trick. Things could be so easy :) I hate this audio
stuff...
Ralph.
If you use "plughw:0,0" as the hardware designator, it's often willing
to do resampling to the actual hardware rate.
-----Original Message-----
From: Marcus D. Leech [mailto:mle...@ripnet.com]
Sent: Thursday, January 15, 2015 06:41
To: Ralph A. Schmid, dk5ras; 'Tom Rondeau'
Cc: 'GNURadio Discussion List'
Subject: Re: [Discuss-gnuradio] First time user - fm radio tutorial has choppy
audio
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
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio