debian/0000755000000000000000000000000012142373120007161 5ustar debian/compat0000644000000000000000000000000212142372652010370 0ustar 9 debian/patches/0000755000000000000000000000000012142372652010621 5ustar debian/patches/series0000644000000000000000000000002212142372652012030 0ustar 01-makefile.patch debian/patches/01-makefile.patch0000644000000000000000000000536512142372652013646 0ustar Description: Set PREFIX properly. Drop arch suffix from LIBDIR Pass DESTDIR to the install target. Rename the resample executable to zita-resampler, an executable called 'resample' is provided by another package. Author: Alessio Treglia Forwarded: not-needed --- apps/Makefile | 11 +++++------ libs/Makefile | 7 +++---- 2 files changed, 8 insertions(+), 10 deletions(-) Index: zita-resampler/apps/Makefile =================================================================== --- zita-resampler.orig/apps/Makefile 2012-10-27 10:28:32.064227099 +0200 +++ zita-resampler/apps/Makefile 2012-10-27 11:00:16.528304536 +0200 @@ -18,16 +18,15 @@ # ---------------------------------------------------------------------------- -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) +LIBDIR ?= lib DISTDIR = zresample-$(VERSION) VERSION = 0.4.0 MANDIR = /usr/share/man/man1 -LDFLAGS += -L$(PREFIX)/$(LIBDIR) -CPPFLAGS += -MMD -MP -DVERSION=\"$(VERSION)\" +LDFLAGS += -L$(PREFIX)/$(LIBDIR) -L$(DESTDIR)$(PREFIX)/$(LIBDIR) +CPPFLAGS += -MMD -MP -DVERSION=\"$(VERSION)\" -I$(DESTDIR)$(PREFIX)/include CXXFLAGS += -O3 -ffast-math -Wall -CXXFLAGS += -march=native all: zresample zretune zresample.1.gz zretune.1.gz @@ -57,8 +56,8 @@ install: all - install -Dm 755 zresample $(DESTDIR)$(PREFIX)/bin/zresample - install -Dm 755 zretune $(DESTDIR)$(PREFIX)/bin/zretune + install -Dm 755 zresample $(DESTDIR)$(PREFIX)/bin/zita-resampler + install -Dm 755 zretune $(DESTDIR)$(PREFIX)/bin/zita-retune install -Dm 644 zresample.1.gz $(DESTDIR)$(MANDIR)/zresample.1.gz install -Dm 644 zretune.1.gz $(DESTDIR)$(MANDIR)/zretune.1.gz Index: zita-resampler/libs/Makefile =================================================================== --- zita-resampler.orig/libs/Makefile 2012-10-27 10:44:42.788266570 +0200 +++ zita-resampler/libs/Makefile 2012-10-27 11:00:16.532304536 +0200 @@ -20,9 +20,9 @@ # Modify as required. # -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) +LIBDIR ?= lib MAJVERS = 1 MINVERS = 3.0 @@ -32,7 +32,6 @@ CPPFLAGS += -I. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS CXXFLAGS += -Wall -fPIC -O2 -ffast-math -CXXFLAGS += -march=native LDFLAGS += LDLIBS += @@ -57,7 +56,7 @@ install -m 644 $(ZITA-RESAMPLER_H) $(DESTDIR)$(PREFIX)/include/zita-resampler install -m 644 $(ZITA-RESAMPLER_MIN) $(DESTDIR)$(PREFIX)/$(LIBDIR) ln -sf $(ZITA-RESAMPLER_MIN) $(DESTDIR)$(PREFIX)/$(LIBDIR)/$(ZITA-RESAMPLER_SO) - ldconfig + /sbin/ldconfig -n $(DESTDIR)$(PREFIX)/$(LIBDIR) uninstall: /bin/rm -rf $(DESTDIR)$(PREFIX)/include/zita-resampler debian/rules0000755000000000000000000000104212142372652010247 0ustar #!/usr/bin/make -f DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) export LIBDIR=lib/$(DEB_HOST_MULTIARCH) %: dh $@ -Smakefile -Dlibs override_dh_auto_clean: dh_auto_clean $(MAKE) -C apps/ clean override_dh_auto_install: dh_auto_install $(MAKE) -C apps/ DESTDIR=$(CURDIR)/debian/tmp $(MAKE) -C apps/ DESTDIR=$(CURDIR)/debian/tmp install override_dh_installchangelogs: dh_installchangelogs README override_dh_strip: dh_strip -plibzita-resampler1 --dbg-package=zita-resampler-dbg dh_strip --remaining-packages debian/control0000644000000000000000000000673512142372736010613 0ustar Source: zita-resampler Section: sound Priority: optional Maintainer: Debian Multimedia Maintainers Uploaders: Alessio Treglia , Jaromír Mikeš DM-Upload-Allowed: yes Build-Depends: debhelper (>= 9), libsndfile1-dev Standards-Version: 3.9.4 Vcs-Git: git://anonscm.debian.org/pkg-multimedia/zita-resampler.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-multimedia/zita-resampler.git Homepage: http://kokkinizita.linuxaudio.org/linuxaudio/zita-resampler/resampler.html Package: libzita-resampler-dev Section: libdevel Architecture: any Multi-Arch: same Depends: libzita-resampler1 (= ${binary:Version}), ${misc:Depends} Suggests: libzita-resampler-doc Description: Development files (headers) for libzita-resampler library Zita resampler is a C++ library for resampling audio signals. It is designed to be used within a real-time processing context, to be fast, and to provide high-quality sample rate conversion. . This package contains the headers used to build applications that use libzita-resampler. Package: libzita-resampler-doc Section: doc Architecture: all Depends: ${misc:Depends} Description: Developers reference for libzita-resampler library Zita resampler is a C++ library for resampling audio signals. It is designed to be used within a real-time processing context, to be fast, and to provide high-quality sample rate conversion. . This package contains libzita-resampler API reference. Package: libzita-resampler1 Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${misc:Depends}, ${shlibs:Depends} Description: C++ library for resampling audio signals Zita resampler is a C++ library for resampling audio signals. It is designed to be used within a real-time processing context, to be fast, and to provide high-quality sample rate conversion. . The library operates on signals represented in single-precision floating point format. For multichannel operation both the input and output signals are assumed to be stored as interleaved samples. . The API allows a trade-off between quality and CPU load. For the latter a range of approximately 1:6 is available. Even at the highest quality setting libzita-resampler will be faster than most similar libraries, e.g. libsamplerate. . This package contains the shared library for libzita-resampler. Package: zita-resampler Architecture: any Depends: libzita-resampler1 (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} Description: resampler application written with libzita-resampler Input format is any file readable by libsndfile, output is either WAV (WAVEX for more than 2 channels) or CAF. Apart from resampling, users can change the sample format to 16-bit, 24-bit or float, and for 16-bit output, add dithering. . Available dithering types are rectangular, triangular and Lipschitz' optimised error feedback filter. Some examples of dithering can be seen here: http://www.kokkinizita.net/linuxaudio/dithering.html Package: zita-resampler-dbg Section: debug Priority: extra Architecture: any Multi-Arch: same Depends: libzita-resampler1 (= ${binary:Version}), ${misc:Depends} Description: Debugging symbols for libzita-resampler Zita resampler is a C++ library for resampling audio signals. It is designed to be used within a real-time processing context, to be fast, and to provide high-quality sample rate conversion. . This package provides the debugging symbols. debian/libzita-resampler-doc.docs0000644000000000000000000000000512142372652014230 0ustar docs debian/changelog0000644000000000000000000000335512142372766011060 0ustar zita-resampler (1.3.0-2) unstable; urgency=low * Upload to unstable. * Fix VCS canonical URLs. * Bump Standards. -- Alessio Treglia Wed, 08 May 2013 08:51:26 +0200 zita-resampler (1.3.0-1) experimental; urgency=low * New upstream release. * Update copyright file. -- Jaromír Mikeš Sat, 27 Oct 2012 10:52:02 +0200 zita-resampler (1.2.0-1) experimental; urgency=low [ Jaromír Mikeš ] * New upstream release. * Bump Standards. * Set debhelper 9. * Added man pages for new binary zita-retune. [ Alessio Treglia ] * Set DM-Upload-Allowed: yes. -- Jaromír Mikeš Tue, 02 Oct 2012 10:16:42 +0100 zita-resampler (1.1.0-2) unstable; urgency=low * Remove -march=native. -- Alessio Treglia Tue, 07 Feb 2012 23:42:53 +0100 zita-resampler (1.1.0-1) unstable; urgency=low [ Jaromír Mikeš ] * New upstream release. * Add myself as uploader. * Refreshed patches. [ Alessio Treglia ] * Bump SONAME. * Switch -dev package to Architecture: any. * Build with MUlti-Arch. * Use a custom LIBDIR for a Multiarch compliant installation of the shared objects. * Strip documentation out of the -DEV runtime and put it into a new libzita-resampler-doc package. * Make libzita-resampler-dev suggest libzita-resampler-doc. * Make zita-resampler-dbg containing the debugging symbols for libzita-resampler1 only. * Update debian/copyright. * Fix homepage field. * Bump Standards. -- Alessio Treglia Sun, 05 Feb 2012 22:54:12 +0100 zita-resampler (0.1.1-1) unstable; urgency=low * Initial release (Closes: #600831). -- Alessio Treglia Wed, 20 Oct 2010 15:46:02 +0200 debian/libzita-resampler-doc.doc-base0000644000000000000000000000052712142372652014766 0ustar Document: libzita-resampler Title: Zita-resampler Developer's Reference Author: Fons Adriaensen Abstract: This is a programming manual for the libzita-resampler library. Section: Programming Format: HTML Index: /usr/share/doc/libzita-resampler-doc/docs/resampler.html Files: /usr/share/doc/libzita-resampler-doc/docs/* debian/zita-resampler.manpages0000644000000000000000000000005512142372652013646 0ustar debian/zita-resampler.1 debian/zita-retune.1 debian/gbp.conf0000644000000000000000000000006212142372652010607 0ustar [DEFAULT] pristine-tar = True compression = bzip2 debian/zita-resampler.10000644000000000000000000000255312142372652012220 0ustar .TH ZITA-RESAMPLER "1" "October 2010" .SH NAME zita-resampler \- A simple resampler .SH SYNOPSIS .B zita-resampler \fI .\fR .SH DESCRIPTION .B Zita-resampler is a simple resampling application written with the libzita-resampler library. .PP Input format is any file readable by libsndfile, output is either WAV (WAVEX for more than 2 channels) or CAF. Apart from resampling, users can change the sample format to 16-bit, 24-bit or float, and for 16-bit output, add dithering. .PP Available dithering types are rectangular, triangular and Lipschitz' optimised error feedback filter. .SH OPTIONS .TP \fB\-\-help\fR Display this text. .TP \fB\-\-caf\fR, \fB\-\-wav\fR, \fB\-\-amb\fR Output file type. .TP \fB\-\-rate\fR Output sample rate. .TP \fB\-\-16bit\fR, \fB\-\-24bit\fR, \fB\-\-float\fR Output sample format. .TP \fB\-\-rec\fR, \fB\-\-tri\fR, \fB\-\-lips\fR Dither type (16 bit). .PP The default output file format is wav, 24\-bit, no dithering. Integer output formats are clipped, float output is not. .PP .SH "SEE ALSO" Some examples of dithering are available here: .B http://www.kokkinizita.net/linuxaudio/dithering.html .SH "AUTHOR" zita-resampler was written by Fons Adriaensen . .PP This manual page was written by Alessio Treglia for the Debian project (but may be used by others). debian/copyright0000644000000000000000000000232012142372652011122 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Zita-resampler Upstream-Contact: Fons Adriaensen Source: http://kokkinizita.linuxaudio.org/linuxaudio/downloads/index.html Files: * Copyright: 2006-2012 Fons Adriaensen License: GPL-3+ Files: debian/* Copyright: 2010-2012 Alessio Treglia 2012 Jaromír Mikeš License: GPL-3+ License: GPL-3+ 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. 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-3'. debian/source/0000755000000000000000000000000012142372652010472 5ustar debian/source/format0000644000000000000000000000001412142372652011700 0ustar 3.0 (quilt) debian/libzita-resampler-dev.install0000644000000000000000000000004012142372652014756 0ustar usr/include/* usr/lib/*/lib*.so debian/zita-retune.10000644000000000000000000000462212142372652011527 0ustar .TH ZITA-RETUNE "1" "September 2012" .SH NAME .B zita-retune \- resample an audio file in order to change its pitch .SH SYNOPSIS .B zita-retune \fI .\fR .SH DESCRIPTION .B zita-retune resamples an audio file by a the inverse of a ratio expressed in cents, without changing the nominal sample rate. .PP The result is to change the musical pitch and length of the file. Input can be any audio file readable by the libsndfile library. The output file type is either WAV or CAF. .PP .SH OPTIONS .TP .B --help Display a short help text. .TP .B --cent pitch change in cents The number of cents by which the pitch is changed. The accepted range is +/- 1200 cents, the useful range in practice will be something like +/- 100 cents. .SS Output file type .TP .B --wav Produce a WAV file, or for more than 2 channels, a WAVEX file. This is the default. .TP .B --amb Produce a WAVEX file with the Ambisonic GUID. Such files should have the .B .amb filename extension. .TP .B --caf Produce a Core Audio file. .SS Output sample format .TP .B --16bit Output sample format is signed 16-bit. This option also enables the use of dithering, described below. .TP .B --24bit Output sample format is 24-bit. This is the default. .TP .B --float Output sample format is 32-bit floating point. .SS Dithering .TP .B --rec Add white dithering noise with a rectangular distribution. This is the best option if the output data is going to processed again, but in that case it would be advisable to use 24-bit or float. .TP .B --tri Add filtered noise with a triangular distribution. Compared to the rectangular dither this reduces the noise density in the lower frequency range. .TP .B --lips This uses the optimal error feedback filter described by Stanley Lipschitz. This is recommended is the output is the final distribution format, e.g. for a CD. .SS Timing .TP .B --pad Insert zero valued input samples at the start and end so that the output includes the full symmetric filter response even for the first and last samples. .SH EXIT STATUS Zero in case there are no errors, non-zero otherwise. .PP .SH "SEE ALSO" Some examples of dithering are available here: .B http://www.kokkinizita.net/linuxaudio/dithering.html .PP .SH "AUTHOR" .B zita-retune was written by Fons Adriaensen . .PP This manual page was written by Jaromír Mikeš for the Debian project (but may be used by others). debian/libzita-resampler1.install0000644000000000000000000000002412142372652014265 0ustar usr/lib/*/lib*.so.* debian/watch0000644000000000000000000000015512142372652010224 0ustar version=3 http://kokkinizita.linuxaudio.org/linuxaudio/downloads/index.html \ zita-resampler-(.*)\.tar\.bz2 debian/zita-resampler.install0000644000000000000000000000001012142372652013510 0ustar usr/bin