SDRPlusPlus icon indicating copy to clipboard operation
SDRPlusPlus copied to clipboard

Support playing back WAVs using sample types other than int8 or float32

Open mpentler opened this issue 1 year ago • 2 comments

Hardware

  • CPU: Intel Core i7
  • RAM: 16 GB
  • GPU: RTX 4070
  • SDR: Local, HackRF

Software

  • Operating System: Name + Exact version: Windows 11 x64 (up to date)
  • SDR++: Version + Build date: 1.2.0 oct 22nd 2024 nightly

Bug Description I have recorded a 10 MHz chunk of the FM broadcast spectrum with a HackRF in uint8 format to save space. Upon loading this file back into SDR++ and hitting play the file plays back at what I perceive to be twice the speed.

Steps To Reproduce

  1. Select radio and tune a centre frequency with a selected sample rate
  2. Change recording format to baseband, uInt8
  3. Record some minutes of baseband
  4. Load this baseband in using the File source and hit play

Additional info I have not tested any other sample rates or SDRs as I need to do something very specific tonight so I have just gone with Int16 for now. I can test other things on request and have an RSP1a, an RSP1 clone, and an RTL-SDR stick available.

mpentler avatar Oct 22 '24 23:10 mpentler

not a bug, the file player simply only supports int16 and float32. I'll change this to a feature request for supporting other bit depths.

AlexandreRouma avatar Oct 22 '24 23:10 AlexandreRouma

Copy that!

mpentler avatar Oct 22 '24 23:10 mpentler