Skip to content

Instantly share code, notes, and snippets.

Avatar

JP Cimalando jpcima

View GitHub Profile
View main-soundio.cc
#include "main.h"
#include "main-soundio.h"
#include "core/math/utility.h"
#include "core/definitions.h"
#include "utils/logmsg.h"
#include "utils/concat.h"
#include "utils/scope_guard.h"
#include <speex/speex_resampler.h>
#include <algorithm>
#include <memory>
View fftw3-complex.diff
--- fftw3.h.orig 2018-01-06 10:10:22.761362301 +0100
+++ fftw3.h 2018-01-06 10:11:38.086398149 +0100
@@ -54,6 +54,7 @@
{
#endif /* __cplusplus */
+#if !defined(FFTW_DEFINE_COMPLEX)
/* If <complex.h> is included, use the C99 complex type. Otherwise
define a type bit-compatible with C99 complex */
#if !defined(FFTW_NO_Complex) && defined(_Complex_I) && defined(complex) && defined(I)
View bbd~.cc
/* Digital model of a bucket brigade delay (BBD)
*
* Puredata adaptation of software located at
* http://colinraffel.com/software/bbdmodeling/echo.cpp
*
* References
* Raffel, C., & Smith, J. (2010, September).
* Practical modeling of bucket-brigade device circuits.
*
* Copyright (C) 2017-2018 Jean-Pierre Cimalando.
@jpcima
jpcima / PKGBUILD
Created Mar 3, 2018
python-altgraph 0.15
View PKGBUILD
_name=altgraph
pkgname=python-altgraph
pkgver=0.15
pkgrel=1
pkgdesc='altgraph is a fork of graphlib: a graph (network) package for constructing graphs'
arch=('any')
url="https://pypi.python.org/pypi/$_name"
license=('MIT')
depends=('python')
makedepends=('python-setuptools')
View convert.cc
#define DISABLE_HW_SUPPORT 1
#define DISABLE_VGM_LOGGING 1
#include "driver/src/OPLSynth.h"
typedef bool BOOLEAN;
#include "driver/src/patch.h"
//#include "driver/src/mauipatch.h"
//#include "driver/src/fmsynthpatch.h"
//#include "driver/src/2x2patchtest.h"
//#include "driver/src/ctmidipatch.h"
View make-blacklist.sh
#!/bin/bash -e
chost=i686-w64-mingw32
prefix=/usr/"$chost"
mingw_crt_files() {
pacman -Ql mingw-w64-crt | cut -d ' ' -f 2-
}
mingw_find_libs() {
View blacklist.py
[ "aclui.dll", "activeds.dll", "adsldpc.dll", "advapi32.dll", "apcups.dll", "authz.dll", "avicap32.dll", "avifil32.dll", "avrt.dll", "bcrypt.dll", "bootvid.dll", "browcli.dll", "bthprops.cpl", "cabinet.dll", "cap.dll", "cfgmgr32.dll", "classpnp.sys", "clfsw32.dll", "clusapi.dll", "cmutil.dll", "comctl32.dll", "comdlg32.dll", "connect.dll", "credui.dll", "crtdll.dll", "crypt32.dll", "cryptnet.dll", "cryptsp.dll", "cryptxml.dll", "cscapi.dll", "ctl3d32.dll", "d2d1.dll", "d3d11.dll", "d3d8.dll", "d3d9.dll", "d3dcompiler_43.dll", "d3dcompiler.dll", "d3dcompiler.dll", "d3dcompiler.dll", "d3dcompiler.dll", "d3dcompiler_37.dll", "d3dcompiler_38.dll", "d3dcompiler_39.dll", "d3dcompiler_40.dll", "d3dcompiler_41.dll", "d3dcompiler_42.dll", "d3dcompiler_43.dll", "d3dcompiler_46.dll", "d3dcompiler_47.dll", "d3dcsx_46.dll", "d3dcsxd_43.dll", "d3dcsxd_43.dll", "d3dim.dll", "d3drm.dll", "d3dx10_43.dll", "d3dx10_33.dll", "d3dx10_34.dll", "d3dx10_35.dll", "d3dx10_36.dll", "d3dx10_37.dll", "d3dx10_38.dll", "d3dx10_39.dll", "d3
View miditest.cc
/*
g++ -o miditest miditest.cc -lrtmidi && ./miditest
*/
#include <rtmidi/RtMidi.h>
#include <stdio.h>
#include <unistd.h>
int main()
{
RtMidiOut midiout(RtMidi::LINUX_ALSA, "midiout test case");
View test-dynarray.cpp
#include <jsl/dynarray>
#include <boost/test/unit_test.hpp>
#include <memory>
#include <iostream>
//------------------------------------------------------------------------------
// Dynamically allocated box type. Just for memory leak checking.
template <class T>
class Box {
public:
You can’t perform that action at this time.