liuanlin-mx / MXTune

pitch correction plugin for VST
GNU General Public License v3.0
152 stars 8 forks source link

MXTune

hot keys

attribution

build

windows(msys2)

msys2

pacman -S mingw-w64-x86_64-toolchain
pacman -S make cmake autoconf automake-wrapper libtool mingw-w64-x86_64-python3 mingw-w64-x86_64-waf mingw-w64-x86_64-fftw mingw-w64-x86_64-rubberband

JUCE

VST SDK

build SoundTouch

./bootstrap 
./configure --prefix=/mingw64 --enable-static --disable-shared
make CXXFLAGS="-DSOUNDTOUCH_PREVENT_CLICK_AT_RATE_CROSSOVER=1"
make install

build aubio

python3 /mingw64/bin/waf configure --enable-fftw3f --disable-tests --disable-examples --disable-wavread --disable-wavwrite --prefix=/mingw64
python /mingw64/bin/waf install -j4

build MXTune

mkdir build-cmake
cd build-cmake
cmake .. -DCMAKE_CXX_COMPILER=g++ -DCMAKE_C_COMPILER=gcc -G "Unix Makefiles"
make -j4

macOS

brew install pkg-config
brew install autoconf
brew install automake
brew install libtool
brew install cmake

JUCE

Download Juce (https://github.com/juce-framework/JUCE 7.0.5) run Projucer File->Open MXTune/JUCE/mx_tune.jucer File->Global Paths modify "Path to JUCE" and "JUCE Modules" File->Save All

VST SDK

Download the VST SDK (http://www.steinberg.net/en/company/developers.html) copy vstsdk2.4/pluginterfaces to VST_SDK/VST3_SDK/ copy VST_SDK/VST3_SDK to MXTune/

build Audio

./configure --enable-static --enable-float --enable-single
./waf configure --enable-fftw3f --disable-tests --disable-examples --disable-wavread --disable-wavwrite --notest
sudo ./waf install

build SoundTouch

make CXXFLAGS="-DSOUNDTOUCH_PREVENT_CLICK_AT_RATE_CROSSOVER=1 -fdata-sections -ffunction-sections"
sudo make install

build rubberband

make -f otherbuilds/Makefile.macos
sudo cp -R rubberband /usr/local/include 
sudo cp lib/* /usr/local/lib
sudo cp build/meson-private/rubberband.pc /usr/local/lib/pkgconfig/

build MXTune

mkdir build-cmake
cd build-cmake
cmake ..
make -j6
sudo cp libmx_tune.dylib /Library/Audio/Plug-Ins/VST/mx_tune.vst

linux