jopohl / urh

Universal Radio Hacker: Investigate Wireless Protocols Like A Boss
GNU General Public License v3.0
10.85k stars 862 forks source link

Play .wav created from AOR receiver. #1095

Closed Yorch23 closed 8 months ago

Yorch23 commented 8 months ago

It would be possible to add playback in HackRF from URH of .wav files created with AOR receiver with the following characteristics (Not editable in aor): -30kHz Bandwidth (+/-15kHz) -38.4 kS. -16 bit

Thank you.

andynoack commented 8 months ago

Direct playback of 16 bit files is problematic as the HackRF only has 8 bit resolution. Generally URH should be able to send signals that can be loaded (also .wav files). Can you describe what happens when you hit the replay button?

Yorch23 commented 8 months ago

Hello, the resolution is not a problem, the problem is found in the bandwidth and the "Sample Rate", when I take captures in sdrsharp with a value greater than 2.0M, everything is ok. If the recording is with a value less than 2.0M, the transmitted carrier is deformed and is no longer valid. URH does not allow you to go below 2.0M to adjust to the recording IQ values, for example it does not allow you to play 1024M. I attach photos of the original signal obtained with AOR DV10 and reproduced directly in sdrsharp perfect and reproduced in hackrf you can see how the carrier widens above 12.5 "Bandwidth". URH_config Signal_capture Signal_original

andynoack commented 8 months ago

URH does not make sample rates below 2M accessible for the HackRF because they are not within the specification (see https://hackrf.readthedocs.io/en/latest/hackrf_one.html#features).

You could persuade URH by editing the dev/config.py but this is on your own and will not make it to an URH release of course.

Yorch23 commented 8 months ago

a ok!, thanks for you feedback.

andynoack commented 8 months ago

You are welcome!