sdr-0.1.0.4: sdr.cabal
name: sdr
version: 0.1.0.4
synopsis: A software defined radio library
description:
Write software defined radio applications in Haskell.
.
Features:
.
* Signal processing blocks can be chained together using the <https://hackage.haskell.org/package/pipes Pipes> library
.
* Zero copy design
.
* Signal processing functions are implemented in both Haskell and C (with SIMD acceleration)
.
* Can FIR filter, decimate and resample
.
* Helper functions for FIR filter design using window functions and plotting of the frequency response
.
* FFTs using <http://www.fftw.org/ FFTW>
.
* Line and waterfall plots using OpenGL
.
* FM demodulation
.
* PulseAudio sound sink
.
* <http://sdr.osmocom.org/trac/wiki/rtl-sdr rtl-sdr> based radio source supported and other sources are easily added
.
See <https://github.com/adamwalker/sdr> for more features and screenshots.
.
A collection of simple apps that use this library can be found <https://github.com/adamwalker/sdr-apps here>. These include an FM radio receiver, an OpenGL waterfall plotter and an AM radio receiver.
license: BSD3
license-file: LICENSE
author: Adam Walker
maintainer: adamwalker10@gmail.com
copyright: 2015 Adam Walker
category: Software Defined Radio
homepage: https://github.com/adamwalker/sdr
bug-reports: https://github.com/adamwalker/sdr/issues
build-type: Simple
extra-source-files: Readme.md
cabal-version: >=1.10
source-repository head
type: git
location: https://github.com/adamwalker/sdr
library
if arch(i386)
Buildable: False
exposed-modules:
SDR.Pulse,
SDR.RTLSDRStream,
SDR.Util,
SDR.Plot,
SDR.Filter,
SDR.Demod,
SDR.FFT,
SDR.FilterInternal,
SDR.Serialize,
SDR.PipeUtils,
SDR.VectorUtils,
SDR.ArgUtils,
SDR.FilterDesign,
SDR.CPUID
-- other-modules:
other-extensions: ScopedTypeVariables, GADTs
build-depends:
base >=4.7 && <4.9,
fftwRaw >=0.1 && <0.2,
bytestring >=0.10 && <0.11,
pulse-simple >=0.1 && <0.2,
pipes >=4.1 && <4.2,
pipes-concurrency >=2.0 && <2.1,
either >=4.1 && <4.4,
time >=1.4 && <1.6,
rtlsdr >=0.1 && <0.2,
storable-complex >=0.2 && <0.3,
pipes-bytestring >=2.0 && <2.2,
dynamic-graph ==0.1.0.8,
array >=0.4 && <0.6,
vector >=0.10 && <0.11,
tuple >=0.2 && <0.4,
OpenGL >=2.11 && <2.13,
GLFW-b >=1.4.7 && <1.4.8,
primitive >=0.5 && <0.7,
colour >=2.3 && <2.4,
pango >=0.13 && <0.14,
containers >=0.5 && <0.6,
cairo >=0.13 && <0.14,
cereal >=0.4 && <0.5,
optparse-applicative >=0.11 && <0.12,
Decimal >=0.4 && <0.5,
Chart >=1.3 && <1.5,
Chart-cairo >=1.3 && <1.5
-- hs-source-dirs:
default-language: Haskell2010
ghc-options: -O2
includes: c_sources/common.h
install-includes: c_sources/common.h
c-sources:
c_sources/filter.c,
c_sources/decimate.c,
c_sources/convert.c,
c_sources/resample.c,
c_sources/scale.c,
c_sources/cpuid.c
hs-source-dirs: hs_sources
cc-options: -mavx2 -msse4 -g
Test-Suite test
type: exitcode-stdio-1.0
main-is: TestSuite.hs
build-depends:
base >=4.6 && <4.9,
QuickCheck >=2.8 && <2.9,
vector >=0.10 && <0.11,
sdr ==0.1.0.2,
primitive >=0.5 && <0.7,
storable-complex >=0.2 && <0.3,
test-framework >=0.8 && <0.9,
test-framework-quickcheck2 >=0.3 && <0.4
hs-source-dirs: tests
ghc-options: -O2
default-language: Haskell2010
benchmark benchmark
type: exitcode-stdio-1.0
main-is: Benchmarks.hs
build-depends:
base >=4.6 && <4.9,
criterion >=1.0 && <1.2,
vector >=0.10 && <0.11,
sdr ==0.1.0.2,
primitive >=0.5 && <0.7,
storable-complex >=0.2 && <0.3
hs-source-dirs: benchmarks
ghc-options: -O2
default-language: Haskell2010