This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Do your AIS sound alerts work?
#11
(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
Reply
#12
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...
Reply
#13
(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
Reply
#14
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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)