OpenMarine

Full Version: Do your AIS sound alerts work?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
(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
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...
(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
Well I now have this working. Brief description of the solution I posted in the OCPN forum.

http://www.cruisersforum.com/forums/show...ost2633185

Thanks to all for your generous help.

Chris
Pages: 1 2