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

Reply via email to