zexinliao / opentx

Automatically exported from code.google.com/p/opentx
0 stars 0 forks source link

CF to play sound when throttle over certain level - sound also fires on bootup #176

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Which board (stock / gruvin9x / sky9x / Taranis) are you using?
Taranis
What is your openTx FW version?
2834
What is your openTx EEPROM version?

What steps will reproduce the problem?
1.Create a CS that fires when throttle above a certain level
2.Create a CF to play a sound when the CS is triggered
3.

What is the expected output? What do you see instead?
I expect the sound to play ONLY when throttle rises above set level. Instead, 
the sound ALSO plays upon bootup
Please provide any additional information below.

Original issue reported on code.google.com by tmikemat...@comcast.net on 31 Oct 2013 at 6:23

Attachments:

GoogleCodeExporter commented 8 years ago
This issue occurs using the Play Track function. Not sure if same issue occurs 
using the Play Sound function.

Original comment by tmikemat...@comcast.net on 31 Oct 2013 at 6:32

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
OK - seems that if I use a -100 to +100 scale on the throttle, the sound plays 
at boot. I have read on the forums (but not tried myself) that if I set my 
throttle scale to 0 to 100 it works as expected. Seems the negative value 
causes the play on boot.

Original comment by tmikemat...@comcast.net on 31 Oct 2013 at 8:32

GoogleCodeExporter commented 8 years ago
See this issue:
https://code.google.com/p/opentx/issues/detail?id=169

Original comment by tmikemat...@comcast.net on 1 Nov 2013 at 3:49

GoogleCodeExporter commented 8 years ago
Does your issue also occur if you change models or reset the flight?

Original comment by Racingth...@gmail.com on 1 Nov 2013 at 3:59

GoogleCodeExporter commented 8 years ago
I will have to test when I get home

Original comment by tmikemat...@comcast.net on 1 Nov 2013 at 4:11

GoogleCodeExporter commented 8 years ago
The similar issue I linked seems to be related, although he is referring to 
switches, so my statement "Seems the negative value causes the play on boot" 
should also apply to the switches since they have a negative and positive value.

Original comment by tmikemat...@comcast.net on 1 Nov 2013 at 4:13

GoogleCodeExporter commented 8 years ago
No, it does not occur changing models, either into or out of the model with the 
throttle sound.

Original comment by tmikemat...@comcast.net on 2 Nov 2013 at 4:39

GoogleCodeExporter commented 8 years ago
Doesn't occur when resetting flight either.

Original comment by tmikemat...@comcast.net on 2 Nov 2013 at 4:40