Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mpentler opened this issue Oct 22, 2024 · 2 comments
Open
Labels
enhancement New feature or request

Comments

@mpentler
Copy link

mpentler commented Oct 22, 2024

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 mpentler added the bug Something isn't working label Oct 22, 2024
@AlexandreRouma
Copy link
Owner

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 AlexandreRouma added enhancement New feature or request and removed bug Something isn't working labels Oct 22, 2024
@AlexandreRouma AlexandreRouma changed the title uInt8 baseband recording appears to play back at twice the speed Support playing back WAVs using sample types other than int8 or float32 Oct 22, 2024
@mpentler
Copy link
Author

Copy that!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants