blob: fa3693484b4ed393a2046935655af89e76f2d167 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
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
}
|