Tag Archives: tutorial


Howto route MIDI to between Max/MSP and virtual synths


Having recently released my androidome application, I have recieved a number of queries on how to “get sound working with virtual synths” from Max/MSP, specifically monome patches. Although I have no idea on how to achieve this on MacOS (I’m sure guides are available), this tutorial should hopefully shed some light on how to do this on Windows.

The problem here is communication between the different applications. One application (in our case Max/MSP) is generating MIDI note information and a different application, typically a DAW like Ableton Live, wants to receive this data to pass on to virtual synths etc. If we want to do more advanced things like sync the tempo between Max/MSP and the DAW, this communication must be bidirectional. This can be achieved by using a free MIDI routing application called LoopBe:

Routing Setup


The first step therefore is to download and install LoopBe1 (note you want the free version at the bottom of the page). During the installation process it may warn you that “Continuing your installation of this software may impair or destabilize the correct operation of your system either immediately or in the future…“. This is nothing to worry about, and you are safe to install the app.

The next stage is to setup a VST Host or DAW (if you don’t already have one). KVR Audio has a great comparison of free VST Hosts. If you have an application like Ableton Live, or Cubuse you need look no further – this will do fine. If you don’t, in the meantime I suggest you download and install the free trial of AudioMulch, one of my preferred hosts.

Finally we need a synth to load up into the host. Fortunately there are thousands of good free VST synths out there, so its just a case of trying a few and seeing how they sound, although to get the most from monome patches, you ideally are looking for something polyphonic. I will use a good free VST synth called Superwave P8, which should be a reasonably good starting point, with plenty of presets. Download and install this, preferably to a sensible place like C:\VST\Instruments.

Now return to your host and make sure that you have specified the location of the VST, e.g. in AudioMulch goto Edit -> Settings… -> VST Plugins. Also the LoopBe MIDI router should be listed as a MIDI Device under Edit -> Settings… -> MIDI Input and Control, probably as MidiIn1.

At the bottom of the left pane, there should be a list of VST Plugins, where the Superwave P8 should be listed. Set up a patch similar to that below, where MidiIn1 is the LoopBe device:

Audiomulch Patch

Now activate Audio and Midi by making sure the two icons on the top control panel are highlighted:

Activate Sound and Midi

AudioMulch is now ready to accept input from Max/MSP. Next, open the patch which you want to use. A good example of a simple, well documented monome app is ArpShift. Once the patch is open, click on the Midi Out dropdown list, choose LoopBe Internal MIDI. We should now be sending midi from ArpShift to our synth in AudioMulch, as pictured below:

Arpshift MIDI Setup


Hopefully this tutorial should have been of some use to some people. If there is any difficulty in understanding any of it, please leave me a comment and I’ll try to help out. Some of the ideas can be tricky to grasp initially but it is worth perserving with as it should allow you to explore new methods of making music that you may not have come across before. 


Introduction to Isometric Pixel Art

The basic idea behind using an isometric view is to give the appearance of a 3D image on a 2D plane (i.e. the screen). The definition is basically that the each axis of projection follows the same scale, i.e. there is no perspective, meaning that the angle between all axes is the same (120°).

However, if we actually apply these angles to pixel art, it is more problematic. We have tan(30)  0.577, which means for every two pixels in the x-direction, we must move 1.155 in the y-direction! These clearly must be integer values if we are dealing with pixels on a screen, so we change the angle slightly so that we get a 1:2 ratio.

While we could in theory draw in a true isometric projection, it would require anti-aliasing to avoid looking horrible, and part of the whole pixel art philosophy is the idea of clean and crisp outlines; it is a style of digital art devoid of the smoothed, Photoshop processed  feel that is more common today.

Isometric Line ExamplesOf course other types of line can be used in isometric pixel art (to great effect), but it is generally advisable to stick to integer ratios for their gradients. A good example of this may be found in Rhys Davis’ authoritative “The Complete Guide to Isometric Pixel Art“, he describes a family of lines that work particularly well (see right).