From 1857084f2cda735c7829197f90538e1df5202f4c93787e6247e021fe71698afe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 13 Mar 2018 07:12:29 +0000 Subject: [PATCH 1/2] Accepting request 586073 from home:avindra - Update to version 2.0.0 * Added functions to get initial processing latency, duration ratio between the original input and processed output tracks, and clarified reporting of input/output batch sizes * Fixed issue that added brief sequence of silence to beginning of output audio * Adjusted algorithm parameters to reduce reverberating effect at tempo slowdown * Bugfix: Fixed a glitch that could cause negative array indexing in quick seek algorithm * Bugfix: flush() didn't properly flush final samples from the pipeline on 2nd time in case that soundtouch object instance was recycled and used for processing a second audio stream. * Bugfix: Pi value had incorrect 9th/10th decimals * Added C# example application that uses SoundTouch dll library for processing MP3 files - includes 1.9.2: * Fix in GNU package configuration - includes 1.9.1: * Improved SoundTouch::flush() function so that it returns precisely the desired amount of samples for exact output duration control * Redesigned quickseek algorithm for improved sound quality when using the quickseek mode. The new quickseek algorithm can find 99% as good results as the default full-scan mode, while the quickseek algorithm is remarkable less CPU intensive. * Added adaptive integer divider scaling for improved sound quality when using integer processing algorithm - includes 1.9: * Added support for parallel computation support via OpenMP primitives for better performance in multicore systems. Benchmarks show that achieved parallel processing speedup improvement typically range from +30% (x86 dual-core) to +180% (ARM quad-core). The OpenMP optimizations are disabled by default, see OpenMP notes above in this readme file how to enabled these optimizations. * Android: Added support for Android devices featuring X86 and MIPS CPUs, in addition to ARM CPUs. * Android: More versatile Android example application that processes WAV audio files with SoundTouch library * Replaced Windows-like 'BOOL' types with native 'bool' * Changed documentation token to "dist_doc_DATA" in Makefile.am * Miscellaneous small fixes and improvements - cleanup with spec-cleaner - other spec fixes: * switch to https * link directly to man page taken from debian, and refresh it * macroify sover, bump from 0 to 1 OBS-URL: https://build.opensuse.org/request/show/586073 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/soundtouch?expand=0&rev=25 --- baselibs.conf | 2 +- soundstretch.1 | 2 +- soundtouch-1.8.0.tar.gz | 3 --- soundtouch-2.0.0.tar.gz | 3 +++ soundtouch.changes | 52 +++++++++++++++++++++++++++++++++++++ soundtouch.spec | 57 +++++++++++++++++++---------------------- 6 files changed, 84 insertions(+), 35 deletions(-) delete mode 100644 soundtouch-1.8.0.tar.gz create mode 100644 soundtouch-2.0.0.tar.gz diff --git a/baselibs.conf b/baselibs.conf index 186fe5b..b16a11b 100644 --- a/baselibs.conf +++ b/baselibs.conf @@ -1 +1 @@ -libSoundTouch0 +libSoundTouch1 diff --git a/soundstretch.1 b/soundstretch.1 index ab308b7..33e8dde 100644 --- a/soundstretch.1 +++ b/soundstretch.1 @@ -86,4 +86,4 @@ The following command reads .wav sound data from standard input pipe and estimat .SH NOTES -Converted from the README.html that comes with SoundTouch. \ No newline at end of file +Converted from the README.html that comes with SoundTouch. diff --git a/soundtouch-1.8.0.tar.gz b/soundtouch-1.8.0.tar.gz deleted file mode 100644 index 4a63724..0000000 --- a/soundtouch-1.8.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3d4161d74ca25c5a98c69dbb8ea10fd2be409ba1a3a0bf81db407c4c261f166b -size 106229 diff --git a/soundtouch-2.0.0.tar.gz b/soundtouch-2.0.0.tar.gz new file mode 100644 index 0000000..0753f79 --- /dev/null +++ b/soundtouch-2.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d224f7d1421b5f8e74a74c85741345bd9802618a40ae30ce5b427a5705c89d25 +size 455148 diff --git a/soundtouch.changes b/soundtouch.changes index c9a3c12..6fb74fa 100644 --- a/soundtouch.changes +++ b/soundtouch.changes @@ -1,3 +1,55 @@ +------------------------------------------------------------------- +Sun Feb 18 06:38:58 UTC 2018 - avindra@opensuse.org + +- Update to version 2.0.0 + * Added functions to get initial processing latency, duration + ratio between the original input and processed output tracks, + and clarified reporting of input/output batch sizes + * Fixed issue that added brief sequence of silence to beginning + of output audio + * Adjusted algorithm parameters to reduce reverberating effect + at tempo slowdown + * Bugfix: Fixed a glitch that could cause negative array indexing + in quick seek algorithm + * Bugfix: flush() didn't properly flush final samples from the + pipeline on 2nd time in case that soundtouch object instance + was recycled and used for processing a second audio stream. + * Bugfix: Pi value had incorrect 9th/10th decimals + * Added C# example application that uses SoundTouch dll library + for processing MP3 files +- includes 1.9.2: + * Fix in GNU package configuration +- includes 1.9.1: + * Improved SoundTouch::flush() function so that it returns + precisely the desired amount of samples for exact output + duration control + * Redesigned quickseek algorithm for improved sound quality when + using the quickseek mode. The new quickseek algorithm can find + 99% as good results as the default full-scan mode, while the + quickseek algorithm is remarkable less CPU intensive. + * Added adaptive integer divider scaling for improved sound + quality when using integer processing algorithm +- includes 1.9: + * Added support for parallel computation support via OpenMP + primitives for better performance in multicore systems. + Benchmarks show that achieved parallel processing speedup + improvement typically range from +30% (x86 dual-core) to +180% + (ARM quad-core). The OpenMP optimizations are disabled by + default, see OpenMP notes above in this readme file how to + enabled these optimizations. + * Android: Added support for Android devices featuring X86 and + MIPS CPUs, in addition to ARM CPUs. + * Android: More versatile Android example application that + processes WAV audio files with SoundTouch library + * Replaced Windows-like 'BOOL' types with native 'bool' + * Changed documentation token to "dist_doc_DATA" in Makefile.am + * Miscellaneous small fixes and improvements +- cleanup with spec-cleaner +- other spec fixes: + * switch to https + * link directly to man page taken from debian, and refresh it + * macroify sover, bump from 0 to 1 + ------------------------------------------------------------------- Sun Apr 5 18:18:28 UTC 2015 - p.drouand@gmail.com diff --git a/soundtouch.spec b/soundtouch.spec index b5a48bc..8bcfe65 100644 --- a/soundtouch.spec +++ b/soundtouch.spec @@ -1,7 +1,7 @@ # # spec file for package soundtouch # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,23 +16,22 @@ # +%define sover 1 Name: soundtouch -Url: http://www.surina.net/soundtouch -Summary: Audio Processing Library -License: LGPL-2.1+ -Group: Productivity/Multimedia/Sound/Editors and Convertors -Version: 1.8.0 +Version: 2.0.0 Release: 0 +Summary: Audio Processing Library +License: LGPL-2.1-or-later +Group: Productivity/Multimedia/Sound/Editors and Convertors +Url: https://www.surina.net/soundtouch +Source: https://www.surina.net/soundtouch/%{name}-%{version}.tar.gz +Source1: https://salsa.debian.org/multimedia-team/soundtouch/raw/master/debian/soundstretch.1 +Source99: baselibs.conf BuildRequires: autoconf BuildRequires: automake BuildRequires: gcc-c++ BuildRequires: libtool -BuildRequires: pkg-config -Source: http://www.surina.net/soundtouch/%{name}-%{version}.tar.gz -# From http://ftp.debian.org/debian/pool/main/s/soundtouch/soundtouch_1.6.0-3.debian.tar.gz -Source1: soundstretch.1 -Source99: baselibs.conf -BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: pkgconfig %description SoundTouch is an open source audio processing library that allows @@ -52,11 +51,11 @@ independently from each other. for Intel x86 compatible processors, offering several times increase in the processing performance. -%package -n libSoundTouch0 +%package -n libSoundTouch%{sover} Summary: Audio Processing Library Group: System/Libraries -%description -n libSoundTouch0 +%description -n libSoundTouch%{sover} SoundTouch is an open source audio processing library that allows changing the sound tempo, pitch and playback rate parameters independently from each other. @@ -64,8 +63,8 @@ independently from each other. %package devel Summary: Audio Processing Library Group: Development/Languages/C and C++ -Requires: libSoundTouch0 = %{version} Requires: glibc-devel +Requires: libSoundTouch%{sover} = %{version} %description devel SoundTouch is an open-source audio processing library that allows @@ -80,36 +79,34 @@ mv README.html~ README.html %build ./bootstrap -%configure\ - --enable-shared\ +%configure \ + --enable-shared \ --disable-static -make %{?_smp_mflags} pkgdocdir=%{_docdir}/%{name} +make %{?_smp_mflags} %install -%makeinstall pkgdocdir=%{_docdir}/%{name} -rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la +%make_install +find %{buildroot} -type f -name "*.la" -delete -print # Add man page for soundstretch generated by help2man mkdir -p %{buildroot}%{_mandir}/man1 -cp %{S:1} %{buildroot}%{_mandir}/man1 +cp %{SOURCE1} %{buildroot}%{_mandir}/man1 -%post -n libSoundTouch0 -p /sbin/ldconfig +rm -fr %{buildroot}%{_datadir}/doc/%{name} -%postun -n libSoundTouch0 -p /sbin/ldconfig +%post -n libSoundTouch%{sover} -p /sbin/ldconfig +%postun -n libSoundTouch%{sover} -p /sbin/ldconfig %files -%defattr(-,root,root) -%doc %{_docdir}/%{name} %{_bindir}/* %{_mandir}/man1/* -%files -n libSoundTouch0 -%defattr(-,root,root) -%{_libdir}/libSoundTouch.so.0* +%files -n libSoundTouch%{sover} +%license COPYING.TXT +%{_libdir}/libSoundTouch.so.%{sover}* %files devel -%defattr(-,root,root) %{_datadir}/aclocal/*.m4 -%{_includedir}/soundtouch +%{_includedir}/%{name} %{_libdir}/pkgconfig/*.pc %{_libdir}/*.so From ef2135529e18286578126a1b773550214d0123bdc8abc1cb83c1aadb6c0d4722 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 13 Mar 2018 09:39:40 +0000 Subject: [PATCH 2/2] Accepting request 586277 from home:jengelh:branches:multimedia:libs - Trim marketing and old statistics (Pentium) from description, and ensure neutrality. OBS-URL: https://build.opensuse.org/request/show/586277 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/soundtouch?expand=0&rev=26 --- soundtouch.changes | 6 ++++++ soundtouch.spec | 31 ++++++++++++++----------------- 2 files changed, 20 insertions(+), 17 deletions(-) diff --git a/soundtouch.changes b/soundtouch.changes index 6fb74fa..70c4af4 100644 --- a/soundtouch.changes +++ b/soundtouch.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Mar 13 08:44:37 UTC 2018 - jengelh@inai.de + +- Trim marketing and old statistics (Pentium) from + description, and ensure neutrality. + ------------------------------------------------------------------- Sun Feb 18 06:38:58 UTC 2018 - avindra@opensuse.org diff --git a/soundtouch.spec b/soundtouch.spec index 8bcfe65..f17c6df 100644 --- a/soundtouch.spec +++ b/soundtouch.spec @@ -34,43 +34,40 @@ BuildRequires: libtool BuildRequires: pkgconfig %description -SoundTouch is an open source audio processing library that allows +SoundTouch is a C++ audio processing library that allows changing the sound tempo, pitch and playback rate parameters independently from each other. -*Easy-to-use implementation of time-stretch, pitch-shift and sample - rate transposing routines. -*High-performance object-oriented C++ implementation. -*Clear and easy-to-use programming interface via a single C++ class. -*Supported audio data format : 16Bit integer or 32bit floating point - PCM mono/stereo -*Capable of real-time audio stream processing: - input/output latency max. ~ 100 ms. - Processing 44.1kHz/16bit stereo sound in realtime requires a 133 Mhz - Intel Pentium processor or better. -*Additional assembler-level and Intel-MMX instruction set optimizations - for Intel x86 compatible processors, offering several times increase - in the processing performance. + +* Implements time stretch, pitch shift and sample rate transposing + routines. +* Supports the 16-bit integer or 32-bit floating point + PCM mono/stereo formats. +* Capable of real-time audio stream processing (depending on hardware). +* Additional use of assembler level and Intel MMX instruction sets. %package -n libSoundTouch%{sover} Summary: Audio Processing Library Group: System/Libraries %description -n libSoundTouch%{sover} -SoundTouch is an open source audio processing library that allows +SoundTouch is a C++ audio processing library that allows changing the sound tempo, pitch and playback rate parameters independently from each other. %package devel -Summary: Audio Processing Library +Summary: Development files for the SoundTouch audio processing library Group: Development/Languages/C and C++ Requires: glibc-devel Requires: libSoundTouch%{sover} = %{version} %description devel -SoundTouch is an open-source audio processing library that allows +SoundTouch is a C++ audio processing library that allows changing the sound tempo, pitch and playback rate parameters independently from each other. +This subpackage contains the header files for building programs with +SoundTouch. + %prep %setup -q -n %{name} tr -d '\r' README.html~