GUI Application for FreeDV – open source digital voice for HF radio
 
 
 
 
 
 
Go to file
drowe67 33ee705d71
use codec2/master
2019-08-12 05:52:21 +09:30
cmake Add BuildLPCNet.cmake file. 2019-05-04 06:57:33 -05:00
contrib Gnome software indexing comment line, thanks Maitland 2017-09-05 00:22:13 +00:00
db Rename fdmdv2 to freedv. 2015-08-13 13:07:43 +00:00
debian tweaked debian files to get building on Ubuntu 16 with strange problem finding libraries. Review this later 2017-07-26 00:42:09 +00:00
docker script to automate building and upload on Windows versions 2019-08-09 07:08:28 +09:30
script initial demo spotting script 2015-09-15 02:34:28 +00:00
src run time swicthing of VQEQ off and on 2019-08-11 08:02:28 +09:30
wav added some test wave files 2019-05-07 18:51:58 +09:30
.travis.yml added some test wave files 2019-05-07 18:51:58 +09:30
CMakeLists.txt added git hash to package name 2019-06-02 06:41:35 +09:30
COPYING Rename fdmdv2 to freedv. 2015-08-13 13:07:43 +00:00
README.md first pass at building 64 bit windows freedv-gui using Docker 2019-07-26 08:39:20 +09:30
README.osx Debian packaging for freedv, thanks Stuart 2015-08-30 20:35:08 +00:00
USER_MANUAL.md added display for variance to test VQ EQ in real time. Haven't tested yet 2019-08-11 07:45:15 +09:30
build_linux.sh use codec2/master 2019-08-12 05:52:21 +09:30
build_windows.sh removed CLEAN option as I don't think it can work given the codec2/LPCNet bootstrap process 2019-07-28 09:04:20 +09:30
build_windows_old.sh script to build old windows versions, with zip file output. Useful for testing 2019-06-03 06:57:46 +09:30
configure_speexdsp_osx.sh Added svn:executable property to configure_speexdsp_osx.sh 2017-07-21 00:13:14 +00:00

README.md

Building FreeDV GUI

This document describes how to build the FreeDV GUI program for various operating systems. FreeDV GUI is developed on Ubuntu Linux, and then cross compiled for Windows using Fedora Linux (Fedora has great cross compiling support).

Further Reading

  • http://freedv.org - introduction, documentation, downloads
  • USER_MANUAL.txt - FreeDV GUI Manual

Building and installing on Ubuntu Linux (16-18)

$ sudo apt install libc6-i386 libspeexdsp-dev libsamplerate0-dev sox git \
libwxgtk3.0-dev portaudio19-dev libhamlib-dev libasound2-dev libao-dev \
libgsm1-dev libsndfile-dev cmake
$ ./build_linux.sh

Building and installing on Fedora Linux

$ sudo dnf groupinstall "Development Tools"
$ sudo dnf install cmake wxGTK3-devel portaudio-devel libsamplerate-devel \
  libsndfile-devel speexdsp-devel hamlib-devel alsa-lib-devel libao-devel \
  gsm-devel
$ ./build_linux.sh

Run FreeDV:

$ ./build_linux/src/freedv

The wav directory contains test files of modulated audio that you can use to test FreeDV (see USER_MANUAL.txt)

Building for Windows on Fedora (Cross compiling)

Install basic MinGW development packages:

  $ sudo dnf install mingw{32,64}-filesystem mingw{32,64}-binutils \
    mingw{32,64}-gcc mingw{32,64}-crt mingw{32,64}-headers mingw32-nsis

Install dependencies of FreeDV/Codec2:

  $ sudo dnf install mingw{32,64}-speex

Enable Freetel specific packages not currently in Fedora proper:

  $ sudo dnf install dnf-plugins-core
  $ sudo dnf copr enable hobbes1069/mingw
  $ sudo dnf install mingw{32,64}-wxWidgets3 mingw{32,64}-hamlib \
    mingw{32,64}-portaudio mingw{32,64}-libsndfile mingw{32,64}-libsamplerate.noarch

Clone freedv-gui:

  $ cd
  $ git clone https://github.com/drowe67/freedv-gui.git

Building FreeDV for 64 Bit windows:

  $ cd ~/freedv-gui
  $ ./build_windows.sh
  $ cd build_win64
  $ make package

OR Building FreeDV for 32 Bit windows:

  $ cd ~/freedv-gui
  $ CMAKE=mingw32-cmake ./build_windows.sh
  $ cd build_win32
  $ make package

Testing Windows Build

Conveniently, it is possible to run Windows executables using Wine on Fedora:

Testing LPCNet:

  $ cd ~/freedv-gui/LPCNet/build_win/src
  $ WINEPATH=$HOME/freedv-gui/codec2/build_win/src';'$HOME/freedv-gui/build_win/_CPack_Packages/win64/NSIS/FreeDV-1.4.0-devel-win64/bin/ wine lpcnet_enc.exe --infile all.wav --outfile all.bit
  $ WINEPATH=$HOME/freedv-gui/codec2/build_win/src';'$HOME/freedv-gui/build_win/_CPack_Packages/win64/NSIS/FreeDV-1.4.0-devel-win64/bin/ wine lpcnet_dec.exe --infile all.bin --outfile all_out.raw
  $ cat all_out.raw | aplay -f S16_LE -r 16000

Testing FreeDV API:

  $ cd freedv-gui/codec2/build_win/src
  $ WINEPATH=$HOME/freedv-gui/LPCNet/build_win/src';'$HOME/freedv-gui/build_win/_CPack_Packages/win64/NSIS/FreeDV-1.4.0-devel-win64/bin/ wine freedv_rx 2020 ~/freedv-gui/wav/all_2020.wav out.raw
  $ play -t .s16 -r 16000 -b 16 out.raw

Building for Windows using Docker

The Windows build process above has been automated using a Docker container, see docker/README.md

Building and installing on OSX

Please see README.osx

Building and installing on FreeBSD

In build_linux.sh change the build_linux directory to build_freebsd