debian/0000775000000000000000000000000012061423602007164 5ustar debian/source/0000775000000000000000000000000011412461262010467 5ustar debian/source/format0000664000000000000000000000001411412461262011675 0ustar 3.0 (quilt) debian/patches/0000775000000000000000000000000012061423566010624 5ustar debian/patches/link-fftw.patch0000664000000000000000000000045512061423566013552 0ustar --- a/Makefile +++ b/Makefile @@ -36,7 +36,7 @@ libs libs: - $(MAKELIB),libAudioMask.so.1.0 -o libAudioMask.so.1.0 $(OBJ) + $(MAKELIB),libAudioMask.so.1.0 -o libAudioMask.so.1.0 $(OBJ) -lfft ex: $(CC) -L/home/flatmax/lib -lfftw3 -lfft -lAudioMask -o AudioMaskerExample AudioMaskerExample.cc debian/patches/debian-changes-1.0-1.10000664000000000000000000000050011412472626014163 0ustar --- libaudiomask-1.0.orig/MooreSpread.H +++ libaudiomask-1.0/MooreSpread.H @@ -21,7 +21,7 @@ #include //#include "../gammachirp/GCFB.H" -#include +//#include /** Finds the Moore spreading function. First implementation for the Gamma Chirp filter bank, but possible for debian/patches/debian-changes-1.0-1ubuntu10000664000000000000000000000360511412461142015350 0ustar Description: Upstream changes introduced in version 1.0-1ubuntu1 This patch has been created by dpkg-source during the package build. Here's the last changelog entry, hopefully it gives details on why those changes were made: . libaudiomask (1.0-1ubuntu1) lucid; urgency=low . * Fixed build-depends (CLoses: #587433) * Fixed the makefile so that 'make ex' now compiles. * Added the example input audio.44100.txt file. . The person named in the Author field signed this changelog entry. Author: mffm Matt Flax (2003) Bug-Debian: http://bugs.debian.org/587433 --- The information above should follow the Patch Tagging Guidelines, please checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here are templates for supplementary fields that you might want to add: Origin: , Bug: Bug-Debian: http://bugs.debian.org/ Forwarded: Reviewed-By: Last-Update: --- libaudiomask-1.0.orig/Makefile +++ libaudiomask-1.0/Makefile @@ -39,7 +39,7 @@ libs: $(MAKELIB),libAudioMask.so.1.0 -o libAudioMask.so.1.0 $(OBJ) ex: - $(CC) -L/home/flatmax/lib -lfftw3 -lfft libAudioMask -o AudioMaskerExample AudioMaskerExample.cc + $(CC) -L/home/flatmax/lib -lfftw3 -lfft -lAudioMask -o AudioMaskerExample AudioMaskerExample.cc install: mkdir -p ${DESTDIR} @@ -60,6 +60,7 @@ install: install -m 0666 API-libaudiomask/*.gif ${DESTDIR}/${DOCDIR}/API-libaudiomask/ install -m 0666 API-libaudiomask/search/* ${DESTDIR}/${DOCDIR}/API-libaudiomask/search/ install -m 0666 *Example.cc ${DESTDIR}/${DOCDIR} + install -m 0666 *.txt ${DESTDIR}/${DOCDIR} install -m 0666 GPL-3 ${DESTDIR}/${DOCDIR} install -m 0666 *.m ${DESTDIR}/${DOCDIR} install -m 0666 *.pdf ${DESTDIR}/${DOCDIR} debian/patches/debian-changes-1.0-10000664000000000000000000000700511412461142014022 0ustar Description: Upstream changes introduced in version 1.0-1 This patch has been created by dpkg-source during the package build. Here's the last changelog entry, hopefully it gives details on why those changes were made: . libaudiomask (1.0-1) unstable; urgency=low . * Initial release (Closes: #525768) * Adjusted the Makefile to install documentation and compile the example . The person named in the Author field signed this changelog entry. Author: mffm Matt Flax (2003) Bug-Debian: http://bugs.debian.org/525768 --- The information above should follow the Patch Tagging Guidelines, please checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here are templates for supplementary fields that you might want to add: Origin: , Bug: Bug-Debian: http://bugs.debian.org/ Forwarded: Reviewed-By: Last-Update: --- libaudiomask-1.0.orig/Makefile +++ libaudiomask-1.0/Makefile @@ -14,6 +14,12 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . +SBINDIR=usr/sbin +MANDIR=usr/man +INCLUDEDIR=usr/include/mffm +DOCDIR=usr/share/doc/libaudiomask-dev +LIBDIR=usr/lib + SRC=MooreSpread.cc AudioMask.cc AudioMasker.cc depukfb.cc HDR=$(SRC:.cc=.cc) OBJ=$(SRC:.cc=.o) @@ -27,18 +33,43 @@ CC=g++ -O3 -Wall MAKELIB=$(CC) -shared -Wl,-soname all: $(OBJ) \ - libs \ - ex + libs libs: - $(MAKELIB),libAudioMask.so.0.1 -o libAudioMask.so.0.1 $(OBJ) + $(MAKELIB),libAudioMask.so.1.0 -o libAudioMask.so.1.0 $(OBJ) ex: - $(CC) -L/home/flatmax/lib -lfftw3 -lfft $(OBJ) -o AudioMaskerExample AudioMaskerExample.cc + $(CC) -L/home/flatmax/lib -lfftw3 -lfft libAudioMask -o AudioMaskerExample AudioMaskerExample.cc + +install: + mkdir -p ${DESTDIR} + mkdir -p ${DESTDIR}/${LIBDIR} + mkdir -p ${DESTDIR}/${DOCDIR} + mkdir -p ${DESTDIR}/${INCLUDEDIR} + install -m 0755 *.so* ${DESTDIR}/${LIBDIR} + ln -s ${DESTDIR}/${LIBDIR}/libAudioMask.so.1.0 ${DESTDIR}/${LIBDIR}/libAudioMask.so.1 + ln -s ${DESTDIR}/${LIBDIR}/libAudioMask.so.1 ${DESTDIR}/${LIBDIR}/libAudioMask.so + install -m 0666 *Example.cc ${DESTDIR}/${DOCDIR} + install -m 0666 Makefile ${DESTDIR}/${DOCDIR} + install -d ${DESTDIR}/${DOCDIR}/API-libaudiomask/search + install -m 0666 API-libaudiomask/*.html ${DESTDIR}/${DOCDIR}/API-libaudiomask/ + install -m 0666 API-libaudiomask/*.png ${DESTDIR}/${DOCDIR}/API-libaudiomask/ + install -m 0666 API-libaudiomask/*.css ${DESTDIR}/${DOCDIR}/API-libaudiomask/ + install -m 0666 API-libaudiomask/installdox ${DESTDIR}/${DOCDIR}/API-libaudiomask/ + install -m 0666 API-libaudiomask/*.jpg ${DESTDIR}/${DOCDIR}/API-libaudiomask/ + install -m 0666 API-libaudiomask/*.gif ${DESTDIR}/${DOCDIR}/API-libaudiomask/ + install -m 0666 API-libaudiomask/search/* ${DESTDIR}/${DOCDIR}/API-libaudiomask/search/ + install -m 0666 *Example.cc ${DESTDIR}/${DOCDIR} + install -m 0666 GPL-3 ${DESTDIR}/${DOCDIR} + install -m 0666 *.m ${DESTDIR}/${DOCDIR} + install -m 0666 *.pdf ${DESTDIR}/${DOCDIR} + install -m 0666 *.jpg ${DESTDIR}/${DOCDIR} + install -m 0660 *.H ${DESTDIR}/${INCLUDEDIR} clean: rm -f *~ $(OBJ) AudioMaskerExample AudioMaskExample MooreSpreadExample lib* *.mask *.dat *.pow w *.s MooreSpread.o: MooreSpread.H mask.o: MooreSpread.H mask.H -AudioMasker.o: AudioMasker.H ../depukfb/depukfb.H +AudioMasker.o: AudioMasker.H depukfb.H + debian/patches/series0000664000000000000000000000013012061423245012025 0ustar debian-changes-1.0-1 debian-changes-1.0-1ubuntu1 debian-changes-1.0-1.1 link-fftw.patch debian/control0000664000000000000000000000420012061423121010557 0ustar Source: libaudiomask Priority: extra Maintainer: Ubuntu Developers XSBC-Original-Maintainer: mffm Matt Flax (2003) Build-Depends: mffm-fftw-dev, libfftw3-dev, debhelper (>= 7) Standards-Version: 3.8.3 Section: libs Homepage: Package: libaudiomask-dev Section: libdevel Architecture: any Depends: mffm-fftw-dev, libfftw3-dev, libaudiomask1 (= ${binary:Version}), ${misc:Depends} Description: Audio masking threshold estimation lib headers, docs and examples Evaluates the simultaneous masking threshold for audio. The masking threshold is a psychoacoustics property of the perception of sound. This threshold determines the cut-off in perception. Any Fourier signal below the threshold is not perceived by listeners. . Simultaneous masking is the basis of mp3 audio compression. This GPL implementation allows arbitrary sample rate and window sizes. It is extremely simple to use, rather cheap in computation complexity and gives great results. To alter the degree of masking (quality of the playback after compression), simply shift the threshold this library generates up and down. . The development files are found in the documentation directory under /usr/share/doc. It includes a good API, as well as examples. The examples include C++ and an octave file to view the result. Package: libaudiomask1 Section: libs Architecture: any Depends: mffm-fftw1 | mffm-fftw1c2, ${shlibs:Depends}, ${misc:Depends} Description: Audio masking threshold estimation library Evaluates the simultaneous masking threshold for audio. The masking threshold is a psychoacoustics property of the perception of sound. This threshold determins the cut-off in perception. Any Fourier signal below the threshold is not perceived by listeners. . Simultaneous masking is the basis of mp3 audio compression. This GPL implementation allows arbitrary sample rate and window sizes. It is extremely simple to use, rather cheap in computation complexity and gives great results. To alter the degree of masking (quality of the playback after compression), simply shift the threshold this library generates up and down. debian/changelog0000664000000000000000000000132112061423601011032 0ustar libaudiomask (1.0-2ubuntu1) raring; urgency=low * drop dependency on fftw3, not directly needed * Makefile: link against needed libfft -- Julian Taylor Mon, 10 Dec 2012 19:13:15 +0100 libaudiomask (1.0-2) unstable; urgency=low * Fixed build-depends (CLoses: #587433) * Fixed the makefile so that 'make ex' now compiles. * Added the example input audio.44100.txt file. -- mffm Matt Flax (2003) Wed, 30 Jun 2010 06:58:50 +1000 libaudiomask (1.0-1) unstable; urgency=low * Initial release (Closes: #525768) * Adjusted the Makefile to install documentation and compile the example -- mffm Matt Flax (2003) Sat, 19 Jun 2010 15:43:32 +1000 debian/shlibs.local0000664000000000000000000000010611412461115011461 0ustar liblibaudiomask 1.0 libaudiomask (>> 1.0-0), libaudiomask (<< 1.0-99) debian/rules0000775000000000000000000000067211412461115010251 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 %: dh $@ debian/libaudiomask-dev.dirs0000664000000000000000000000002411412461115013263 0ustar usr/lib usr/include debian/libaudiomask1.install0000664000000000000000000000002211412461115013273 0ustar usr/lib/lib*.so.* debian/libaudiomask1.dirs0000664000000000000000000000001011412461115012563 0ustar usr/lib debian/copyright0000664000000000000000000000105711412473714011132 0ustar This work was packaged for Debian by: mffm Matt Flax (2003) on Sat, 19 Jun 2010 15:43:32 +1000 It was downloaded from: N/A Upstream Author: Dr Matt R. Flax Copyright: 2000-2010 Matt Flax License: GPL-3 On Debian systems, the complete text of the GNU General Public License version 3 can be found in `/usr/share/common-licenses/GPL-3'. The Debian packaging is: Copyright (C) 2010 mffm Matt Flax (2003) and is licensed under the GPL version 3, see above. debian/README.Debian0000664000000000000000000000043411412461115011226 0ustar libaudiomask for Debian ----------------------- I have decided to release this source code in the hope that the free software community will put it to good use. Dr Matthew Raphael Flax flatmaxstudios.com -- mffm Matt Flax (2003) Sat, 19 Jun 2010 15:43:32 +1000 debian/libaudiomask-dev.install0000664000000000000000000000010011412461115013763 0ustar usr/include/* usr/lib/lib*.so usr/share/doc/libaudiomask-dev/* debian/README.source0000664000000000000000000000025211412461115011342 0ustar libaudiomask for Debian ----------------------- Please see the documentation in /usr/share/doc/libaudiomask-1.0 The API html documentation is also in that directory. debian/compat0000664000000000000000000000000211412461115010362 0ustar 7