Trail-Sense icon indicating copy to clipboard operation
Trail-Sense copied to clipboard

Feature request: Custom morse code

Open kylecorry31 opened this issue 2 years ago • 4 comments

This was suggested by a user on Google Play.

Allow flashlight and whistle to play a custom morse code message.

More research is needed before I decide to add this feature:

  • [ ] Do search and rescue teams use morse code to communicate with the person they are trying to rescue? If so, why and how often?
  • [ ] What benefits would this add to Trail Sense? (ex. long distance communication at night with a flashlight - but is that really necessary + users would need to know how to read morse code)
  • [ ] Are there any other use cases which this would be beneficial for? (adjacent to TS' use cases)

kylecorry31 avatar Dec 17 '22 14:12 kylecorry31

I think it would be interesting for long distance communication, especially if you would have a way to decode messages as well. Maybe by using the camera with a "scan" field, similar to the QR-Code readers, where an algorithmy is decoding the brightest flashes as morse code. This would make communication over a distance at night possible, even without any network. Would probably be a different issue, but just something that came to mind.

Portagoras avatar Feb 19 '23 02:02 Portagoras

@Portagoras interesting idea, I will need to experiment with how accurately the camera can pick up flashes from a phone's light at night over long distances

kylecorry31 avatar Feb 19 '23 11:02 kylecorry31

...using the camera with a "scan" field, similar to the QR-Code readers, where an algorithm is decoding the brightest flashes as morse code. This would make communication over a distance at night possible, even without any network.

I was also wondering this.

The app linked in #804 does not appear to ingest light from the camera. I have no idea whether it can even be done reliably.

michaelblyons avatar Dec 01 '23 19:12 michaelblyons

Flashdim has a custom morse code flashlight output feature if you want an example of an implementation. https://github.com/cyb3rko/flashdim#features

detecting morse code with a camera seems like a harder problem.

anon2828226 avatar Jan 24 '24 07:01 anon2828226