Tower Unite Guide

Midi Keyboard Program Linux/Windows for Tower Unite

Midi Keyboard Program Linux/Windows

Overview

A Python script that lets you use your MIDI keyboard in game and play like a real Ludwig.

Running on Windows

Before running make sure you have your MIDI capable keyboard plugged in, turned on and connected to your PC. Also make sure your PC detects it.
Also make sure your MIDI keyboard is set to Channel 1.

If you want to run the code directly with Python(You’re going to need knowledge on executing and installing modules), source: [link]

Downloading and Running
For convenience, you can download and extract an executable version that means you won’t even need Python installed, just download, extract, and run.

Download TowerMidi.zip. Extract and run Tower.exe from here:

[link]


Click the dropdown box, and select your keyboards name, and click Start. Now when you press a button on your MIDI Keyboard your PC should recieve the correct letters, you can test this in Notepad or any text editor if you want to try before entering the game.

I added a QWERTZ button on request, which switches the Y and Z. If you’re one of these weird azerty or zipboptoodlepip people with funky keyboard layouts and really want to play, let me know and I’ll add a magic thing that does stuff.

Running on Linux

Reqs: Python 2.7, PyUserInput and Pygame.
But you should know how to get it going anyway if you’re on Linux 😉

If when you close the program you encounter a terminal error saying;

PortMidi call failed… PortMidi: `Bad pointer’ type ENTER…

It’s rather annoying and I just deal with it, but if you superly insist on a fix, this guy found one; [link]

Extra Info / Not working?

If you recieve no output, it’s possible your keyboard is set to the wrong channel. Your manual should show you how to change it, manuals also exist online for pretty much everything if you need to find it.

This script uses Pygame’s Midi module, which in turn uses PortMidi, it’s a proper Midi module that can interact with real and virtual Midi devices. For more info on it you can see here; [link]

What I mean by this is that if your device isn’t showing up or the program errors when you run it, it’s likely your end since the module is popular and written by someone who knows their stuff.
Although other MIDI software like Synthesia etc. shouldn’t interfere, it has been known to cause problems after installing this software without restarting your PC. So if you install any MIDI software take note that it could be that causing the problems.

SteamSolo.com