Discussion:
[wsjt-devel] *.c2 files
Claude Frantz
2015-07-02 10:33:24 UTC
Permalink
What is the format of the *.c2 files ? How can they be converted to a
more common format, e.g. using a tool like sox ?

Thanks a lot !

Best 88 de Claude
Bill Somerville
2015-07-02 14:22:39 UTC
Permalink
Post by Claude Frantz
What is the format of the *.c2 files ? How can they be converted to a
more common format, e.g. using a tool like sox ?
AFAIK it is an internally defined format. The contents are the complex
time domain signal after an initial filter and down sample. It is used
simply to transfer the contents of the Rx sample buffer to the WSPR decoder.

It is not meant to be used as an externally readable format although the
wsprd program can read files of that format and produce decodes for a
period.
Post by Claude Frantz
Thanks a lot !
Best 88 de Claude
73
Bill
G4WJS.
Steven Franke
2015-07-02 15:00:37 UTC
Permalink
Claude,
Post by Bill Somerville
Post by Claude Frantz
What is the format of the *.c2 files ? How can they be converted to a
more common format, e.g. using a tool like sox ?
AFAIK it is an internally defined format. The contents are the complex
time domain signal after an initial filter and down sample. It is used
simply to transfer the contents of the Rx sample buffer to the WSPR decoder.
At the moment, I think we’re decoding the .wav file that is written at the end of the period.
Post by Bill Somerville
It is not meant to be used as an externally readable format although the
wsprd program can read files of that format and produce decodes for a
period.
The advantage of the .c2 file format is that it’s about 1/8 the size of a .wav file. Whereas the .wav files used by wspr represent real-valued samples at 12 kS/s rate, the .c2 file contains complex samples at 375 S/s rate (1/32 of 12 kS/s), corresponding to the complex signal obtained after quadrature-downconverting a slice of the spectrum with bandwidth 375 Hz centered on 1500 Hz.

If you’d like to see examples of how to read and write c2 files, check out the routines in wsprd.c in the development branch wsjtx.
Post by Bill Somerville
Post by Claude Frantz
Thanks a lot !
Best 88 de Claude
73
Bill
G4WJS.
Steve k9an
Post by Bill Somerville
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
wsjt-devel mailing list
https://lists.sourceforge.net/lists/listinfo/wsjt-devel
Loading...