debian/0000755000000000000000000000000012200017761007162 5ustar debian/ambdec.manpages0000644000000000000000000000002012200015324012073 0ustar debian/ambdec.1 debian/source/0000755000000000000000000000000012200015324010453 5ustar debian/source/format0000644000000000000000000000001412200015324011661 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000012200015324010602 5ustar debian/patches/series0000644000000000000000000000002112200015324012010 0ustar 01-destdir.patch debian/patches/01-destdir.patch0000644000000000000000000000277012200015324013505 0ustar Author: Alessio Treglia Description: Declare DESTDIR var to allow setting a custom path, set PREFIX to /usr. Add -pthread flag to fix FTBFS in Ubuntu Natty. Remove -march=native flag, fixes FTBFS. Forwarded: no Index: ambdec/source/Makefile =================================================================== --- ambdec.orig/source/Makefile 2011-09-11 21:40:48.572730993 +0200 +++ ambdec/source/Makefile 2011-09-11 21:43:05.600491364 +0200 @@ -19,13 +19,13 @@ # ---------------------------------------------------------------------------- -PREFIX = /usr/local +PREFIX = /usr SUFFIX := $(shell uname -m | sed -e 's/^unknown/$//' -e 's/^i.86/$//' -e 's/^x86_64/$/64/') LIBDIR = lib$(SUFFIX) SHARED = $(PREFIX)/share/ambdec VERSION = 0.5.1 CPPFLAGS += -O2 -ffast-math -Wall -MMD -MP -DVERSION=\"$(VERSION)\" -DSHARED=\"$(SHARED)\" -CPPFLAGS += -march=native +#CPPFLAGS += -march=native all: ambdec ambdec_cli @@ -37,7 +37,7 @@ ambdec: CPPFLAGS += -I/usr/X11R6/include `freetype-config --cflags` ambdec: LDLIBS += -lclxclient -lclthreads -ljack -lpng -lXft -lX11 -lrt -ambdec: LDFLAGS += -L/usr/X11R6/lib +ambdec: LDFLAGS += -pthread -L/usr/X11R6/lib ambdec: $(AMBDEC_O) g++ $(LDFLAGS) -o $@ $(AMBDEC_O) $(LDLIBS) @@ -49,6 +49,7 @@ AMBDEC_CLI_O = ambdec_cli.o jclient.o nffilt.o xover2.o decoder.o adconf.o sstring.o ambdec_cli: LDLIBS += -lclthreads -ljack -lrt +ambdec_cli: LDFLAGS += -pthread ambdec_cli: $(AMBDEC_CLI_O) g++ $(LDFLAGS) -o $@ $(AMBDEC_CLI_O) $(LDLIBS) debian/changelog0000644000000000000000000000406012200017707011034 0ustar ambdec (0.5.1-3) unstable; urgency=low * Set dependency on libclxclient 3.9.0 to fix a crash. (Closes: #715631) * Update copyright file. * Removed DMUA. * Bump standards. * Set dh/compat 9. * Fix VCS canonical URLs. * Tune gitignore file to handle rather dir. * Don't sign tags. -- Jaromír Mikeš Mon, 05 Aug 2013 23:37:58 +0200 ambdec (0.5.1-2) unstable; urgency=low [ Alessio Treglia ] * libpng12-dev -> libpng-dev (Closes: #662266). * Update debian/copyright. * Set DM-Upload-Allowed: yes. [ Jaromír Mikeš ] * Bump standards. -- Alessio Treglia Thu, 26 Apr 2012 10:55:52 +0200 ambdec (0.5.1-1) unstable; urgency=low * New upstream release. * Add myself as uploader * updated 01-destdir.patch * Bump standards * Updated homepage * Fixed watch file * Copyright switched to rev. 174 -- Jaromír Mikeš Sun, 11 Sep 2011 21:25:38 +0200 ambdec (0.4.4-3) unstable; urgency=low * Upload to unstable. -- Alessio Treglia Tue, 08 Feb 2011 22:09:42 +0100 ambdec (0.4.4-2) experimental; urgency=low * Append -pthread to the ambdec_cli's LDFLAGS, too. * Remove -march=native flag to fix FTBFS on several architectures (Closes: #609621). -- Alessio Treglia Tue, 11 Jan 2011 01:43:29 +0100 ambdec (0.4.4-1) experimental; urgency=low * New upstream release. * Update my email address. * Bump Standards. * Switch to packaging format 3.0 (quilt). * Add git-buildpackage config file. * Pass --buildsystem and --sourcedirectory options to dh to reduce debian/rules length. * Add -Wl,--as-needed to linking flags. * Fix small typo in the manpage. * debian/patches/01-destdir.patch: - Refresh. - Append -pthread to LDFLAGS to prevent FTBFS with newer toolchain. -- Alessio Treglia Tue, 11 Jan 2011 00:44:16 +0100 ambdec (0.4.2-1) unstable; urgency=low * Initial release (Closes: #573886). -- Alessio Treglia Sun, 14 Mar 2010 20:40:46 +0100 debian/compat0000644000000000000000000000000212200016527010357 0ustar 9 debian/watch0000644000000000000000000000013212200015324010200 0ustar version=3 http://kokkinizita.linuxaudio.org/linuxaudio/downloads/ \ ambdec-(.*)\.tar\.bz2 debian/gbp.conf0000644000000000000000000000006212200016104010565 0ustar [DEFAULT] pristine-tar = True compression = bzip2 debian/links0000644000000000000000000000010212200015324010207 0ustar usr/share/man/man1/ambdec.1.gz usr/share/man/man1/ambdec_cli.1.gz debian/control0000644000000000000000000000230212200016522010554 0ustar Source: ambdec Section: sound Priority: optional Maintainer: Debian Multimedia Maintainers Uploaders: Alessio Treglia , Jaromír Mikeš Build-Depends: debhelper (>= 9), ladspa-sdk, libclthreads-dev, libclxclient-dev (>= 3.9.0), libjack-dev, libpng-dev, x11proto-core-dev Homepage: http://kokkinizita.linuxaudio.org/linuxaudio/index.html Vcs-Git: git://anonscm.debian.org/pkg-multimedia/aliki.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-multimedia/ambdec.git Standards-Version: 3.9.4 Package: ambdec Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends} Provides: ladspa-plugin Description: Ambisonic decoder for first and second order AmbDec is an Ambisonics decoder for up to 36 speakers. It can be used for both horizontal and full 3-D systems of first, second and third order. The decoding matrices are fully user-configurable. AmbDec has some advanced features not found on most decoders: * Dual frequency band operation. * Speaker distance compensation. * Near-field effect compensation. . All three features can be selectively enabled or disabled in the configuration. debian/dirs0000644000000000000000000000003112200015324010031 0ustar usr/bin usr/share/ambdec debian/rules0000755000000000000000000000023112200015324010227 0ustar #!/usr/bin/make -f LDFLAGS+=-Wl,--as-needed %: dh $@ -Smakefile --sourcedirectory=source override_dh_installchangelogs: dh_installchangelogs README debian/copyright0000644000000000000000000000232212200016055011107 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: AmbDec Upstream-Contact: Fons Adriaensen Source: http://kokkinizita.linuxaudio.org/linuxaudio/downloads/index.html Files: * Copyright: 2006-2011 Fons Adriaensen License: GPL-2+ Files: debian/* Copyright: 2010-2012 Alessio Treglia 2011-2013 Jaromír Mikeš License: GPL-2+ License: GPL-2+ 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 2 of the License, or (at your option) any later version. . This package 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. Comment: You should have received a copy of the GNU General Public License along with this program. If not, see . . On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-2'. debian/ambdec.10000644000000000000000000000614312200015324010454 0ustar .\" Hey, EMACS: -*- nroff -*- .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) .TH AMBDEC 1 "2010/03/14" .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: .\" .nh disable hyphenation .\" .hy enable hyphenation .\" .ad l left justify .\" .ad b justify to both left and right margins .\" .nf disable filling .\" .fi enable filling .\" .br insert line break .\" .sp insert n+1 empty lines .\" for manpage-specific macros, see man(7) .SH NAME ambdec \- Ambisonic decoder for first and second order .SH SYNOPSIS .B ambdec .RI [ options ] .br .B ambdec_cli .RI " config_file" .SH DESCRIPTION This manual page documents briefly the .B ambdec and .B ambdec_cli commands. .PP .\" TeX users may be more comfortable with the \fB\fP and .\" \fI\fP escape sequences to invode bold face and italics, .\" respectively. \fBAmbDec\fP is an Ambisonics decoder for up to 36 speakers. It can be used for both horizontal and full 3-D systems of first, second and third order. The decoding matrices are fully user-configurable. AmbDec has some advanced features not found on most decoders: .PP .B Dual frequency band operation. Optimal Ambisonics reproduction requires a different decoder for low and high frequencies. This is so mainly because human perception of sound direction uses different mechanisms at low and high frequencies. The crossover filters used in AmbDec are phase-aligned (the two outputs are exactly in phase at all frequencies). The combined response is equivalent to a first-order all-pass network, which is very probably inaudible. .PP .B Speaker distance compensation. If the speakers are not all at the same distance to the center of the listening area, this must be compensated by including the right delays and gain corrections. .PP .B Near-field effect compensation. Ambisonics works by reconstructing the spherical harmonic components of a sound field at the center of the listening area, using all speakers to synthesize each of them. All non-zero order components show a near-field effect depending on the ratio wavelength=distance, and increasing for rising order. One example of this is the well known 'proximity effect' of directional microphones ('directional' is equivalent to 'using non-zero order components'). Except in very large installations, where the speaker distances will be large enough so the listening area is not in the near field, this effect must be compensated for in order to obtain a correct reconstruction of a sound field. .SH OPTIONS .B ambdec accepts the following command line options: .TP .B \-h Show summary of options. .TP .B \-c FILE Load configuration from FILE. .TP .B \-p PATH Load presets from PATH. .TP .B \-V VOLUME Set initial volume in dB. .PP .SH AUTHOR ambdec was written by Fons Adriaensen . .PP This manual page was written by Alessio Treglia , for the Debian project (and may be used by others). debian/install0000644000000000000000000000003112200015324010536 0ustar presets usr/share/ambdec