Skip to content

Instantly share code, notes, and snippets.

@alexanderlerch
alexanderlerch / data-sets.md
Last active February 23, 2026 16:01
list of MIR datasets
dataset meta data contents with audio
200DrumMachines 7371 one-shots yes
AAM onsets, pitches, instruments, melody instrument, keys, chords, tempo, beats 3000 (artificial) tracks yes
ACM_MIRUM tempo 1410 excerpts (60s) yes
ACPAS aligned audio and scores 2189 performances of 497 scores downloadable
AcousticBrainz-Genre 15-31 genres with 265-745 subgenres audio features for ove
@nikitakit
nikitakit / TensorflowModel.scala
Created July 8, 2016 01:35
Opening Tensorflow models in scala
package epic.tensorflow
import org.bytedeco.javacpp.{tensorflow, BytePointer}
import org.bytedeco.javacpp.tensorflow.GraphDef
/**
* Created by kitaev on 1/22/16.
*/
class TensorflowModel(filename: String) {
@pklaus
pklaus / arduino-due_high-speed-ADC.ino
Last active September 5, 2025 12:45
Arduino Due: ADC → DMA → USB @ 1MSPS
#undef HID_ENABLED
// Arduino Due ADC->DMA->USB 1MSPS
// by stimmer
// from http://forum.arduino.cc/index.php?topic=137635.msg1136315#msg1136315
// Input: Analog in A0
// Output: Raw stream of uint16_t in range 0-4095 on Native USB Serial/ACM
// on linux, to stop the OS cooking your data:
// stty -F /dev/ttyACM0 raw -iexten -echo -echoe -echok -echoctl -echoke -onlcr