#! /usr/bin/env sh
# Init Midi
# Depends on sendmidi being installed:
# https://github.com/gbevin/SendMIDI

# Knobs
# DJFs
sendmidi dev in0 cc 49 64
sendmidi dev in0 cc 50 64
sendmidi dev in0 cc 51 64
# Effects
sendmidi dev in0 cc 52 0
sendmidi dev in0 cc 53 0
sendmidi dev in0 cc 54 0
sendmidi dev in0 cc 55 0
sendmidi dev in0 cc 56 0
sendmidi dev in0 cc 13 0
sendmidi dev in0 cc 14 0
sendmidi dev in0 cc 15 0
sendmidi dev in0 cc 16 0
sendmidi dev in0 cc 17 0
sendmidi dev in0 cc 18 0
sendmidi dev in0 cc 19 0
sendmidi dev in0 cc 20 0
sendmidi dev in0 cc 29 0
sendmidi dev in0 cc 30 0
sendmidi dev in0 cc 31 0
sendmidi dev in0 cc 32 0
sendmidi dev in0 cc 33 0
sendmidi dev in0 cc 34 0
sendmidi dev in0 cc 35 0
sendmidi dev in0 cc 36 0
# Faders
sendmidi dev in0 cc 77 72
sendmidi dev in0 cc 78 46
sendmidi dev in0 cc 79 46
sendmidi dev in0 cc 80 46
sendmidi dev in0 cc 81 46
sendmidi dev in0 cc 82 46
sendmidi dev in0 cc 83 46
sendmidi dev in0 cc 84 46
# Buttons
sendmidi dev in0 cc 41 0
sendmidi dev in0 cc 42 0
sendmidi dev in0 cc 43 0
sendmidi dev in0 cc 44 0
sendmidi dev in0 cc 57 0
sendmidi dev in0 cc 58 0
sendmidi dev in0 cc 59 0
sendmidi dev in0 cc 60 0
sendmidi dev in0 cc 73 0
sendmidi dev in0 cc 74 0
sendmidi dev in0 cc 75 0
sendmidi dev in0 cc 76 0
sendmidi dev in0 cc 89 0
sendmidi dev in0 cc 90 0
sendmidi dev in0 cc 91 0
sendmidi dev in0 cc 92 0
