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 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;
@jpcima
jpcima / bin2wav.cc
Last active Mar 12, 2019
bin2wav.cc
View bin2wav.cc
/*
Convertir fichier binaire en fichier WAVE.
Construction : g++ -O2 -g -o bin2wav bin2wav.cc -lsndfile
*/
#include <sndfile.hh>
#include <getopt.h>
#include <stdlib.h>
View opal-ksl.diff
diff --git a/src/chips/opal/opal.hpp b/src/chips/opal/opal.hpp
index f554920..590f38d 100644
--- a/src/chips/opal/opal.hpp
+++ b/src/chips/opal/opal.hpp
@@ -1237,12 +1237,8 @@ void Opal::Operator::SetFrequencyMultiplier(uint16_t scale) {
//==================================================================================================
void Opal::Operator::SetKeyScale(uint16_t scale) {
- if (scale > 0)
- KeyScaleShift = 3 - scale;
@jpcima
jpcima / opal-pan.diff
Created Feb 23, 2019
Soft panning for Opal OPL3
View opal-pan.diff
--- src/chips/opal/opal.cpp.orig 2019-02-23 20:32:00.477658789 +0100
+++ src/chips/opal/opal.cpp 2019-02-23 20:31:38.685179092 +0100
@@ -13,6 +13,7 @@
- Percussion mode
*/
+#define OPAL_HAVE_SOFT_PANNING 1 /* libADLMIDI */
View ADLMIDI.txt
------------------------------------------------------------
Title:
------------------------------------------------------------
ADLMIDI Player
------------------------------------------------------------
Short description:
------------------------------------------------------------
A simple OPL3 Synth based MIDI Player with use of libADLMIDI
View OPNMIDI.txt
------------------------------------------------------------
Title:
------------------------------------------------------------
OPNMIDI Player
------------------------------------------------------------
Short description:
------------------------------------------------------------
A simple OPN2 and OPNA Synth based MIDI Player with use of libOPNMIDI
View strings.xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">Lecteur ADLMIDI</string>
<!-- For OPNMIDI -->
<!-- <string name="app_name">Lecteur OPN2 MIDI</string> -->
<string name="adlibdrums">Mode percussions AdLib</string>
<string name="bankNo">Banque de timbres</string>
<string name="htremolo">Trémolo augmenté</string>
You can’t perform that action at this time.