~ttymidi-team/ttymidi/trunk

« back to all changes in this revision

Viewing changes to README

  • Committer: Jari Suominen
  • Date: 2021-11-25 06:40:36 UTC
  • Revision ID: jari@tasankokaiku.com-20211125064036-w6g24y8l1o7ats7f
More edits on documentation, no changes to software.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
 
5
5
COMPILATION
6
6
 
7
 
The ttyMIDI source code is comprised of a single C file.  To compile it, just
 
7
The ttyMIDI source code consists of a single C file.  To compile it, just
8
8
run the following command:
9
9
 
10
10
        make
53
53
the ardumidi library to figure out how to read this data at the Arduino end.
54
54
 
55
55
If you would like to use a GUI to connect your MIDI clients, there are many
56
 
available.  One of my favorites is qjackctl.
 
56
available. One of my favorites is qjackctl. For command line use, I prefer aconnect
 
57
and aj-snapshot.
57
58
 
58
59
 
59
60
TTYMIDI SPECIFICATION 
67
68
contains the command type and channel.  After that, 2 parameter bytes are
68
69
transmitted.
69
70
 
70
 
To simplify the decoding process, ttyMIDI does not support "running status".
71
 
 
72
71
byte1       byte2                     byte3                     Command name
73
72
 
74
73
0x80-0x8F   Key # (0-127)             Off Velocity (0-127)      Note OFF
75
74
0x90-0x9F   Key # (0-127)             On Velocity (0-127)       Note ON
76
75
0xA0-0xAF   Key # (0-127)             Pressure (0-127)          Poly Key Pressure
77
76
0xB0-0xBF   Control # (0-127)         Control Value (0-127)     Control Change
78
 
0xC0-0xCF   Program # (0-127)         Not Used                          Program Change
 
77
0xC0-0xCF   Program # (0-127)         Not Used                  Program Change
79
78
0xD0-0xDF   Pressure Value (0-127)    Not Used                  Mono Key Pressure (Channel Pressure)
80
79
0xE0-0xEF   Range LSB (0-127)         Range MSB (0-127)         Pitch Bend
81
80