-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREQ_encToJackClient
More file actions
26 lines (20 loc) · 921 Bytes
/
REQ_encToJackClient
File metadata and controls
26 lines (20 loc) · 921 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
top level reqs
--------------
the executable shall read values from encoder(s).
the exec shall print the encoder values to stdout
the exec shall act as a jack client
the exec shall convert the encoder values to MIDI msgs
the exec shall push the midi msgs to a jack server
the exec shall be configurable through cli args
the exec should not require to store any values in cfg file for next run
input args reqs
---------------
-g gpioEncA,gpioEncB: gpio numbers for the pairs of encA, encB connections.
one pair per encoder. This options should be allowed multiple times
-c ctrl#: controller number. corresponds to -g. for each -g there should be a -c.
-n jackname: name of jack client
-p <no arg>: print to stdout instead of loading the jack client (the 2 are mut.ex.)
operational reqs
----------------
-the exec shall be started with some cli args
-the exec shall be closed gracefully through a SIGTERM signal