Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 16-04-2018, 08:54   #1
Registered User

Join Date: Jun 2017
Posts: 61
AIS CPA/TCPA Alarms not sounding

I have a USB speaker attached to my Reaspberry Pi and am running OpenCPN 4.8 (OpenPlotter 0.17). The speaker works fine and sounds when OpenPlotter starts or when I select a .wav or .mp3 file. I can play sounds from YouTube for instance but I cannot get the alarm to sound in OpenCPN.

I select either of the two built in .wav files (which sound OK if I select them from file manager) and then press Test Alert Sound but I hear nothing. The card is defined in /etc/asound.conf as card 1. In OpenCPN I have tried Options>User Interface>Sound Device Index as -1, 0, 1 and 2 and none of them result in a sound being heard when I press Test Alert Sound (Tools>Options>AIS Targets).

Any ideas how I can make this work? I don't have an AIS connected at home but I expected the Test button to work.

Many thanks
__________________

baltika_no_9 is offline   Reply With Quote
Old 20-04-2018, 01:10   #2
Registered User

Join Date: Jun 2017
Posts: 61
Re: AIS CPA/TCPA Alarms not sounding

Let me ask a simpler question then:

Can anyone confirm please that pressing the "Test Alert Sound" button actually does make a sound?

Many thanks
__________________

baltika_no_9 is offline   Reply With Quote
Old 20-04-2018, 01:26   #3
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 3,094
Re: AIS CPA/TCPA Alarms not sounding

Just tested with our macMini and it works..
bcn is online now   Reply With Quote
Old 20-04-2018, 01:35   #4
Registered User

Join Date: Jun 2017
Posts: 61
Re: AIS CPA/TCPA Alarms not sounding

Quote:
Originally Posted by bcn View Post
Just tested with our macMini and it works..
Thanks for that. I wonder if there's a problem then on the Pi with a USB speaker.

Does that button call omxplayer to play the sound or another utility?
baltika_no_9 is offline   Reply With Quote
Old 20-04-2018, 03:29   #5
Registered User

Join Date: Jan 2011
Location: UK/France
Boat: Gib'Sea 402
Posts: 294
Re: AIS CPA/TCPA Alarms not sounding

OK on W10 as well.

When I set up my RPi's with OP the HDMI sound was not working. I did find online how to enable it, but now can't remember how. Does your HDMI sound output work?
hoolie is offline   Reply With Quote
Old 20-04-2018, 03:54   #6
Registered User

Join Date: Jun 2017
Posts: 61
Re: AIS CPA/TCPA Alarms not sounding

Quote:
Originally Posted by hoolie View Post
OK on W10 as well.

When I set up my RPi's with OP the HDMI sound was not working. I did find online how to enable it, but now can't remember how. Does your HDMI sound output work?
Good point, the HDMI check is something I haven't tried but will do. Every other application on the Pi that generates a sounds works perfectly well with the USB speaker except OP.

I'd like to find what app OpenPlotter calls to manipulate the .WAV files but have had no luck yet. I assumed it was omxplayer but not certain.

I will try the HDMI option.
Thanks
__________________

baltika_no_9 is offline   Reply With Quote
Reply

Tags
ais, alarm

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
AIS and CPA / TCPA rramsey OpenCPN 10 02-06-2017 01:11
AIS CPA and TCPA not showing gstent Marine Electronics 14 31-05-2017 00:04
CPA and TCPA of RADAR targets not equipped with AIS Alby1714 Marine Electronics 15 15-05-2015 07:22
CPA / TCPA calculation to any point on map 3rw1n OpenCPN 7 08-03-2014 00:55
AIS CPA/TCPA phiggins Navigation 3 23-06-2008 07:24



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 12:18.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2018, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.