Coding Behavioral Experiments in Matlab using a Touch Device like KORG padKONTROL

Korg padKontrol nanoPad2

Korg padKontrol nanoPad2

In my previous post titled “Using Matlab with a KORG padKONTROL USB MIDI Input Device“, I went over the initial preparations necessary for utilizing a KORG padKONTROL midi studio controller in Matlab as a multipurpose input device using a tool called padKONTROL Editor Librarian. Once all the controller triggers are customized to your liking (and can talk to Matlab), it’s time to make use of this newly gained functionality. For this demo, I’m going to run through an example of how this device was used in two different behavioral psychology experiments. The first experiment was examining reaction times to various tones, and the second was a stop-signal experiment that made use of the pressure sensitivity in the KORG padKONTROL tap pads.

These are just examples of the many ways this KORG padKONTROL midi studio controller can be used as a versatile multipurpose input device. Here’s even a Matlab Simulink design that can make use of the padKONTROL to control robotic devices:

KORG Simulink

Let’s start by looking at some code…

To be continued…