diff --git a/.vscode/settings.json b/.vscode/settings.json
new file mode 100644
index 0000000..74a7a04
--- /dev/null
+++ b/.vscode/settings.json
@@ -0,0 +1,3 @@
+{
+ "html.format.enable": false
+}
\ No newline at end of file
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 698b302..3047b93 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.5)
-project(SoundTouch VERSION 2.3.3 LANGUAGES CXX)
+project(SoundTouch VERSION 2.4.0 LANGUAGES CXX)
set(CMAKE_CXX_STANDARD 17)
include(GNUInstallDirs)
diff --git a/README.html b/README.html
index 826e72d..edff714 100644
--- a/README.html
+++ b/README.html
@@ -15,8 +15,8 @@
- SoundTouch audio processing library v2.3.3
- SoundTouch library Copyright © Olli Parviainen 2001-2024
+ SoundTouch audio processing library v2.4.0
+ SoundTouch library Copyright © Olli Parviainen 2001-2025
1. Introduction
SoundTouch is an open-source audio processing library that allows
@@ -81,8 +81,8 @@
The SoundTouch library compiles in practically any platform
supporting GNU compiler (GCC) tools.
2.2.1 Compiling with autotools
- To install build prerequisites for 'autotools' tool chain:
- sudo apt-get install automake autoconf libtool build-essential
+ To install build prerequisites for 'autotools' tool chain (for Ubuntu/Debian. Use dnf/yum/etc in other distros):
+ sudo apt install -y automake autoconf libtool build-essential
To build and install the binaries, run the following commands in
/soundtouch directory:
@@ -140,8 +140,8 @@
2.2.2 Compiling with cmake
'cmake' build scripts are provided as an alternative to the autotools toolchain.
- To install cmake build prerequisites:
- sudo apt-get install libtool build-essential cmake
+ To install cmake build prerequisites (for Ubuntu/Debian. Use dnf/yum/etc in other distros):
+ sudo apt install -y libtool build-essential cmake
To build:
cmake .
@@ -606,10 +606,17 @@
soundstretch original.wav output.wav -pitch=-0.318
- 5. Change History
+ 5. Change History
5.1. SoundTouch library Change History
- 2.3.3:
+ 2.4.0:
+ - Set CMake minimum version to 3.5 to avoid deprecation warning
+ - Increase max nr. of channels from 16 to 32
+ - Don't use `pow()` when using integer precision samples
+ - Replace `-Ofast` that's being deprecated in some compilers, by `-O3 -ffast-math`
+
+ 2.3.3:
+
- Fixing compiler warnings, maintenance fixes to make/build files for various systems
@@ -881,9 +888,14 @@
+
5.2. SoundStretch application Change History
- 2.3.3:
+ 2.4.0:
+ - parse command-line argument values with double float precision.
+
+ 2.3.3:
+
- Added support for Asian / non-latin filenames in Windows. Gnu platform has supported them already earlier.
1.9:
diff --git a/configure.ac b/configure.ac
index 0683dfc..d7c1efe 100644
--- a/configure.ac
+++ b/configure.ac
@@ -15,7 +15,7 @@ dnl this program; if not, write to the Free Software Foundation, Inc., 59 Temple
dnl Place - Suite 330, Boston, MA 02111-1307, USA
# Process this file with autoconf to produce a configure script.
-AC_INIT([SoundTouch],[2.3.2],[http://www.surina.net/soundtouch])
+AC_INIT([SoundTouch],[2.4.0],[http://www.surina.net/soundtouch])
dnl Default to libSoundTouch.so.$LIB_SONAME.0.0
LIB_SONAME=1
AC_SUBST(LIB_SONAME)
diff --git a/include/SoundTouch.h b/include/SoundTouch.h
index 7045209..22bf2ec 100644
--- a/include/SoundTouch.h
+++ b/include/SoundTouch.h
@@ -72,10 +72,10 @@ namespace soundtouch
{
/// Soundtouch library version string
-#define SOUNDTOUCH_VERSION "2.3.3"
+#define SOUNDTOUCH_VERSION "2.4.0"
/// SoundTouch library version id
-#define SOUNDTOUCH_VERSION_ID (20303)
+#define SOUNDTOUCH_VERSION_ID (20400)
//
// Available setting IDs for the 'setSetting' & 'get_setting' functions:
diff --git a/readme.md b/readme.md
index cda1919..52c5de8 100644
--- a/readme.md
+++ b/readme.md
@@ -11,7 +11,13 @@ same time
Visit [SoundTouch website](https://www.surina.net/soundtouch) and see the [README file](https://www.surina.net/soundtouch/readme.html) for more information and audio examples.
-### The latest stable release is 2.3.3
+## Version
+
+**The latest stable release in Git is 2.4.0**
+
+See the [README file for change history](https://soundtouch.surina.net/README.html#changehistory)
+
+[](https://repology.org/project/soundtouch/versions)
## Example
@@ -21,7 +27,7 @@ Use SoundStretch example app for modifying wav audio files, for example as follo
soundstretch my_original_file.wav output_file.wav -tempo=+15 -pitch=-3
```
-See the [README file](http://soundtouch.surina.net/README.html) for more usage examples and instructions how to build SoundTouch + SoundStretch.
+See the [README file](https://soundtouch.surina.net/README.html) for more usage examples and instructions how to build the software.
Ready [SoundStretch application executables](https://www.surina.net/soundtouch/download.html) are available for download for Windows and Mac OS.
@@ -40,6 +46,7 @@ The source code package includes dynamic library import modules for C#, Java and
## Tarballs
Source code release tarballs:
+* https://www.surina.net/soundtouch/soundtouch-2.4.0.tar.gz
* https://www.surina.net/soundtouch/soundtouch-2.3.3.tar.gz
* https://www.surina.net/soundtouch/soundtouch-2.3.2.tar.gz
* https://www.surina.net/soundtouch/soundtouch-2.3.1.tar.gz
diff --git a/source/SoundTouchDLL/SoundTouchDLL.rc b/source/SoundTouchDLL/SoundTouchDLL.rc
index 70a666f..237dbc3 100644
--- a/source/SoundTouchDLL/SoundTouchDLL.rc
+++ b/source/SoundTouchDLL/SoundTouchDLL.rc
@@ -69,12 +69,12 @@ BEGIN
BEGIN
VALUE "Comments", "SoundTouch Library licensed for 3rd party applications subject to LGPL license v2.1. Visit http://www.surina.net/soundtouch for more information about the SoundTouch library."
VALUE "FileDescription", "SoundTouch Dynamic Link Library"
- VALUE "FileVersion", "2.3.3.0"
+ VALUE "FileVersion", "2.4.0.0"
VALUE "InternalName", "SoundTouch"
- VALUE "LegalCopyright", "Copyright (C) Olli Parviainen 2024"
+ VALUE "LegalCopyright", "Copyright (C) Olli Parviainen 2025"
VALUE "OriginalFilename", "SoundTouch.dll"
VALUE "ProductName", " SoundTouch Dynamic Link Library"
- VALUE "ProductVersion", "2.3.3.0"
+ VALUE "ProductVersion", "2.4.0.0"
END
END
BLOCK "VarFileInfo"