portapack-mayhem / mayhem-firmware

Custom firmware for the HackRF+PortaPack H1/H2
GNU General Public License v3.0
3.02k stars 519 forks source link

Looking glass beep #2036

Closed gullradriel closed 3 months ago

gullradriel commented 3 months ago

This add a squelch based beep option on Looking Glass:

Can be seen here: https://discord.com/channels/719669764804444213/738371118204846131/1221545809179578418

Test bin here: https://discord.com/channels/719669764804444213/722101917135798312/1221552584704135219

gullradriel commented 3 months ago

That 'map' function I added should be templated somewhere, or maybe it already exists in the firmware ? I don't know how, so I duplicated it for now. I or someone else will update this in a future PR.

gullradriel commented 3 months ago

BTW, you might need to check your beep frequencies to see if they still sound good after changing the sampling rate.

Yes, thanks I did it. It's bit less high, but not bad. Time will tell if we need to adjust the map, but it should be good for a start :-)