Commit graph

9 commits

Author SHA1 Message Date
beau trepp a11b695c5e Converts midi channel and cable to be enums.
This will allow pattern matching and seems to
be more use-able.

Tests are defined to ensure the u8 serialization still
corresponds to expected midi values
2019-12-12 19:45:58 +08:00
beau trepp dd37e5efcc Refactoring
Swaps a few things around, and adds some better types
2019-12-12 19:45:58 +08:00
beau trepp 273f897ea5 Adds doc to midi in 2019-12-12 19:45:58 +08:00
btrepp 36702035fa
Create rust.yml 2019-12-12 19:45:20 +08:00
beau trepp 5f631bb56b Puts usb constants in it's own file
Moves them into usb_constants.rs.
These can maybe be moved into the usdb-device crate?.
They could be more shareable
2019-09-17 21:26:14 +08:00
btrepp fddd4254b1 Update issue templates 2019-09-17 21:17:48 +08:00
beau trepp 0f31acf6ce Adds in midi note enums
This should be much more human readable,
rather than relying on knowing the midi codes.

It should be represented the same way anyway,
and also works with sharps/flats
2019-09-17 21:13:19 +08:00
beau trepp fff66eaafc Adds readme 2019-09-15 15:57:48 +08:00
beau trepp 317c9ed2f8 Initial midi device implementation 2019-09-15 15:53:49 +08:00