VJForums  

Go Back   VJForums > Technique > Developers Area

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 23rd January 2012, 10:04 AM
alfaleader's Avatar
alfaleader alfaleader is offline
Senior Member
 
Join Date: Nov 2010
Location: Belgium
Posts: 696
Default APC20/other controllers customization with Processing

Hi



A while ago I made a tutorial for how to customize your midi controller to your needs with bomes midi translator. http://vjforums.com/showthread.php?t=35614

This method was very easy and worked fine, but there were some limitations. You had to run 2 bome programs, and midi ox to split the midi signal. It worked flawless, but it took a while to setup. I also wanted to add some new functions that weren't possible with bome's midi translator.

So I started to do some experiments with max/msp and vvvv. Because I'm not familiar with node based programming, I looked for a more traditional programming language. I found processing, that's based on JAVA. Processing is quite easy if you know your basic programming (classes, loops, if...). You can load a library that includes a certain aspect (OSC, MIDI, user input). Another good thing about processing: it's free!

So I started to build a program. First I used themidibus (the easiest solution for midi) but this library had some serious performance issues. It takes +-15 seconds to open a midi input/output (with high cpu usage). When the input or output is initialized, it works fine. (not sure this is a bug on my computer or not)
Then I took a look at rwmidi, this library is a lot harder to use but doesn't has the startup issues.



Usage
The program is made for resolume 3 (with no midi out), but if you can do a little programming you can adapt it to resolume 4 or any other program. I even made midi feedback for resolume 3 (not in this version). The program took each second the color of different positions on the screen, if those positions are a certain color (yellow), the clip is active and the midi controller changes it's color. (with some things to make sure you didn't scroll in the layers).

The start button activates bank 1, stop button bank 2, rec button activates a "fader mode". The fader mode makes each clip collumn a fader. These faders are OSC mapped to the dashboard of the (1->4) composition and layers (5->8). With the collumn next to the clips, you can change the active layer in fadermode. In bank mode the fist button clicks on windows explorer (on my computer) and the 2nd opens adobe bridge.

If you want to use these button clicks, you might have to change the x/y values in the program.

You need:
OSCP5
NetP5
ControlP5
Rwmidi

link: http://www.mediafire.com/?tdr8movy0q0y22b
The program and annotations are in dutch, buth shouldn't be to hard to understand Some annotations are in english.
This program is not tested with OSX, I don't know the libraries I used are compatible with OSX (rwmidi might have problems with coremidi from osx)

So now you can use this source to make your own, try to understand it. And the internet is your friend! Good luck

Last edited by alfaleader; 23rd January 2012 at 12:07 PM.
Reply With Quote
  #2  
Old 24th January 2012, 02:42 PM
-[eM Tv]-'s Avatar
-[eM Tv]- -[eM Tv]- is offline
visual content/e addict
 
Join Date: Aug 2006
Location: FRANCE
Posts: 48
Send a message via MSN to -[eM Tv]-
Default

nice !! thanks again alfaleader (for both the Bome's process and the processing one)

i'll have a look at it...
__________________
home | 1minute69 | vimeo
addiction + insomnia - logic = Visual Junkie
Reply With Quote
  #3  
Old 24th January 2012, 05:21 PM
alfaleader's Avatar
alfaleader alfaleader is offline
Senior Member
 
Join Date: Nov 2010
Location: Belgium
Posts: 696
Default

Thanks!

I'm also making some little programs that can make a vjs live easier. MIDI over LAN/wifi (there are some programs that can do this, but they don't work on my computer).
Also a midi port duplicator.

Now that I have the framework of midi input/output, osc input/output, and GUI I can create new programs very fast
Reply With Quote
  #4  
Old 19th April 2012, 10:57 AM
LucyJW LucyJW is offline
Junior Member
 
Join Date: Apr 2012
Location: London
Posts: 1
Default

Wow thank you for posting this http://www.rabbit-insurance-broker.co.uk in depth and easy to understand because despite all that most of these seem to be geared for people who know everything!!

Last edited by LucyJW; 19th June 2012 at 09:19 AM.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:31 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger