kamalmostafa / minimodem

general-purpose software audio FSK modem
http://www.whence.com/minimodem
Other
837 stars 111 forks source link

Long delay exiting in piped mode on Rpi2 #25

Open dcm1104 opened 7 years ago

dcm1104 commented 7 years ago

I am trying to transmit portions of standard NMEA sentences like so:

pi@raspberrypi ~/gpslhf $ echo "4135.1898,N,09342.6185,W" | minimodem -t 1200

I get a long delay after the end of the tone -- between 10 and 12 seconds before the command prompt is available again. The exact same command on my laptop exits as soon as the tones complete.

The behavior is the same whether the audio device is an external usb, built-in, or through the HDMI.

dcm1104 commented 7 years ago

BTW - pi@raspberrypi ~/gpslhf $ uname -a Linux raspberrypi 4.1.19+ #858 Tue Mar 15 15:52:03 GMT 2016 armv6l GNU/Linux

yodakohl commented 7 years ago

I just tested this on my pi zero and it's working fine. However I don't have pulseaudio running, so I'm using the -A option for alsa playback. echo "4135.1898,N,09342.6185,W" | minimodem -A -t 1200

dcm1104 commented 7 years ago

I have minimodem 0.8.1 running from apt-get. I don't have a -A option. I'll see about getting a later version running.
(I'm assuming 0.24 > 0.8.1) Thanks yodakohl