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: Ralph A. Schmid, dk5ras
Subject: Re: [Discuss-gnuradio] First time user - fm radio tutorial has choppy audio
Date: Thu, 15 Jan 2015 07:15:46 +0100

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.

-----Original Message-----
From: Marcus D. Leech [mailto:address@hidden 
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







reply via email to

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