Behringer CDM MM-1

A script to support voice tracking in mAirlist with the Behringer CMD
MM-1 MIDI controller
Create README.md

Readme created from script header
Update on README

Small typo corrections & beautifying
Update on README

removed 80 char ruler ;-)
Script update

- changed variables
- improved logging for multi-script-environments
-
Script updated

Changed display of MIDI devices only if DEBUG is true
Introduced .gitignore

excluded swap files
Delete README.md~

removal of temporary file
Delete Behringer_CMD_MM-1.mls~

removal of temporary file
expanded Script & .gitignore

Added useful procedures from NotificationScriptTemplate. Updated
.gitignore to default + VIM for Windows exceptions
Script debugged

introduced IntToStr functions for numerical values in debug string
Added Auto/Assist Logic, Player Logic

Added functionality to control button lights when changing between Auto-
and Assist mode. Prepared the same for Voicetrack mode.

Added Logic to blink player buttons whille track is running.
function StateToStr added, shutdown behaviour changed

Added a function StateToStr (from dgoersch in the forum) to translate
player states into human readable strings.

Changed shutdown behaviour from onShutdown to onUnload recommended by
Torben as onShutdown didn't work as expected. onUnload does the trick.
procedure SetComponent added

changed behaviour from calling midiou() directly by introducing a new
procedure SetComponent. Takes a componentName, index and the desired
state as input,, checks against settable components and sets the state
as desired, if possible. Yields an error message upon failure to set any
component.
updated setAssist, extended onPlayerStateChange

prepared setAssist / setAutomation / setVoicetrack for re-use

Included "real" functionality in onPlayerStateChange and PFL state
changes

TODO: find out how to getPlayerState and set the players correctly at
startup (onLoad)
Modified OnLoad

added a check of the player states to OnLoad so already loaded players
will light up on the unit
Updated script Version log

completed the version log
Merge branch 'master' of https://github.com/McCavity/Behringer_CMD_MM-1

Conflicts:
	.gitignore
Corrected some typos, changed License to Apache License 2.0
Included a few minor corrections