fmsynth: init at 2015-02-07

This commit is contained in:
Bart Brouns 2016-11-01 14:43:16 +01:00
parent 96e462cbe1
commit 4396ee9536
2 changed files with 51 additions and 1 deletions

View File

@ -0,0 +1,48 @@
{ stdenv, fetchFromGitHub, gtkmm2, lv2, lvtk, pkgconfig }:
stdenv.mkDerivation rec {
name = "fmsynth-unstable-${version}";
version = "2015-02-07";
src = fetchFromGitHub {
owner = "Themaister";
repo = "libfmsynth";
rev = "9ffa1d2fea287f1209b210d2dbde2f0f60f37176";
sha256 = "1bk0bpr069hzx2508rgfbwpxiqgr7dmdkhqdywmd2i4rmibgrm1q";
};
buildInputs = [ gtkmm2 lv2 lvtk pkgconfig ];
buildPhase = ''
cd lv2
substituteInPlace GNUmakefile --replace "/usr/lib/lv2" "$out/lib/lv2"
make
'';
preInstall = "mkdir -p $out/lib/lv2";
meta = {
description = "a flexible 8 operator FM synthesizer for LV2";
longDescription = ''
The synth core supports:
- Arbitrary amounts of polyphony
- 8 operators
- No fixed "algorithms"
- Arbitrary modulation, every operator can modulate any other operator, even itself
- Arbitrary carrier selection, every operator can be a carrier
- Sine LFO, separate LFO per voice, modulates amplitude and frequency of operators
- Envelope per operator
- Carrier stereo panning
- Velocity sensitivity per operator
- Mod wheel sensitivity per operator
- Pitch bend
- Keyboard scaling
- Sustain, sustained keys can overlap each other for a very rich sound
- Full floating point implementation optimized for SIMD
- Hard real-time constraints
'';
homepage = https://github.com/Themaister/libfmsynth;
license = stdenv.lib.licenses.mit;
maintainers = [ stdenv.lib.maintainers.magnetophon ];
platforms = stdenv.lib.platforms.linux;
};
}

View File

@ -7072,7 +7072,7 @@ in
#GMP ex-satellite, so better keep it near gmp
mpfr = callPackage ../development/libraries/mpfr/default.nix { };
mpfi = callPackage ../development/libraries/mpfi { };
# A GMP fork
@ -12770,6 +12770,8 @@ in
fmit = qt5.callPackage ../applications/audio/fmit { };
fmsynth = callPackage ../applications/audio/fmsynth { };
focuswriter = callPackage ../applications/editors/focuswriter { };
font-manager = callPackage ../applications/misc/font-manager { };