debian/0000755000000000000000000000000012350301050007153 5ustar debian/watch0000644000000000000000000000012612350300121010201 0ustar version=3 http://web.mit.edu/tbaran/www/autotalent.html autotalent-([0-9.]*)\.tar\.gz debian/copyright0000644000000000000000000000726212350300121011113 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Autotalent Upstream-Contact: Thomas A. Baran Source: http://tombaran.info/autotalent.html Files: * Copyright: No copyright holder License: GPL-2+ Files: ladspa.h Copyright: 2000-2002 Richard W.E. Furse, Paul Barton-Davis, Stefan Westerfeld License: LGPL-2.1+ Files: mayer_fft.* Copyright: 1988, 1993 Ron Mayer 1988, 1993 Miller S. Puckette License: BSD-3-clause Files: debian/* Copyright: 2010-2013 Alessio Treglia License: GPL-2+ License: GPL-2+ This package 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. . On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-2'. . You should have received a copy of the GNU General Public License along with this program. If not, see . License: LGPL-2.1+ This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. . This library 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 Lesser General Public License for more details. . On Debian systems, the complete text of the GNU Lesser General Public License can be found in `/usr/share/common-licenses/LGPL-2.1'. . You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . License: BSD-3-clause This software is copyrighted by Miller Puckette and others. The following terms (the "Standard Improved BSD License") apply to all files associated with the software unless explicitly disclaimed in individual files: . Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. debian/changelog0000644000000000000000000000171612350301071011035 0ustar autotalent (0.2-4) unstable; urgency=low * Add patch to prevent SIGSEGV. (LP: #1299667) * Bump Standards. -- Alessio Treglia Wed, 18 Jun 2014 13:12:11 +0100 autotalent (0.2-3) unstable; urgency=low * debian/patches/0001-buildsystem.patch - Improve upstream buildsystem to let it accept CFLAGS, CPPFLAGS and LDFLAGS set by the environment. * Rewrite debian/copyrigh to copyright format 1.0. * Bump DH compatibility to automatically enable hardening flags. * Update Homepage. * Fix VCS URLs. * Bump Standards. -- Alessio Treglia Wed, 09 Oct 2013 22:41:09 +0100 autotalent (0.2-2) unstable; urgency=low * Fix small typo in the short description (Closes: #603289). -- Alessio Treglia Fri, 19 Nov 2010 00:18:43 +0100 autotalent (0.2-1) unstable; urgency=low * Initial release. (Closes: #600730) -- Alessio Treglia Tue, 02 Nov 2010 12:01:01 +0100 debian/control0000644000000000000000000000335412350301055010570 0ustar Source: autotalent Section: sound Priority: optional Maintainer: Debian Multimedia Maintainers Uploaders: Alessio Treglia Build-Depends: debhelper (>= 9~), ladspa-sdk Standards-Version: 3.9.5 Homepage: http://tombaran.info/autotalent.html Vcs-Git: git://anonscm.debian.org/pkg-multimedia/autotalent.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-multimedia/autotalent.git Package: autotalent Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends} Provides: ladspa-plugin Description: pitch correction LADSPA plugin Autotalent is a real-time pitch correction plugin. Users can specify the notes that a singer is allowed to hit, and Autotalent makes sure that they do. Autotalent may be used for more exotic effects, like the Cher / T-Pain effect, making your voice sound like a chiptune, adding artificial vibrato, or messing with your formants. Autotalent can also be used as a harmonizer that knows how to sing in the scale with you. Or, you can use Autotalent to change the scale of a melody between major and minor or to change the musical mode. . Autotalent was designed from the ground up to process musical melodies, whether sung by voice or played on some kind of instrument. As long as one gives it a monophonic source (i.e. a melody in a single, 1-channel track), he can usually expects pretty good results. So this means that if you're in the business of processing vocal harmonies, you should apply it to each monophonic vocal part separately. If in the spirit of experimentation you're daring enough to try tuning or pitch shifting an entire chord using one instance of the plugin (again not what it's meant for), you'll hear gritty nastiness. debian/compat0000644000000000000000000000000212350300121010347 0ustar 9 debian/rules0000755000000000000000000000027012350300121010230 0ustar #!/usr/bin/make -f %: dh $@ -S makefile override_dh_auto_install: mkdir -p $(CURDIR)/debian/autotalent/usr/lib/ladspa cp autotalent.so $(CURDIR)/debian/autotalent/usr/lib/ladspa/ debian/source/0000755000000000000000000000000012350300121010451 5ustar debian/source/format0000644000000000000000000000001412350300121011657 0ustar 3.0 (quilt) debian/gbp.conf0000644000000000000000000000005712350300121010572 0ustar [DEFAULT] pristine-tar = True sign-tags = True debian/patches/0000755000000000000000000000000012350300462010610 5ustar debian/patches/series0000644000000000000000000000006012350300221012012 0ustar 0001-buildsystem.patch 0002-fix_segfaults.patch debian/patches/0002-fix_segfaults.patch0000644000000000000000000000305412350300752015057 0ustar Description: Various fixes to prevent SIGSEGV. - A potential division by zero during normalization of audio data may occur, and - Several uninitialized Autotalent struct member variables may be used. From: https://launchpadlibrarian.net/171226582/fix-potential-crashes.diff Bug-Ubuntu: https://launchpad.net/bugs/1299667 Forwarded: no --- autotalent.c | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) --- autotalent.orig/autotalent.c +++ autotalent/autotalent.c @@ -397,9 +397,14 @@ instantiateAutotalent(const LADSPA_Descr membvars->vthresh = 0.7; // The voiced confidence (unbiased peak) threshold level + membvars->inpitch = 0; + membvars->conf = 0; + membvars->outpitch = 0; + // Pitch shifter initialization membvars->phprdd = 0.01; // Default period membvars->inphinc = (float)1/(membvars->phprdd * SampleRate); + membvars->outphinc = membvars->inphinc; membvars->phincfact = 1; membvars->phasein = 0; membvars->phaseout = 0; @@ -765,9 +770,11 @@ runAutotalent(LADSPA_Handle Instance, fft_inverse(psAutotalent->fmembvars, psAutotalent->fftfreqre, psAutotalent->fftfreqim, psAutotalent->ffttime); // Normalize - tf = (float)1/psAutotalent->ffttime[0]; - for (ti=1; tiffttime[ti] = psAutotalent->ffttime[ti] * tf; + if (psAutotalent->ffttime[0]!=0) { + tf = (float)1/psAutotalent->ffttime[0]; + for (ti=1; tiffttime[ti] = psAutotalent->ffttime[ti] * tf; + } } psAutotalent->ffttime[0] = 1; debian/patches/0001-buildsystem.patch0000644000000000000000000000175212350300121014550 0ustar Description: Accept CFLAGS, CPPFLAGS and LDFLAGS from the environment. Author: Alessio Treglia Forwarded: no --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- autotalent.orig/Makefile +++ autotalent/Makefile @@ -33,8 +33,8 @@ INSTALL_PLUGINS_DIR = /usr/lib64/ladspa/ # GENERAL CC = gcc -CFLAGS = -I. -O3 -Wall -fomit-frame-pointer -fstrength-reduce -funroll-loops -ffast-math -c -fPIC -DPIC -LDFLAGS = -nostartfiles -shared -Wl,-Bsymbolic -lc -lm -lrt +CFLAGS += -I. -O3 -Wall -fomit-frame-pointer -fstrength-reduce -funroll-loops -ffast-math -c -fPIC -DPIC +LDFLAGS += -nostartfiles -shared -Wl,-Bsymbolic -lc -lm -lrt PLUGINS = autotalent.so @@ -43,7 +43,7 @@ all: $(PLUGINS) # RULES TO BUILD PLUGINS FROM C CODE autotalent.so: autotalent.c ladspa.h - $(CC) $(CFLAGS) autotalent.c mayer_fft.c + $(CC) $(CFLAGS) $(CPPFLAGS) autotalent.c mayer_fft.c $(CC) $(LDFLAGS) -o autotalent.so autotalent.o mayer_fft.o # OTHER TARGETS