debian/0000755000000000000000000000000012216350377007174 5ustar debian/watch0000644000000000000000000000031312036617124010216 0ustar # See uscan(1) for format # Compulsory line, this is a version 3 file version=3 # Uncomment to examine a Webpage # http://www.whence.com/minimodem minimodem-(.*)\.tar\.gz debian/source/0000755000000000000000000000000012036617065010474 5ustar debian/source/options0000644000000000000000000000017312036617065012113 0ustar # omit testdata/ and src/run-test script out of the source package extend-diff-ignore = "debian/|testdata/|src/run-test" debian/source/format0000644000000000000000000000001412036617065011702 0ustar 3.0 (quilt) debian/control0000644000000000000000000000223512155373720010600 0ustar Source: minimodem Section: comm Priority: optional Maintainer: Kamal Mostafa Build-Depends: debhelper (>= 7.0.50~), libfftw3-dev, libpulse-dev, libasound2-dev [linux-any], libsndfile1-dev Standards-Version: 3.9.4 Homepage: http://www.whence.com/minimodem Vcs-Git: git://git.whence.com/minimodem Vcs-Browser: http://git.whence.com/?p=minimodem;a=summary Package: minimodem Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Suggests: pulseaudio Description: general-purpose software audio FSK modem Minimodem is a command-line program which decodes (or generates) audio modem tones at any specified baud rate, using various framing protocols. It acts a general-purpose software FSK modem, and includes support for various standard FSK protocols such as Bell103, Bell202, RTTY, NOAA SAME, and Caller-ID. . Minimodem can play and capture audio modem tones in real-time via the system audio device, or in batched mode via audio files. . Minimodem can be used to transfer data between nearby computers using an audio cable (or just via sound waves), or between remote computers using radio, telephone, or another audio communications medium. debian/docs0000644000000000000000000000001412036617065010042 0ustar NEWS README debian/compat0000644000000000000000000000000212036617065010372 0ustar 7 debian/copyright0000644000000000000000000000217712155373521011134 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: minimodem Upstream-Contact: Kamal Mostafa Source: http://www.whence.com/minimodem Files: * Copyright: 2011-2013 Kamal Mostafa License: GPL-3.0+ Files: debian/* Copyright: 2011-2013 Kamal Mostafa License: GPL-3.0+ License: GPL-3.0+ This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . . On Debian systems, the full text of the GNU General Public License version 3 can be found in the file "/usr/share/common-licenses/GPL-3". debian/changelog0000644000000000000000000001656112216350213011044 0ustar minimodem (0.19-1) unstable; urgency=low * minimodem new command line switch: -7 implements 7-bit ASCII * fixed --baudot command line switch -- Kamal Mostafa Wed, 18 Sep 2013 09:08:47 -0700 minimodem (0.18-1) unstable; urgency=low * minimodem --tx SAME emits 16 sync-byte preamble -- Kamal Mostafa Mon, 10 Jun 2013 09:28:20 -0700 minimodem (0.17.1-1) unstable; urgency=low * (portability) link with -lm explicitly - unbreaks Ubuntu 13.04 build. -- Kamal Mostafa Thu, 21 Mar 2013 13:06:42 -0700 minimodem (0.17-1) unstable; urgency=low * handle arbitrary --startbits N -- Kamal Mostafa Wed, 20 Mar 2013 12:07:13 -0700 minimodem (0.16.1-1) unstable; urgency=low * do not induce 'setitimer new_value NULL' kernel warning -- Kamal Mostafa Fri, 25 Jan 2013 15:06:54 -0800 minimodem (0.16-1) unstable; urgency=low * refine frame position if confidence falls * fix --tx mode startbits/stopbits handling * do not transmit leader tone if no startbit -- Kamal Mostafa Sat, 03 Nov 2012 14:29:11 -0700 minimodem (0.15.1-1) unstable; urgency=low * caller-ID parser fixes -- Kamal Mostafa Tue, 16 Oct 2012 18:09:49 -0700 minimodem (0.15-1) unstable; urgency=low * caller-ID support * fixed multibyte character and binary data transfer * stats are printed after ^C interrupt * portability fixes (thanks, Mike Tedesco) * minimodem new runtime command line switches: --rx callerid Bell202 CID 1200 bps --print-filter inhibit printing non-printable bytes -- Kamal Mostafa Fri, 05 Oct 2012 20:08:24 -0700 minimodem (0.14-1) unstable; urgency=low * general --rx performance enhancements * fix PulseAudio --tx latency (and intermittent white noise) * fix ALSA --rx latency some more; print '#' on underruns -- Kamal Mostafa Mon, 01 Oct 2012 21:12:47 -0700 minimodem (0.13.1-1) unstable; urgency=low * fix --tx non-interactive behavior (no timeout for --file)... again. -- Kamal Mostafa Mon, 10 Sep 2012 20:45:36 -0700 minimodem (0.13-1) unstable; urgency=low * added ALSA device selection via minimodem --alsa[=plughw:X,Y] * fixed ALSA latency * fixed --auto-carrier crash on positive-shift modes -- Kamal Mostafa Sun, 09 Sep 2012 18:35:42 -0700 minimodem (0.12.1-1) unstable; urgency=low * runtime performance fixes -- Kamal Mostafa Thu, 06 Sep 2012 16:45:14 -0700 minimodem (0.12-1) unstable; urgency=low * FSK signal acquisition precision enhancements * runtime performance enhancements * fixed automatic setting of samplerate from audio file * fixed defective --rx-one switch behavior * minimodem new and changed runtime command line switches: --rx same NOAA S.A.M.E. protocol -i, --inverted swaps the mark/space frequencies --startbits {n} --stopbits {n.n} *Note the -T synonym has been deprecated --sync-byte {0xXX} --binary-output -- Kamal Mostafa Wed, 05 Sep 2012 09:44:03 -0700 minimodem (0.11-1) unstable; urgency=low * new confidence algo: "SNR * (1-divergence)" - improved sensitivity: handles signal amplitudes down to FLT_EPSILON - improved noise rejection - tightened --rx signal analysis metrics * enabled ALSA soft-resampling * more 'make check' test cases * minimodem changed runtime command line switches: -c, --confidence new default reduced to 1.5 -T, --stopbits {m.n} was --txstopbits, now also evaluated for rx metrics * minimodem new runtime command line switches: -v, --volume {amplitude or 'E'} sets --tx output volume --rx-one quits after first carrier/no-carrier -- Kamal Mostafa Thu, 30 Aug 2012 16:30:41 -0700 minimodem (0.10.1-2) unstable; urgency=low * debian: enable build hardening flags -- Kamal Mostafa Tue, 21 Aug 2012 18:41:44 -0700 minimodem (0.10.1-1) unstable; urgency=low * better floating-point epsilon handling to fix (im)perfect test case failures on i386 * debian: build --without-alsa on non-Linux platforms like kfreebsd-* as their alsa-oss wrapper is insufficient -- Kamal Mostafa Sun, 19 Aug 2012 16:05:38 -0700 minimodem (0.10-1) unstable; urgency=low * new confidence algo ("SNR") * new performance vs. quality controls * significant --rx fsk analyzer performance improvements * minor --tx fsk generator performance improvements * more 'make check' test cases * minimodem new runtime command line switches: -c, --confidence {min-snr-threshold} default 2.0 -l, --limit {max-snr-search-limit} default 2.3 -- Kamal Mostafa Sun, 19 Aug 2012 08:58:07 -0700 minimodem (0.9-1) unstable; urgency=low * runtime configurable audio sample rate and system audio backend (PulseAudio or ALSA) * use 1024-element sine wave lookup table by default (for --tx only) * output 16-bit integer audio samples by default (for --tx only) * configure --with/out switches for {pulseaudio,alsa,sndfile,benchmarks} * internal sine wave benchmarks * more 'make check' test cases * minimodem new runtime command line switches: -R, --samplerate {rate} specify audio sample rate (default 48000) -A, --alsa use ALSA backend (default PulseAudio) --lut={tx_sin_table_len} use lookup table of len, 0 to disable LUT --float-samples use 32-bit float audio samples for --tx --benchmarks run and report internal performance tests -- Kamal Mostafa Mon, 13 Aug 2012 21:52:32 -0700 minimodem (0.8.2-1) unstable; urgency=low * configure: new opts --without-{pulseaudio,sndfile} * debian/copyright: update copyright format -- Kamal Mostafa Mon, 06 Aug 2012 14:47:05 -0700 minimodem (0.8.1-1) unstable; urgency=low * fix --tx stdin non-interactive behavior (no timeout for --file) -- Kamal Mostafa Fri, 15 Jul 2011 20:37:38 -0700 minimodem (0.8-1) unstable; urgency=low * auto select reasonable default mark/space for high baud rates * low-latency PulseAudio capture (for that old-timey modem feel) * fix --tx stdin interactive behavior * default 1.5 stop bits for rtty only -- Kamal Mostafa Fri, 15 Jul 2011 19:25:05 -0700 minimodem (0.7-1) unstable; urgency=low * new amplitude-independent confidence algo ("worst divergence") * fsk decode squelch reduced to 0.0 * rx rate analysis refinement * new command-line parameters: --auto-carrier (no longer default) --confidence {value} --quiet -- Kamal Mostafa Fri, 08 Jul 2011 18:34:58 -0700 minimodem (0.6.1-1) unstable; urgency=low * debian Recommends: pulseaudio * add --version switch -- Kamal Mostafa Sun, 03 Jul 2011 17:02:26 -0700 minimodem (0.6-1) unstable; urgency=low * fsk decode squelch reduced to 0.005 * tx file extension sets audio file format * self-test uses .wav to allow build on earlier distro versions -- Kamal Mostafa Thu, 23 Jun 2011 23:57:30 -0700 minimodem (0.5-1) unstable; urgency=low * Initial release (Closes: #631341) -- Kamal Mostafa Wed, 22 Jun 2011 17:51:08 -0700 debian/rules0000755000000000000000000000167412036617132010257 0ustar #!/usr/bin/make -f # -*- makefile -*- # Sample debian/rules that uses debhelper. # This file was originally written by Joey Hess and Craig Small. # As a special exception, when this file is copied by dh-make into a # dh-make output file, you may use that output file without restriction. # This special exception was added by Craig Small in version 0.37 of dh-make. # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 # kfreebsd in Debian supplies alsa via the alsa-oss wrapper package, but that # is missing snd_pcm_recover() at least, so build --without-alsa on the # non-Linux platforms: DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS) ifneq (linux,$(DEB_HOST_ARCH_OS)) configure_flags += --without-alsa endif # enable hardening flags (for debian/compat<9): configure_flags += $(shell f=`dpkg-buildflags --export=configure` && echo $$f) override_dh_auto_configure: dh_auto_configure -- $(configure_flags) %: dh $@