Skip to content

Instantly share code, notes, and snippets.

JP Cimalando jpcima

Block or report user

Report or block jpcima

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View violin.dsp
declare name "Violin Physical Model";
declare author "Faust";
declare version "1.0";
declare license "CC0-1.0";
import("stdfaust.lib");
process = pm.violin_ui_MIDI;
View mp3check-0.8.7-build.patch
diff -ru mp3check-0.8.7.orig/Makefile mp3check-0.8.7/Makefile
--- mp3check-0.8.7.orig/Makefile 2012-06-05 00:33:07.000000000 +0200
+++ mp3check-0.8.7/Makefile 2019-10-21 22:10:22.062549973 +0200
@@ -3,8 +3,8 @@
# --- config ----------------------------------------------------------------
WARN = -Wall -W -g
-#OPT = -O2
-OPT =
+OPT = -O2 -fpermissive
@jpcima
jpcima / chorus3.diff
Created Oct 12, 2019
Adjust the volume level
View chorus3.diff
diff --git a/faust/chorus3.dsp b/faust/chorus3.dsp
index b48fa53..70ed07a 100644
--- a/faust/chorus3.dsp
+++ b/faust/chorus3.dsp
@@ -50,8 +50,8 @@ process = chorus with {
/**/
chorus(x) =
- ba.if(enabled, x + (x : line(lfo1)), x),
- ba.if(enabled, x + (x : line(lfo2)), x)
View generictextedit.patch
diff --git a/vstgui/lib/platform/common/generictextedit.cpp b/vstgui/lib/platform/common/generictextedit.cpp
index 67ada025..9bfa19a7 100644
--- a/vstgui/lib/platform/common/generictextedit.cpp
+++ b/vstgui/lib/platform/common/generictextedit.cpp
@@ -353,9 +353,9 @@ CMouseEventResult STBTextEditView::onMouseDown (CFrame* frame,
const CButtonState& buttons)
{
auto where = _where;
- if (auto parent = getParentView ())
+ // if (auto parent = getParentView ())
View PKGBUILD
# Maintainer: Milk (milk / milkii on Freenode)
# Maintainer: Jean Pierre Cimalando <jp-dev@inbox.ru>
# Contributor: osch <oliver@luced.de>
pkgname=surge-synthesizer-git
_pkgname=surge
pkgver=r986.ef46dd0
pkgrel=1
pkgdesc="Surge Synthesizer plugin (LV2/VST3, git head)"
arch=('x86_64')
url="https://surge-synthesizer.github.io"
View surge-lv2-default.patch
diff --git a/src/lv2/SurgeLv2Export.cpp b/src/lv2/SurgeLv2Export.cpp
index c2b03b7..3f46a6b 100644
--- a/src/lv2/SurgeLv2Export.cpp
+++ b/src/lv2/SurgeLv2Export.cpp
@@ -99,7 +99,7 @@ void lv2_generate_ttl(const char* baseName)
" lv2:index " << portIndex << " ;\n"
" lv2:symbol \"" << pSymbol << "\" ;\n"
" lv2:name \"" << pName << "\" ;\n"
- " lv2:default " << pMeta.fdefault << " ;\n"
+ " lv2:default " << defaultSynth->getParameter01(index) << " ;\n"
View no-menu-animation.diff
diff --git a/vstgui/lib/platform/common/genericoptionmenu.cpp b/vstgui/lib/platform/common/genericoptionmenu.cpp
index 58fe6a89..d4408813 100644
--- a/vstgui/lib/platform/common/genericoptionmenu.cpp
+++ b/vstgui/lib/platform/common/genericoptionmenu.cpp
@@ -16,6 +16,15 @@
#include "../../controls/coptionmenu.h"
#include "../../controls/cscrollbar.h"
+/// Surge ///
+#ifndef VSTGUI_OPTION_MENU_NEVER_ANIMATE
View vgm.diff
diff --git a/src/chips/vgm_file_dumper.cpp b/src/chips/vgm_file_dumper.cpp
index 8f052b4..79587c6 100644
--- a/src/chips/vgm_file_dumper.cpp
+++ b/src/chips/vgm_file_dumper.cpp
@@ -52,7 +52,7 @@ VGMFileDumper::VGMFileDumper(OPNFamily f)
std::memset(&m_vgm_head, 0, sizeof(VgmHead));
std::memcpy(m_vgm_head.magic, "Vgm ", 4);
m_vgm_head.version = 0x00000150;
- std::fseek(m_output, 0x40, SEEK_SET);
+ std::fseek(m_output, 0x38, SEEK_SET);
View SmallStone.dsp
declare name "StonePhaser";
declare author "JPC";
declare version "1.1";
declare license "CC0-1.0";
// Référence :
// Kiiski, R., Esqueda, F., & Välimäki, V. (2016).
// Time-variant gray-box modeling of a phaser pedal.
// In 19th International Conference on Digital Audio Effects (DAFx-16).
View chirp.dsp
// chirp synthesizer with all-pass filter chain
import("stdfaust.lib");
allpass1(f) = fi.iir((a,1.),(a)) with {
a = -1.+2.*ma.PI*f/ma.SR;
};
process = os.lf_imptrain(oscf) : seq(i,64,allpass1(apf)) with {
oscf = 1.0/30e-3;
You can’t perform that action at this time.