midi stuff and chord constructors