2019-03-24 00:59:09 +01:00
|
|
|
{ stdenv, fetchFromGitHub, audiofile, libvorbis, fltk, fftw, fftwFloat,
|
|
|
|
minixml, pkgconfig, libmad, libjack2, portaudio, libsamplerate }:
|
2019-03-13 17:24:34 +01:00
|
|
|
|
2019-03-24 00:59:09 +01:00
|
|
|
stdenv.mkDerivation {
|
2019-03-13 17:24:34 +01:00
|
|
|
pname = "paulstretch";
|
|
|
|
version = "2.2-2";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "paulnasca";
|
|
|
|
repo = "paulstretch_cpp";
|
|
|
|
rev = "7f5c3993abe420661ea0b808304b0e2b4b0048c5";
|
|
|
|
sha256 = "06dy03dbz1yznhsn0xvsnkpc5drzwrgxbxdx0hfpsjn2xcg0jrnc";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
audiofile
|
|
|
|
libvorbis
|
|
|
|
fltk
|
|
|
|
fftw
|
|
|
|
fftwFloat
|
|
|
|
minixml
|
|
|
|
libmad
|
|
|
|
libjack2
|
|
|
|
portaudio
|
|
|
|
libsamplerate
|
|
|
|
];
|
|
|
|
|
|
|
|
buildPhase = ''
|
|
|
|
bash compile_linux_fftw_jack.sh
|
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
install -Dm555 ./paulstretch $out/bin/paulstretch
|
|
|
|
'';
|
2019-03-24 00:59:09 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Produces high quality extreme sound stretching";
|
|
|
|
longDescription = ''
|
|
|
|
This is a program for stretching the audio. It is suitable only for
|
|
|
|
extreme sound stretching of the audio (like 50x) and for applying
|
|
|
|
special effects by "spectral smoothing" the sounds.
|
|
|
|
It can transform any sound/music to a texture.
|
|
|
|
'';
|
|
|
|
homepage = http://hypermammut.sourceforge.net/paulstretch/;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
};
|
2019-03-13 17:24:34 +01:00
|
|
|
}
|