# PSK31 with GNU Radio

**URL:** <https://www.ruby-forum.com/t/psk31-with-gnu-radio/123521>\
**Category:** GNU Radio\
**Created:** [December 18, 2007, 12:20pm UTC](https://www.ruby-forum.com/t/psk31-with-gnu-radio/123521 "2007-12-18T12:20:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dan\_MD1CLV](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/cdc98d/32.png) [@Dan\_MD1CLV](https://www.ruby-forum.com/u/Dan_MD1CLV)\
**Post date:** [December 18, 2007, 12:20pm UTC](https://www.ruby-forum.com/t/psk31-with-gnu-radio/123521/1 "2007-12-18T12:20:32Z")

</div>

Hi all,

Is anyone using GNURadio to modulate or demodulate PSK31? According to  
the archives, Chuck Swiger did have this working, but the page with his  
code on is gone and it isn’t archived on the wayback machine.

Thanks,

Dan

---

<div class="post-metadata">

**Author:** ![Dan\_MD1CLV](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/cdc98d/32.png) [@Dan\_MD1CLV](https://www.ruby-forum.com/u/Dan_MD1CLV)\
**Post date:** [December 19, 2007, 10:58pm UTC](https://www.ruby-forum.com/t/psk31-with-gnu-radio/123521/2 "2007-12-19T22:58:36Z")

</div>

Dan MD1CLV wrote:

> Hi all,
> 
> Is anyone using GNURadio to modulate or demodulate PSK31? According to  
> the archives, Chuck Swiger did have this working, but the page with his  
> code on is gone and it isn’t archived on the wayback machine.  
> Chuck has put up a new webpage at  
> [http://www.swigerco.com/](http://www.swigerco.com/)

The GnuRadio stuff is under

> **[gnuradio experiments](http://www.swigerco.com/gnuradio/index.html)**

But I can’t find the PSK31 stuff.  
On his old page it was at:  
[http://webpages.charter.net/cswiger/psk\_experiment.html](http://webpages.charter.net/cswiger/psk_experiment.html)

(I am very happy though that his GnuRadio vector analyzer info is back  
online)

I have successfully decoded PSK31 in the past using the following.  
Capture using Gnuradio to file.  
convert the file to a wav file using sox  
decode the file using some other opensource PSK31 program.

You can do all this in realtime if you use Pipes in stead of files.  
in pseudocode it would look something like this:  
mkfifo psk.raw  
mkfifo psk.wav  
usrp\_rx\_cfile.py [commandline options here] -s psk.raw  
sox [commandline options here] psk.raw -o psk.wav  
pskprogram psk.wav

It’s a while ago, so I don’t remember all settings I used.  
I think I captured to file in the short format (not in the float format)

Of course, much better is to implement PSK31 in the gnuradio framework.

Greetings,  
Martin
