righthalfplane / SdrGlut

SdrGlut is a simple software defined radio - using glut and glui for its interface
MIT License
86 stars 15 forks source link

SDR File Format? #3

Closed dbnut closed 4 years ago

dbnut commented 4 years ago

Hi, Dale. Please explain what file formats SdrGlut can read? Paul

righthalfplane commented 4 years ago

SdrGlut reads/writes 4 byte floating point in pairs with the real followed by the imaginary. It is in a single array declared by a (float *) statement in C. The file names have the center frequency and the sample rate.

dbnut commented 4 years ago

Thanks for that. Sorry, little-endian? I'll try this soon.

righthalfplane commented 4 years ago

This video shows the saving and the loading of the I/Q files -

https://www.youtube.com/watch?v=zxgcRjTahcA

The program uses whatever the machine it is running on uses - they are almost all little-endian. When the Macintosh was big-endian, I made my programs do both, but now it is little-endian - so I do not bother anymore.

dbnut commented 4 years ago

Mmm, I skipped too fast through that video first time around. Nice job. I'll have to see if some other RAW files will play back in yours, and whether my GNYRadio flow can handle SdrGlut files! Just a suggestion... Playback timeline, set marks A & B, keep replaying that segment to catch an ID or whatever. Will close now. Many thanks, Dale.