Skip to content

Commit 2922808

Browse files
committed
Initial upload
0 parents  commit 2922808

File tree

2 files changed

+541
-0
lines changed

2 files changed

+541
-0
lines changed

README.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# Tap 2 MIDI
2+
3+
Detect taps on microphone or other sound input and triggers MIDI notes (velocity-sensitive)
4+
5+
### Prerequisites
6+
7+
Requires libasound (ALSA) development files
8+
9+
```
10+
apt install libasound2-dev
11+
```
12+
13+
### Installing
14+
15+
Compile tap2midi.c
16+
```
17+
gcc tap2midi.c -lasound -lm -o tap2midi
18+
```
19+
You may want to copy `tap2midi` somewhere on your path.
20+
21+
22+
## Running the program
23+
24+
Identify the soundcard you want to use with
25+
```
26+
arecord -l
27+
```
28+
Launch the program
29+
```
30+
./tap2midi hw:3,0 -d 0.97 -t 0 -l -36 -c 2 -g 0 -v
31+
```
32+
33+
## Authors
34+
35+
* **Marc Perilleux** - *Initial work*
36+
37+
## License
38+
39+
This project is licensed under the
40+
41+
## Acknowledgments
42+
43+
* Includes code from http://equalarea.com/paul/alsa-audio.html Minimal Capture Program
44+

0 commit comments

Comments
 (0)