README.md : More README formatting.

This commit is contained in:
kevin 2024-12-03 13:12:16 -05:00
parent 7f6a56552c
commit 51307c8a90

View File

@ -35,52 +35,50 @@ sets of parameters. The primary parameter file is `src/cwtest/cfg/main.cfg`.
----
# MIDI - MIDI Device Manager
-------------------------------------------------------------------------------------------------------------------------------------------
midiDeviceReport [cwMidiDeviceTest.cpp testReport()](https://gitea.currawongproject.org/cml/libcw/src/branch/master/cwMidiDeviceTest.cpp)
---------------- --------------------------------------------------------------------------------------------------------------------------
Notes: List The current set of MIDI hardware devices
-------------------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------------------
midiDevice [cwMidiDeviceTest.cpp test()](https://gitea.currawongproject.org/cml/libcw/src/branch/master/cwMidiDeviceTest.cpp)
---------------- --------------------------------------------------------------------------------------------------------------------------
Notes: Interactive testing of the MIDI input file device
start/pause/unpause/stop functions. This function also validates the
latency of the device by comparing the time between MIDI events as
generated by the device to the actual time between the events in the
MIDI file.
-------------------------------------------------------------------------------------------------------------------------------------------
# MIDI - MIDI devices and files.
CLI Label | Source File | Function
----
Label | Source File | Function
------------------|----------------------|--------------
midiDeviceReport | cwMidiDeviceTest.cpp | testReport()
List The current set of MIDI hardware devices
----
Label | Source File | Function
------------------|----------------------|--------------
midiDevice | cwMidiDeviceTest.cpp | test()
Interactive testing of the MIDI input file device
start/pause/unpause/stop functions. This function also validates the
latency of the device by comparing the time between MIDI events as
generated by the device to the actual time between the events in the
MIDI file.
CLI Label | Source File | Function
----
Label | Source File | Function
------------------|----------------------|--------------
midifile | cwMidiFile.cpp | test()
MIDI file utility parameters:
Convert a MIDI file to a CSV file.
- Convert a MIDI file to a CSV file.
```
csv: { midiFn:<filename> csvFn:<filename> }
```
Print the first <msgCnt> MIDI messages from a file.
- Print the first <msgCnt> MIDI messages from a file.
```
rpt_beg_end: { midi_fname:<filenae>, msgCnt:<int>, note_on_only_fl:<true|false> }
```
Print the entire contents of the MIDI file.
- Print the entire contents of the MIDI file.
```
rpt : { midiFn:<filename> }
```
Convert all the MIDI files in the folder: `<path>/<folder>/take/'record_%i'` to CSV files
- Convert all the MIDI files in the folder: `<path>/<folder>/take/'record_%i'` to CSV files
```
batch_convert: { io_dir:<path>, session_dir:<folder>, take_begin:<int>, take_end:<int> print_warnings_flag:<true|false> }
```