OpenMarine
Do your AIS sound alerts work? - Printable Version

+- OpenMarine (https://forum.openmarine.net)
+-- Forum: OpenPlotter (https://forum.openmarine.net/forumdisplay.php?fid=1)
+--- Forum: General discussion (https://forum.openmarine.net/forumdisplay.php?fid=2)
+--- Thread: Do your AIS sound alerts work? (/showthread.php?tid=1148)

Pages: 1 2


RE: Do your AIS sound alerts work? - PaddyB - 2018-05-15

(2018-05-15, 10:24 AM)jim321 Wrote: i dont understand but the files are in /usr/share/opencpn/sounds/2bells.wav

Just checking to see of my files are the same (I might have changed them and forgot..)

Maybe someone could put 


Code:
aplay /usr/share/opencpn/sounds/2bells.wav -v 

in a terminal and post the output? 
I get - 
Code:
$ aplay /usr/share/opencpn/sounds/2bells.wav -v
Playing WAVE '/usr/share/opencpn/sounds/2bells.wav' : Signed 16 bit Little Endian, Rate 22050 Hz, Mono
aplay: set_params:1239: Channels count non available
Ta


RE: Do your AIS sound alerts work? - jim321 - 2018-05-15

Code:
pi@openplotter:~ $ aplay /usr/share/opencpn/sounds/2bells.wav -v
Playing WAVE '/usr/share/opencpn/sounds/2bells.wav' : Signed 16 bit Little Endian, Rate 22050 Hz, Mono
ALSA <-> PulseAudio PCM I/O Plugin
Its setup is:
 stream       : PLAYBACK
 access       : RW_INTERLEAVED
 format       : S16_LE
 subformat    : STD
 channels     : 1
 rate         : 22050
 exact rate   : 22050 (22050/1)
 msbits       : 16
 buffer_size  : 11025
 period_size  : 2756
 period_time  : 125000
 tstamp_mode  : NONE
 period_step  : 1
 avail_min    : 2756
 period_event : 0
 start_threshold  : 11025
 stop_threshold   : 11025
 silence_threshold: 0
 silence_size : 0
 boundary     : 1445068800
^CAborted by signal Interrupt...



RE: Do your AIS sound alerts work? - PaddyB - 2018-05-15

(2018-05-15, 12:56 PM)jim321 Wrote:
Code:
pi@openplotter:~ $ aplay /usr/share/opencpn/sounds/2bells.wav -v
Playing WAVE '/usr/share/opencpn/sounds/2bells.wav' : Signed 16 bit Little Endian, Rate 22050 Hz, Mono
ALSA <-> PulseAudio PCM I/O Plugin
Its setup is:
 stream       : PLAYBACK
 access       : RW_INTERLEAVED
 format       : S16_LE
 subformat    : STD
 channels     : 1
 rate         : 22050
 exact rate   : 22050 (22050/1)
 msbits       : 16
 buffer_size  : 11025
 period_size  : 2756
 period_time  : 125000
 tstamp_mode  : NONE
 period_step  : 1
 avail_min    : 2756
 period_event : 0
 start_threshold  : 11025
 stop_threshold   : 11025
 silence_threshold: 0
 silence_size : 0
 boundary     : 1445068800
^CAborted by signal Interrupt...

Thanks!  Cool


RE: Do your AIS sound alerts work? - baltika_no_9 - 2018-05-16

Well I now have this working. Brief description of the solution I posted in the OCPN forum.

http://www.cruisersforum.com/forums/showthread.php?p=2633185&posted=1#post2633185

Thanks to all for your generous help.

Chris