This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <cstdio> | |
#include <cstdlib> | |
#include <cmath> | |
int main(int argc, char *argv[]) | |
{ | |
if (argc != 3) { | |
fprintf(stderr, "Usage: %s <multi> <detune>\n", argv[0]); | |
return 1; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Référence: | |
// Dattorro, Jon. "Effect design, part 1: Reverberator and other filters." | |
// Journal of the Audio Engineering Society 45.9 (1997): 660-684. | |
// | |
import("stdfaust.lib"); | |
ptMax = 1.; | |
pt = hslider("[01] Predelay [unit:s]", 0., 0., ptMax, 0.001) : si.smoo; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Seulement dans sfizz/vst/external/VST_SDK/VST3_SDK.old: doc | |
diff -ru sfizz/vst/external/VST_SDK/VST3_SDK.old/public.sdk/source/vst/vstguieditor.cpp sfizz/vst/external/VST_SDK/VST3_SDK/public.sdk/source/vst/vstguieditor.cpp | |
--- sfizz/vst/external/VST_SDK/VST3_SDK.old/public.sdk/source/vst/vstguieditor.cpp 2019-12-02 13:58:41.000000000 +0100 | |
+++ sfizz/vst/external/VST_SDK/VST3_SDK/public.sdk/source/vst/vstguieditor.cpp 2020-03-29 03:13:36.489821616 +0200 | |
@@ -57,6 +57,7 @@ | |
#include "vstgui_win32_bundle_support.h" | |
#endif // SMTG_MODULE_IS_BUNDLE | |
#elif SMTG_OS_LINUX | |
+#include "vstgui/lib/platform/linux/x11platform.h" | |
extern void* moduleHandle; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/sfizz/parser/Parser.cpp b/src/sfizz/parser/Parser.cpp | |
index 8007e40c..20ba42ca 100644 | |
--- a/src/sfizz/parser/Parser.cpp | |
+++ b/src/sfizz/parser/Parser.cpp | |
@@ -236,20 +236,25 @@ void Parser::processOpcode() | |
std::string valueRaw; | |
extractToEol(reader, &valueRaw); | |
- // if another "=" character was hit, it means we read too far | |
- size_t position = valueRaw.find('='); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Experiments with auto-detune | |
declare author "JPC"; | |
declare licence "CC-0"; | |
import("stdfaust.lib"); | |
frequency = hslider("[1] Oscillator frequency [unit:Hz] [scale:log]", 440.0, 50.0, 1000.0, 1.0); | |
//------------------------------------------------------------------------------ | |
detuneAmount = hslider("[2] Detune amount [unit:%]", 50.0, 0.0, 100.0, 1.0) : *(0.01); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/include/CNativeFileSystem.h b/include/CNativeFileSystem.h | |
index 338afd7..75f09f2 100644 | |
--- a/include/CNativeFileSystem.h | |
+++ b/include/CNativeFileSystem.h | |
@@ -11,8 +11,6 @@ | |
#include "IFileSystem.h" | |
-struct SDir; | |
- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/cmake/LV2Config.cmake b/cmake/LV2Config.cmake | |
index ad6d351..e866205 100644 | |
--- a/cmake/LV2Config.cmake | |
+++ b/cmake/LV2Config.cmake | |
@@ -7,7 +7,7 @@ set (LV2PLUGIN_COMMENT "SFZ sampler") | |
set (LV2PLUGIN_URI "http://sfztools.github.io/sfizz") | |
set (LV2PLUGIN_REPOSITORY "https://github.com/sfztools/sfizz") | |
set (LV2PLUGIN_AUTHOR "Paul Ferrand") | |
-set (LV2PLUGIN_EMAIL "paul at ferrand dot cc") | |
+set (LV2PLUGIN_EMAIL "[email protected]") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* pluck.c - elementary waveguide simulation of plucked strings - JOS 6/6/92 */ | |
/* Note: The word "inline" below can be deleted if your compiler | |
does not support it. It is a nice GNU feature not in the ANSII C spec. */ | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#define MAX(a, b) ((a) > (b) ? (a) : (b)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "kiss_fftr.h" | |
#include <memory> | |
#include <complex> | |
static std::complex<kiss_fft_scalar> make_bin(double amplitude, double phase = 0.0) | |
{ | |
return std::polar<kiss_fft_scalar>(0.5 * amplitude, phase + M_PI / 2); | |
} | |
static void make_sine(kiss_fft_scalar *wave, int size, double amplitude) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <jack/jack.h> | |
#include <jack/midiport.h> | |
#include <unistd.h> | |
#include <stdexcept> | |
#include <cstdint> | |
static double samplerate = 0; | |
static jack_port_t *midiport = nullptr; |