11oLsen Homepage

Random Sample Picker v2

Saturday, 12 April 2014

This max4live device uses javascript to access Live's file database to allow advanced filtering of files. For the results we create symbolic links to make them drag-n-dropable from Live's browser. All in all it is more a proof of concept than a really useful device. Strange that Ableton isn't implementing more browser features in view of the fact that all file meta data is stored in a sqlite database.   



Nocturn Live Api Device 0.7

Saturday, 29 March 2014

As suggested on maxforlive.com, i reworked the resolution system of the encoders. And I'm very happy with it so far. It's now easy to make a full range left or right turn and at the same time use a much higher resolution if you turn slowly. It's a direct relationship between encoder turning speed and stepsize. Please report if this needs further finetuning.

Furthermore a usability boost of the device pages in form of a system to change and save the order of parameters of devices, 2 additional modes for snapshot fades, and a quick way to hotswap devices.

The Euclidean Algorithm

Friday, 14 March 2014

Another side-product of an upcoming device i want to share.

Meanwhile everybody knows this paper by Godfried Toussaint. I din't know there's an extended version. First time i heard about it was in this awesome maschinedrum talk by wesen, goto time 29:00.

It's easy to find good 3rd party externals to solve the task, but i felt challenged by doing it with basic max objects.

The first result was a highly inefficient patch. But now, after understanding the binary version of the algorithm a little bit better, i managed to create a much more efficient and simplified abstraction for Max.

Nocturn Live Api Device

Saturday, 08 March 2014

This was the logical step after creating the nocturn object. A m4l device that translates the raw Nocturn in/output to a system of pages to access the different sections of Live's API. The part that was handled by "Automap" and control script before.

This is again a PC-only release because it depends on my 11nocturn object. 

It should be pretty self-explanatory. A user window always shows the mappings and settings of the current page. There's a dedicated button on the controller to show/hide the user window.


  • my old solution (Automap+script) didn't work in Live 9
  • the idea to circumvent installation and configuration of Automap, a control script and so on
  • i like the rotary encoders because they are easy to switch to another parameter and resolution. They're endless which is better for scrolling and navigating than standard 0-127 midi knobs
  • for peace on earth

Working with parameters in the Live Api leads you to a decision on using live.remote~ to make fast but not recordable tweaks or using live.objects for lower-priority but recordable parameter changes.
I used live.object in any case to be able to record automations for device parameters. Now, we finally can do that in session view with Live 9.

Please don't hesitate to send me bug reports or suggestions. I patched this for my own needs and that may have made me blind for certain things. Same is true for growing complexity of patches.

As far as what i have planned, one major update will follow. And maybe i'll add a video to show the basic function of the device. Everything beyond depends on your feedback.

Novation Nocturn Object

Sunday, 23 February 2014

 novation nocturn pic

The idea came up when i tryed to install the Novation Nocturn again after a long time and itegrate it into Ableton Live. It's a pain. You really can't use this device without Automap, the software provided by Novation to create mappings for midi messages which are being sent into other software via virtual midi lines. And there's no native support for this controller in Live.

I needed an object to directly talk with the Nocturn from Max/Max4live. In the end, I will connect this object with the Live Api in a Max4live device and, by this, bypass the second pain of using/creating a custom phyton controller script in Live. I mean, a patch is far easier to customize and adapt to personal needs.

This guy obviously found a way to use the usb protocol of the nocturn with python under linux. With his Informations and some usb-sniffing in Windows i was aware of the protocol.

This is coded with the help of libusb-win32, a port of the USB library libusb 0.1 to the Microsoft Windows operating systems. I highly recommend to take a look if you think about custom drivers or custom interfaces for usb devices.

Interessting talks about this topic:

This release has NOT been tested extensively with many different maschines and conditions. Your feedback is really appreciated!

Keystrokes and Mouseclicks

Monday, 17 February 2014

These two Max externals for Windows can simulate keyboard and mouse input. Keystrokes and mousewheel input affect the active window.

Remote controlling (music-) software for me is one key for a smooth workflow. But sometimes important functions of a software cannot be assigned to a controller but to the keyboard or mouse.


Friday, 14 February 2014

I created this site to finally have a base for my releases of any kind. For the beginning i use a very clean, minimalist design and structure that will grow in line with requirements.