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 quadrafuzz.dsp
// A port of Quadrafuzz effect from Pizzicato
// https://alemangui.github.io/pizzicato/#quadrafuzz
import("stdfaust.lib");
msp = library("maxmsp.lib");
quadrafuzz(x) = dry_gain * x + low_band(x) + mid1_band(x) + mid2_band(x) + hi_band(x)
with {
dry_gain = hslider("[1]Dry gain", 0, 0, 1, 0.01) : si.smoo;
wet_gain = hslider("[2]Wet gain", 1, 0, 1, 0.01) : si.smoo;
View load-dssi.cc
/*
Usage: load-dssi /usr/lib/dssi/libzynaddsubfx_dssi.so
Build (without pthread):
g++ -O2 -g -o load-dssi load-dssi.cc -ldl
Build (with pthread):
g++ -O2 -g -o load-dssi load-dssi.cc -ldl -pthread
*/
View gist:96e1b2fed2fc420ce92ed9e46c395f0a
############
# freeadsp #
############
0.6.0
-----
Rewritten from scratch.
###########
# lv2proc #
View DF.diff
diff --git a/common/Spectrogram.cpp b/common/Spectrogram.cpp
index a4a663a..92ac259 100644
--- a/common/Spectrogram.cpp
+++ b/common/Spectrogram.cpp
@@ -172,7 +172,7 @@ void Spectrogram::onDisplay() {
fNanoText->fontSize ( 16 );
fNanoText->textAlign ( NanoVG::ALIGN_RIGHT | NanoVG::ALIGN_MIDDLE );
- for ( int i = 0 ; i < 6 ; i++ ) {
+ for ( int i = 0 ; i < 5 ; i++ ) {
View dssi-sample-rate.diff
diff -ru naspro-bridges-0.5.1.orig/dssi/plugin.c naspro-bridges-0.5.1/dssi/plugin.c
--- naspro-bridges-0.5.1.orig/dssi/plugin.c 2014-02-06 00:24:32.000000000 +0100
+++ naspro-bridges-0.5.1/dssi/plugin.c 2019-05-29 21:14:27.972507091 +0200
@@ -245,7 +245,7 @@
/* Let's try to steal MIDI programs as presets... */
instance = desc->LADSPA_Plugin->instantiate(desc->LADSPA_Plugin,
- 480000);
+ 48000);
if (instance == NULL)
View load-amsynth-dssi.cc
#include <dssi.h>
#include <dlfcn.h>
#include <stdio.h>
int main()
{
void *dlh = dlopen("/usr/lib/dssi/amsynth_dssi.so", RTLD_LAZY);
if (!dlh)
return 1;
View haiku-test-case.txt
Haiku shredder 1 hrev53167 May 26 2019 19:04:45 x86_64 x86_64 Haiku
gcc version 8.3.0 (2019_05_24)
### Linker error notes ###
## Reduced test case with c++ program
hello.cc
--------------------------------------------------------
#include <iostream>
@jpcima
jpcima / fmidiplay-1941-debug-28-05-2019-17-20-43.report.1
Created May 28, 2019
fmidiplay-1941-debug-28-05-2019-17-20-43.report.1
View fmidiplay-1941-debug-28-05-2019-17-20-43.report.1
Debug information for team /boot/home/Desktop/midiplay/fmidiplay (1941):
CPU(s): 2x AMD Ryzen 7
Memory: 1022.85 MiB total, 315.84 MiB used
Haiku revision: hrev53167 May 26 2019 19:04:45 (x86_64)
Active Threads:
thread 1942: team 1941 debug task
thread 1941: fmidiplay (main)
state: Exception (Segment violation)
@jpcima
jpcima / fmidiplay-1304-debug-28-05-2019-16-35-45.report
Created May 28, 2019
fmidiplay-1304-debug-28-05-2019-16-35-45.report
View fmidiplay-1304-debug-28-05-2019-16-35-45.report
Debug information for team /boot/home/Desktop/midiplay/fmidiplay (1304):
CPU(s): 2x AMD Ryzen 7
Memory: 1022.85 MiB total, 282.38 MiB used
Haiku revision: hrev53167 May 26 2019 19:04:45 (x86_64)
Active Threads:
thread 1305: team 1304 debug task
thread 1304: fmidiplay (main)
state: Exception (Segment violation)
View nuked-drums.diff
diff --git a/BambooTracker/chips/nuked/ym3438.c b/BambooTracker/chips/nuked/ym3438.c
index 6f4d427..6739c44 100644
--- a/BambooTracker/chips/nuked/ym3438.c
+++ b/BambooTracker/chips/nuked/ym3438.c
@@ -474,7 +474,11 @@ void OPN2_DoRegWrite(ym3438_t *chip)
for (i = 0; i < 6; ++i)
{
if (chip->write_data & (1 << i))
+ {
chip->rhythm_key[i] = 0;
You can’t perform that action at this time.