diff --git a/soundstretch.1 b/soundstretch.1 index b11014c..33e8dde 100644 --- a/soundstretch.1 +++ b/soundstretch.1 @@ -1,44 +1,89 @@ -.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.38.2. -.TH SOUNDSTRETCH "1" "December 2010" "soundstretch " "User Commands" +.TH "soundstretch" 1 .SH NAME -soundstretch \- manual page for soundstretch +soundstretch \- audio processing utility +.SH SYNOPSIS +.B soundstretch +infile.wav outfile.wav [options] .SH DESCRIPTION -.TP -SoundStretch v1.4.0 \- -Written by Olli Parviainen 2001 \- 2008 -.PP -author e\-mail: \- WWW: http://www.surina.net/soundtouch -.PP -This program is subject to (L)GPL license. Run "soundstretch \fB\-license\fR" for -more information. -.PP -This application processes WAV audio files by modifying the sound tempo, -pitch and playback rate properties independently from each other. -.SS "Usage :" -.IP -soundstretch infilename outfilename [switches] -.PP -To use standard input/output pipes, give 'stdin' and 'stdout' as filenames. -.SS "Available switches are:" -.TP -\fB\-tempo\fR=\fIn\fR : Change sound tempo by n percents -(n=\-95..+5000 %) -.HP -\fB\-pitch\fR=\fIn\fR : Change sound pitch by n semitones (n=\-60..+60 semitones) -.TP -\fB\-rate\fR=\fIn\fR -: Change sound rate by n percents (n=\-95..+5000 %) -.TP -\fB\-bpm\fR=\fIn\fR -: Detect the BPM rate of sound and adjust tempo to meet 'n' BPMs. -.IP -If '=n' is omitted, just detects the BPM rate. -.TP -\fB\-quick\fR -: Use quicker tempo change algorithm (gain speed, lose quality) -.TP -\fB\-naa\fR -: Don't use anti\-alias filtering (gain speed, lose quality) -.HP -\fB\-license\fR : Display the program license text (LGPL) -.TP +SoundStretch is a simple command-line application that can change tempo, pitch and playback rates of WAV sound files. This program is intended primarily to demonstrate how the "SoundTouch" library can be used to process sound in your own program, but it can as well be used for processing sound files. + +.SH USAGE + +SoundStretch Usage syntax: + +"infile.wav" Name of the input sound data file (in .WAV audio file format). Give "stdin" as filename to use standard input pipe. + +"outfile.wav" Name of the output sound file where the resulting sound is saved (in .WAV audio file format). This parameter may be omitted if you don't want to save the output (e.g. when only calculating BPM rate with '\-bpm' switch). Give "stdout" as filename to use standard output pipe. + +[options] Are one or more control options. + +.SH OPTIONS + +Available control options are: + +.B \-tempo=n +Change the sound tempo by n percents (n = \-95.0 .. +5000.0 %) + +.B \-pitch=n +Change the sound pitch by n semitones (n = \-60.0 .. + 60.0 semitones) + +.B \-rate=n +Change the sound playback rate by n percents (n = \-95.0 .. +5000.0 %) + +.B \-bpm=n +Detect the Beats-Per-Minute (BPM) rate of the sound and adjust the tempo to meet 'n' BPMs. When this switch is applied, the " \-tempo" switch is ignored. If "=n" is omitted, i.e. switch " \-bpm" is used alone, then the BPM rate is estimated and displayed, but tempo not adjusted according to the BPM value. + +.B \-quick +Use quicker tempo change algorithm. Gains speed but loses sound quality. + +.B \-naa +Don't use anti-alias filtering in sample rate transposing. Gains speed but loses sound quality. + +.B \-license +Displays the program license text (LGPL) + +.SH NOTES + +* To use standard input/output pipes for processing, give "stdin" and "stdout" as input/output filenames correspondingly. The standard input/output pipes will still carry the audio data in .wav audio file format. + +* The numerical switches allow both integer (e.g. " \-tempo=123") and decimal (e.g. " \-tempo=123.45") numbers. + +* The " \-naa" and/or " \-quick" switches can be used to reduce CPU usage while compromising some sound quality + +* The BPM detection algorithm works by detecting repeating bass or drum patterns at low frequencies of <250Hz. A lower-than-expected BPM figure may be reported for music with uneven or complex bass patterns. + +.SH EXAMPLES + +Example 1 + +The following command increases tempo of the sound file "originalfile.wav" by 12.5% and stores result to file "destinationfile.wav": + + soundstretch originalfile.wav destinationfile.wav \-tempo=12.5 + +Example 2 + +The following command decreases the sound pitch (key) of the sound file "orig.wav" by two semitones and stores the result to file "dest.wav": + + soundstretch orig.wav dest.wav \-pitch= \-2 + +Example 3 + +The following command processes the file "orig.wav" by decreasing the sound tempo by 25.3% and increasing the sound pitch (key) by 1.5 semitones. Resulting .wav audio data is directed to standard output pipe: + + soundstretch orig.wav stdout \-tempo= \-25.3 \-pitch=1.5 + +Example 4 + +The following command detects the BPM rate of the file "orig.wav" and adjusts the tempo to match 100 beats per minute. Result is stored to file "dest.wav": + + soundstretch orig.wav dest.wav \-bpm=100 + +Example 5 + +The following command reads .wav sound data from standard input pipe and estimates the BPM rate: + + soundstretch stdin \-bpm + +.SH NOTES + +Converted from the README.html that comes with SoundTouch. diff --git a/soundtouch-1.6.0.tar.gz b/soundtouch-1.6.0.tar.gz deleted file mode 100644 index d2ed2a1..0000000 --- a/soundtouch-1.6.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8776edaf7299ffe1e8c97285f020365a63c0e01aa4f6f7c5fd1d011c0ded278f -size 94852 diff --git a/soundtouch-1.7.1.tar.gz b/soundtouch-1.7.1.tar.gz new file mode 100644 index 0000000..8c4f467 --- /dev/null +++ b/soundtouch-1.7.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:385eafa438a9d31ddf84b8d2f713097a3f1fc93d7abdb2fc54c484b777ee0267 +size 101274 diff --git a/soundtouch.changes b/soundtouch.changes index f4b66d1..51c2164 100644 --- a/soundtouch.changes +++ b/soundtouch.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Fri Jan 25 21:39:25 CET 2013 - sbrabec@suse.cz + +- Update to version 1.7.1: + * Added files for Android compilation + * Sound quality improvements + * Improved flush() to adjust output sound stream duration to + match better with ideal duration + * Rewrote x86 cpu feature check to resolve compatibility problems + * Configure script automatically checks if CPU supports mmx & sse + compatibility for GNU platform, and the script support now + "--enable-x86-optimizations" switch to allow disabling + x86-specific optimizations. + * Revised #define conditions for 32bit/64bit compatibility + * gnu autoconf/automake script compatibility fixes + * Tuned beat-per-minute detection algorithm +- Updated man page from Debian unstable. + ------------------------------------------------------------------- Sun Nov 20 06:28:55 UTC 2011 - coolo@suse.com diff --git a/soundtouch.spec b/soundtouch.spec index 3240b8a..4c0de0d 100644 --- a/soundtouch.spec +++ b/soundtouch.spec @@ -1,7 +1,7 @@ # # spec file for package soundtouch # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,18 +15,21 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - Name: soundtouch -License: LGPL-2.1+ -Group: Productivity/Multimedia/Sound/Editors and Convertors Url: http://www.surina.net/soundtouch Summary: Audio Processing Library -Version: 1.6.0 -Release: 1 -BuildRequires: gcc-c++ libtool pkg-config -Source: %{name}-%{version}.tar.gz +License: LGPL-2.1+ +Group: Productivity/Multimedia/Sound/Editors and Convertors +Version: 1.7.1 +Release: 0 +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 BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -53,7 +56,6 @@ Authors: Olli Parviainen %package -n libSoundTouch0 -License: LGPL-2.1+ Summary: Audio Processing Library Group: System/Libraries @@ -67,10 +69,10 @@ Authors: Olli Parviainen %package devel -License: LGPL-2.1+ Summary: Audio Processing Library Group: Development/Languages/C and C++ -Requires: %{name} = %{version} glibc-devel +Requires: %{name} = %{version} +Requires: glibc-devel %description devel SoundTouch is an open-source audio processing library that allows @@ -86,19 +88,9 @@ Authors: tr -d '\r' README.html~ touch -r README.html README.html~ mv README.html~ README.html -%ifarch x86_64 -# cpu_detect_x86_gcc.cpp: Assembler messages: -# cpu_detect_x86_gcc.cpp:140: Error: suffix or operands invalid for `pop' -# cpu_detect_x86_gcc.cpp:143: Error: suffix or operands invalid for `push' -sed -i s/__x86_64__/__INVALID__/ include/STTypes.h -%endif -%ifnarch %ix86 x86_64 -# cc1plus: error: unrecognized command line option "-msse2" -sed -i s/-msse2// source/SoundTouch/Makefile.am -%endif %build -autoreconf -f -i +./bootstrap %configure\ --enable-shared\ --disable-static