Skip to content

Instantly share code, notes, and snippets.

@mawe42
mawe42 / geocities_midi_prog_changes.txt
Last active April 24, 2018 21:27
Number of program change events in MIDI files (from the geocities midi collection)
MIDI file body from: https://archive.org/details/archiveteam-geocities-midi-collection-200
Total MIDI files: 51140
Broken files: 958
Analysed files: 50182
Results:
1+ program change: 9284
10+ program changes: 1987
50+ program changes: 312
@mawe42
mawe42 / fluid_freeverb.c
Last active October 22, 2017 23:10
Idea for FluidSynth internal effects API
#include "fluid_fx"
#include "fluid_freverb.h"
fluid_fx_handle_t *freeverb_instantiate(fluid_fx_descriptor_t *desc, fluid_real_t sample_rate)
{
// create freeverb instance
}
void freeverb_cleanup(fluid_fx_handle_t *fx_handle)
{