AddRoutes (MIDI, OSC + Blemote, a nascent Android app)

Hello, as the original author of AddOSC/AddMIDI for Blender 2.7x I have been working on a new Add-on for Blender 2.8x which covers the same functionalities but is aswell a full rewrite with many new features. This Add-on is intended to support later a few more protocols and already offers MIDI and OSC.

There is already a documentation here and a download section with a link to get it:

Last month I released an Android application to compliment this Add-on, allowing to remote control Blender properties if you donā€™t have a dedicated hardware surface with knobs and sliders. This application called Blemote (yeah, itā€™s a funny name) is still very young :

The Add-on is already used by a few intrepid users and even though there are still many improvements to be done, I think itā€™s time to communicate a bit more about its existence.

News:
-24 October 2020: v0.31 -> http://www.jpfep.net/addroutes-v031/
-20 June 2020: v0.30 -> http://www.jpfep.net/addroutes-v030/
-6 May 2020: v0.29 -> http://www.jpfep.net/addroutes-v029-important-osc-bug-fixes-1/
-15 April 2020: v0.28 -> http://www.jpfep.net/addroutes-v028/
-3 April 2020 : v0.27 -> http://www.jpfep.net/addroutes-v027/
-23 March 2020: The Add-on has been renamed as AddRoutes. A new version is available. See
http://www.jpfep.net/addroutes-v026-blemote-v02/

9 Likes

Hazzah! Thanks for your great work!
I was having trouble using ā€˜MIDI, OSC and Moreā€™, however.
(By the way, Iā€™m not the most tech savvy person, so this isnā€™t all terribly obvious to me. Please forgive me.)

  1. I install the plugin.
  2. I create a new project.
  3. I create a cube.
  4. I right click the Y rotation of the cube and click ā€˜Create A Realtime Routeā€™.
  5. I expand the MIDI OSC menu.
  6. I select my ā€˜nanoKONTROLā€™ as the ā€˜Midi Inā€™.
  7. ??? :confounded: ???Āæ

Okayā€¦ This is where Iā€™m lost. I donā€™t understand the instructions beyond that.
How do I link a specific push button on my midi controller to this rotation variable Iā€™ve routed to it?
Iā€™ve read all the documentation youā€™ve supplied, but Iā€™m still lost, cuz Iā€™m a n00b.

Thanks to anyone who can help!

2 Likes

Hi @ JPfeP I am very interested in testing this AddOSC from Blemote.
I am almost to the point of giving up OSC because I havenā€™t got any results -at all- with Blender.
Iā€™ve worked with 3DsMax and Softimage in the past, using iOs and Android respectively.
But itā€™s 2020, and I really, really, really wish there was a way for me to plug parameters in and drive them with the phone. Is Blemote available on the android store? Does it have custom layout designs?
Can AddOSC work with TouchOSC in the phone? IĀ“ve been using it for the longestā€¦
Thanks

I tried to download Blemote.apk twice but says the package fails to install. I am using android 4.4.4

Yes it works with TouchOSC.

The app was build with a minimum API level = 21 which corresponds to Android 5 but I think I might try for the next version to switch to level 19 (and lower) to make the app run on Android 4.4.4ā€¦

The MIDI push button you are referring to is probably a ā€œContinuous Controller 7bitā€, so the next step is to select than kind of messages instead of the default value ā€œKey On Numberā€. See the Routes tab, to edit the route created by step 4.

Thank you so much for your reply.

I guess I really need to have my hand held, here, as Iā€™ve spent days and still canā€™t figure it out.

Iā€™ve included the settings Iā€™m using, below.
Maybe my midi isnā€™t routed properly??
Iā€™m new to midi! I have Midi Ox, but Iā€™m not sure how to use it, necessarily.
And when I open it, it says my midi controller is out of memory, unless I close Blender.

Thanks so much!

Donā€™t worry. I am upgrading to Android 9 next week. Just help me, please, to setup a video using Hexlerā€™s TouchOSC in Android to run with your MOM addon. I have no clue how to map parameters there. Obviously I am testing it with a tablet on Android 8ā€¦ but without a videoā€¦

If any of you other folks messing with this plugin have any insight, I havenā€™t figured out my issue, yet and my deadline is about to crush me :frowning: I would really appreciate any ideas. I feel like my issue is very basic, but itā€™s just above my head.

SOLVED
Turns out the drivers/software for my Korg NanKontrol are fussy.
I plugged in my Novation LaunchPad and the plugin worked.

Thanks for the great plugin!

Hello!

How did you find the solution? My midi controller works on other applications.

I have the same problem and I canā€™t get any further. I have an Oxygen 25 midi controller.

I select it, create a realtime route for the Y-position on the cube. Set to continuous controller 7ā€¦Then what? I tried everything I canā€™t see any movement and the documentation has no information on setting up.

Any help is appreciated!

A new version is available, and the Add-on is now called AddRoutes:
http://www.jpfep.net/addroutes-v026-blemote-v02/

@crispyastrologer: Well, for MIDI route and cc7 you need to ā€œselectā€ the right controller and set the route to receive. You can use the debug option to control if at least something arrives in Blender and if a route responds. Itā€™s a little checkbox at the right of the MIDI input device.

2 Likes

Hi @JPfeP . I think this plugin is major as I am a big fan of using controllers.

ATM I want to learn to use it, in basic mode, so I want to turn my Launchpad into a Hotkeys pad. First I tried with my Launchpad, then I tried with my MPD32 so I could see the note numbers on my controller screen. None worked the way I configured it. And Windows10 is recognizing the devices plugged in the usb port.

The first error I find with AddRoutes is that when I right-click on an item, for instance the ā€œSnapā€ icon, the ā€œcreate a realtime routeā€ option is grayed out, before and after configuring it all the way like in the screenshots. Or after selecting my controller and right clicking the option is grayed out, without having created a route already. I have read the documentation and have tried out a lot of different configurations and I canā€™t get it to work. I donā€™t know where my configuration fail is at.

Last week with M.O.M I got the ā€œcreate a realtime routeā€ to work, but when pressing the right note number nothing happened. Iā€™m attaching all pertinent screenshots. Any help is appreciated. (Forget the midi clock in option, that got selected when I was taking the screenshot after the tests by mistake trying to click the viewport in Blender again).

Hi MechaX, for some reason I cannot reproduce the interface state you have. Is it Blender 2.82 ? There are some icons I donā€™t have here.

I think for some reason your GUI configuration prevent the use of the snap function. Thatā€™s weird.

I did a short test here with my Linux version of B2.82 and was able to use ā€œcreate realtime routeā€ without problem.

You can if you want configure manually the route like this:

I was able to switch the snap switch with the modwheel of my MIDI keyboard.
I had to enter the expression ā€˜IN> 1ā€™ (as shown on the picture) so that every value above 1 are converted to 1.

This is needed as the ā€œuse_snapā€ property requires 0 or 1 and will refuse a different value.

Hi @JPfeP. Thanks for the response.

Yes, Iā€™m using Blender 2.82.a .What icons are you mentioning? Ones inside AR (AddRoutes) tab, or ones in my Blender interface?

I followed your steps indicated and got the following: (Notice the warning sign in the add on tab)

*update

I am a musician, record engineer, and I know things can be tricky when working with midi, specially in Windows. Drivers, usb busses that allow certain devices to work and others that not, really complicated but ridiculous system config that stops these things from working, that vary from computer to computer.

Where would you recommend me to start looking to get AR up and running?

Honestly, atm I just want to right click and ā€œcreate a realtime routeā€ hotkey and keep working. Then Iā€™ll go deeper into AR and use sliders for camera movements and all that using the other options available.

That this plugin doesnā€™t work in my machine doesnā€™t mean it wonā€™t work in others. Probably itā€™s just the config I have in my computer at this time, I have a bunch of Daws and music software that use midi, that can be part of the problem. I used Midi-Ox to make sure that my Launchpad was sending midi data and that my computer was processing it and receiving it. So thatā€™s checked out.

This is one is one of the best plugins ever in my opinion for Blender.

The Launchpad Hotkey Pad will make me work faster, Iā€™ll have more options at hand so Iā€™ll use different approaches, I can swap easily between modes, and wonā€™t have to do big finger stretches pressing down 3 keys, that way keeping my hands healthier.

I advise to change the AR download to something like ā€œAddRoutes.1.0.zipā€ instead of ā€œAddRoutes_latest.zipā€. Itā€™s confusing. I downloaded it 5 days ago. Example, is that still considered ā€œthe latestā€?

Iā€™m going to do some research these weeks, as I am very busy, and try to see where my system is failing, and get it to work. And Iā€™ll post it here. Probably itā€™s just a minor obvious thing that requires some thinking with a clear mind.

If you or any other user can give me any recommendation do please post them here, as Iā€™ll be checking out AR as frequent as possible till I get it to work. Regards and all the best.

Thanks for your feedback. Indeed it would be nice to get the versioned zip not the ā€œAddRoutes_latest.zip", and even access to a directory with all the previous versions for testing.

I have been able to reproduce the greyed out ā€œcreate realtime routeā€ trouble, by accident. It happens in some context and I have changed that in the version I am going to release in the next few days.

Something that might help you to get going is to open blender from a terminal CLI and when in your project, enable Debug in the MIDI Config Panel. You should see some information in the terminal when a midi event is received.

I just released AddRoutes version 0.27 with the bug fix for ā€œCreate realtime routeā€ and a few more for Blemote. More here :

http://www.jpfep.net/addroutes-v027/

1 Like

Thanks for the info about the terminal, it is very useful. I was just about to post a question on how to see midi information coming in to Blender this next week.

Later this evening Iā€™m giving v.0.27 a spin, sounds really promising. As I said before, I am a big fan of using controllers, assigning them to hotkeys, so I donā€™t have my hand holding and gripping the mouse, fingers in the keyboard the whole time, besides other functions that can be applied to sliders and knobs like controlling Values. Iā€™m sure this will come in handy to a lot of people as well. Best of luck!

Will post how it goes with my config next week!

There is in the pipeline the project to add support for joysticks, and on some OS (Linux for now), itā€™s possible to isolate keyboard and mouse from the desktop to have them as cheap controllers. I am a little busy on many fronts, but itā€™s a matter of time.

1 Like

I understand, I am doing many things as well at the same time.

Tonight Iā€™m installing the new version of AddRoutes and taking it for a spin.

The coming support for joysticks is fantastic, I know they are very useful in live and production situations in Ableton Live, that can translate well to Blender. I find very useful for many things the additional isolated controllers. Iā€™ll wait till it comes around for Windows.

You should put it up in GumRoad as PWUW, when you know itā€™s working as intended.

1 Like