Skip to content

Instantly share code, notes, and snippets.

@jbarrett
jbarrett / midi-filter.pl
Last active March 10, 2025 13:56
MIDI Hardware event filtering
#!/usr/bin/env perl
# There is currently an issue with native callbacks and threaded perls, which leads to a crash.
# As of Jan 2025, all the available pre-built perls I am aware of for Windows are threaded.
# I was able to work around this by building an unthreaded perl with cygwin / perlbrew... but
# you might want to just try this on Linux or Mac instead :)
use v5.40;
use experimental qw/ class /;
@gmoraiz
gmoraiz / rm_emulator5562_offline.sh
Last active May 3, 2025 01:09
remove emulator-5562 offline from adb devices
#Native Instruments software uses PORT 5562 ON TCP (NTKDaemon)
#Run CMD as Administrador and write:
netstat -ano | findstr :5563
taskkill /PID <PID> /F