Click
=====

Hardware:
- PC/Linux
- Raspberry Pi 3 B
- Microcontroller

Features:
- Input: MIDI
- Output: Audio output
  Options:
  * Self generated click, self chosen tempo
  * Click based on MIDI clock (24 clocks per quarter note during song)
  * Click based on configurable MIDI note
    e.g. ch4 c#1 (37) drum map : stick

- Display:
  - set/detected tempo (from clock/click)
  - detected notes

MIDI:
$ aseqdump -l
 Port    Client name                      Port name
  0:0    System                           Timer
  0:1    System                           Announce
 14:0    Midi Through                     Midi Through Port-0
 24:0    M2                               M2 MIDI 1

=> M2 on 24:0 => client 24, port 0

PCM:
Configure device:

Find your card with:
$ cat /proc/asound/cards

To get valid ALSA card names, use aplay:

$ aplay -l
...
default:CARD=Headphones
...

and then create /etc/asound.conf with following:

pcm.!default {
    type hw
    card 1
}

ctl.!default {
    type hw
    card 1
}