Hi! Ok, it seems that on your g++, we need an additional #include <cmath> for a few files. It should work if you apply the attached patch. Basically, I haven't decided how I want it to work in the next release, so how SpectMorph interacts with std::fabs, std::sin and so forth may still change, but at least this should be enough to compile it. Cu... Stefan On Sun, Jul 02, 2017 at 10:40:06PM +0500, 'Nikita Zlobin' via SpectMorph wrote: > In Tue, 20 Jun 2017 16:32:28 +0200 > Stefan Westerfeld <stefan@xxxxxxxxxxxx> wrote: > > Tried to build (using gentoo). No matter, in ebuild or doing manually > autoreconf, configure, make... it gives these errors: > > http://codepad.org/tIdMYE9Z > > before to build i checked history in gitweb, but found nothing related > since version bump > > > spectmorph-0.3.3 has been released. > > > > Overview of Changes in spectmorph-0.3.3: > > ---------------------------------------- > > * Added portamento: > > - VST: support MPE to perform per-voice pitch bend (can be used in > > Bitwig) > > - new portamento mono mode (all hosts) > > * Added vibrato. > > * Internal improvements: > > - better property abstraction for (non-linear) UI properties > > - updated polyphase interpolator (used for vibrato|portamento) > > - fixed a few problems when developing against spectmorph(ui) libs > > - don't link against Qt UI library when only QtCore is necessary > > * Compile fixes for g++-6.3 > > > > What is SpectMorph? > > ------------------- > > SpectMorph is a free software project which allows to analyze samples > > of musical instruments, and to combine them (morphing). It can be > > used to construct hybrid sounds, for instance a sound between a > > trumpet and a flute; or smooth transitions, for instance a sound that > > starts as a trumpet and then gradually changes to a flute. > > > > SpectMorph ships with many ready-to-use instruments which can be > > combined using morphing. > > > > SpectMorph is implemented in C++ and licensed under the GNU LGPL > > version 3 > > > > Integrating SpectMorph into your Work > > ------------------------------------- > > In order to make music that contains SpectMorph, you currently need > > to use Linux. There are four ways of integrating SpectMorph sounds > > into music you create: > > > > - LV2 Plugin, for any sequencer that supports it. > > - VST Plugin, especially for proprietary solutions that don't support > > LV2. > > - JACK Client. > > - BEAST Module, integrating into BEASTs modular environment. > > > > Note that at this point, we may still change the way sound synthesis > > works, so newer versions of SpectMorph may sound (slightly) different > > than the current version. > > > > Links: > > ------ > > Website: http://www.spectmorph.org > > Download: http://www.spectmorph.org/downloads/spectmorph-0.3.3.tar.bz2 > > > > There are many audio demos on the website, which demonstrate morphing > > between instruments. > > -- > You received this message because you are subscribed to the Google Groups "SpectMorph" group. > To unsubscribe from this group and stop receiving emails from it, send an email to spectmorph+unsubscribe@xxxxxxxxxxxxxxxx. > To post to this group, send email to spectmorph@xxxxxxxxxxxxxxxx. > To view this discussion on the web visit https://groups.google.com/d/msgid/spectmorph/20170702224006.550f2934%40calculate.local. > For more options, visit https://groups.google.com/d/optout. > -- Stefan Westerfeld, http://space.twc.de/~stefan
diff --git a/tests/testaafilter.cc b/tests/testaafilter.cc index 2cdf6ce..32dc8ca 100644 --- a/tests/testaafilter.cc +++ b/tests/testaafilter.cc @@ -7,6 +7,8 @@ #include "smfft.hh" #include <vector> +#include <cmath> + #include <assert.h> #include <stdio.h> #include <unistd.h> diff --git a/tests/testfft.cc b/tests/testfft.cc index e4529b3..5a77922 100644 --- a/tests/testfft.cc +++ b/tests/testfft.cc @@ -9,6 +9,7 @@ #include <assert.h> #include <algorithm> +#include <cmath> using namespace SpectMorph; diff --git a/tests/testifftsynth.cc b/tests/testifftsynth.cc index e5b8858..8fec0fa 100644 --- a/tests/testifftsynth.cc +++ b/tests/testifftsynth.cc @@ -8,11 +8,13 @@ #include "smfft.hh" #include "smutils.hh" -#include <vector> #include <stdio.h> #include <assert.h> #include <sys/time.h> +#include <vector> +#include <cmath> + using namespace SpectMorph; using std::vector; diff --git a/tests/testnoisemodes.cc b/tests/testnoisemodes.cc index af8299f..664a7e5 100644 --- a/tests/testnoisemodes.cc +++ b/tests/testnoisemodes.cc @@ -8,6 +8,8 @@ #include <assert.h> +#include <cmath> + using namespace SpectMorph; using std::max; using std::vector; diff --git a/tests/testppinter.cc b/tests/testppinter.cc index 05f6670..b9d5e84 100644 --- a/tests/testppinter.cc +++ b/tests/testppinter.cc @@ -6,9 +6,10 @@ #include "smlivedecoder.hh" #include "smfft.hh" -#include <sys/time.h> - #include <vector> +#include <cmath> + +#include <sys/time.h> #include <assert.h> #include <stdio.h> diff --git a/tools/smrunplan.cc b/tools/smrunplan.cc index 355b9ce..99838ea 100644 --- a/tools/smrunplan.cc +++ b/tools/smrunplan.cc @@ -12,6 +12,8 @@ #include <sys/time.h> #include <assert.h> +#include <cmath> + using namespace SpectMorph; using std::vector;
_______________________________________________ Linux-audio-user mailing list Linux-audio-user@xxxxxxxxxxxxxxxxxxxx http://lists.linuxaudio.org/listinfo/linux-audio-user