You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+35-35
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,7 @@
12
12
## About
13
13
14
14
The executable built by this project is intended to:
15
+
15
16
* communicate via messages with BEAM (Erlang language family) clients
16
17
* to do so with messages created by [midilib](https://github.com/erlsci/midilib)
17
18
* to be controlled by a `gen_server` (e.g., see [undermidi go server](https://github.com/ut-proj/undermidi/blob/release/0.2.x/src/undermidi/supervisor.lfe))
@@ -22,72 +23,72 @@ The executable built by this project is intended to:
22
23
A typical execution looks like this:
23
24
24
25
```shell
25
-
$ ./bin/midiserver -d -l warn -p exec
26
+
./bin/midiserver -d -l warn -p exec
26
27
```
27
28
28
29
You can use it to test your MIDI setup:
29
30
30
31
```shell
31
-
$ ./bin/midiserver list-devices
32
-
$ ./bin/midiserver example 0 0
32
+
./bin/midiserver list-devices
33
+
./bin/midiserver example 0 0
33
34
```
34
35
35
36
Full usage:
36
37
37
38
```shell
38
-
$ ./bin/midiserver -h
39
+
./bin/midiserver -h
39
40
```
40
41
41
42
```text
42
43
Usage: ./bin/midiserver [flags] [commands] [args]
43
44
44
45
Flags:
45
46
46
-
-dDaemonise midiserver; this disables the text parser; short-form flag
47
+
-dDaemonise midiserver; this disables the text parser; short-form flag
47
48
-daemon
48
-
Daemonise midiserver; this disables the text parser
49
+
Daemonise midiserver; this disables the text parser
49
50
-epmd-host string
50
-
Set hostname of the epmd to use (default "localhost")
51
+
Set hostname of the epmd to use (default "localhost")
51
52
-epmd-port int
52
-
Set port for the epmd to use (default 4369)
53
+
Set port for the epmd to use (default 4369)
53
54
-ergo.norecover
54
-
disable panic catching
55
+
disable panic catching
55
56
-ergo.trace
56
-
enable extended debug info
57
+
enable extended debug info
57
58
-i int
58
-
This needs to be a valid ID for a MIDI device capable of receiving
59
-
MIDI data; for a list of valid IDs be sure to run the 'list-devices'
60
-
command; short-form flag (default -1)
59
+
This needs to be a valid ID for a MIDI device capable of receiving
60
+
MIDI data; for a list of valid IDs be sure to run the 'list-devices'
61
+
command; short-form flag (default -1)
61
62
-l string
62
-
Set the logging level; short-form flag (default "warn")
63
+
Set the logging level; short-form flag (default "warn")
63
64
-log-reportcaller
64
-
Indicate whether the log lines contain the report caller
65
+
Indicate whether the log lines contain the report caller
65
66
-loglevel string
66
-
Set the logging level (default "warn")
67
+
Set the logging level (default "warn")
67
68
-midi-in int
68
-
This needs to be a valid ID for a MIDI device capable of receiving
69
-
MIDI data; for a list of valid IDs be sure to run the 'list-devices'
70
-
command (default -1)
69
+
This needs to be a valid ID for a MIDI device capable of receiving
70
+
MIDI data; for a list of valid IDs be sure to run the 'list-devices'
71
+
command (default -1)
71
72
-n string
72
-
Set the Erlang node name for remote communications; short-form flag
73
+
Set the Erlang node name for remote communications; short-form flag
73
74
-p string
74
-
Set the parser to user for commands and data. Legal values are:
75
-
[exec, port, text]. Note that setting to 'text' disables
76
-
daemonisation and setting any of the other parsers automatically
77
-
enables daemonisation; short-form flag (default "text")
75
+
Set the parser to user for commands and data. Legal values are:
76
+
[exec, port, text]. Note that setting to 'text' disables
77
+
daemonisation and setting any of the other parsers automatically
78
+
enables daemonisation; short-form flag (default "text")
78
79
-parser string
79
-
Set the parser to user for commands and data. Legal values are:
80
-
[exec, port, text]. Note that setting to 'text' disables
81
-
daemonisation and setting any of the other parsers automatically
82
-
enables daemonisation (default "text")
83
-
-rIndicate whether the log lines contain the report caller; short-form flag
80
+
Set the parser to user for commands and data. Legal values are:
81
+
[exec, port, text]. Note that setting to 'text' disables
82
+
daemonisation and setting any of the other parsers automatically
83
+
enables daemonisation (default "text")
84
+
-rIndicate whether the log lines contain the report caller; short-form flag
84
85
-remote-module string
85
-
Set the Erlang module for remote communications
86
+
Set the Erlang module for remote communications
86
87
-remote-node string
87
-
Set the Erlang node name for remote communications
88
-
-vDisplay version/build info and exit; short-form flag
88
+
Set the Erlang node name for remote communications
89
+
-vDisplay version/build info and exit; short-form flag
0 commit comments