Convert midi program change into CC?

Learn about building and using Max for Live devices.
Post Reply
filter_7
Posts: 389
Joined: Sun Feb 05, 2012 10:05 am

Convert midi program change into CC?

Post by filter_7 » Sat Jul 05, 2014 9:00 am

Is there a similar device?

There are a lot of midi foot controller on the market, but most of all send only program change, not mappable CCs for Ableton.
I would like to map a little midi pedalboard to record clips and loops with my guitar.

Do you have any information about how to realize it (or where to download it if already exists)?

Jdudeo
Posts: 33
Joined: Sun Aug 26, 2012 1:18 am
Location: Tokyo, Japan
Contact:

Re: Convert midi program change into CC?

Post by Jdudeo » Wed Jul 09, 2014 11:14 am

this should be very doable, what exactly do you want to do and how does your pedalboard behave?

filter_7
Posts: 389
Joined: Sun Feb 05, 2012 10:05 am

Re: Convert midi program change into CC?

Post by filter_7 » Wed Jul 09, 2014 2:19 pm

In practice the pedalboard sends program changes, the type of message to select a midi program from 1 to 128.

I would like to convert them to CC 'regular' notes, in order to have a 'stomp piano keyboard' and to map its buttons to a different clip or to Live Looper's device.

Jdudeo
Posts: 33
Joined: Sun Aug 26, 2012 1:18 am
Location: Tokyo, Japan
Contact:

Re: Convert midi program change into CC?

Post by Jdudeo » Wed Jul 09, 2014 2:45 pm

ok you can do it but since you're converting the program change messages to CCs within M4L inside of Ableton you won't be able to map them in the traditional way using Live's midi mapping window. You'll have to map them manually with M4L. Do you have any experience patching in M4L?

bennniii
Posts: 34
Joined: Tue Dec 10, 2013 11:35 am

Re: Convert midi program change into CC?

Post by bennniii » Thu Jul 10, 2014 3:18 am

very quick and dirty, but it should get you started.

1) chose pgmch number
2) map pgmch number to a parameter
3) if pgmch is received, assigned parameter is set full (127) and all others are turned of (0)

https://dl.dropboxusercontent.com/u/2098441/PGMCH.amxd

filter_7
Posts: 389
Joined: Sun Feb 05, 2012 10:05 am

Re: Convert midi program change into CC?

Post by filter_7 » Thu Jul 10, 2014 12:49 pm

@Jdudeo: I got zero knowledge of M4L...

@bennniii: cool idea! your device works but...
at the moment the map button can't map clip slots or Live's Looper (I tried with Looper but someting went wrong).

bennniii
Posts: 34
Joined: Tue Dec 10, 2013 11:35 am

Re: Convert midi program change into CC?

Post by bennniii » Thu Jul 10, 2014 1:01 pm

hello filter,

as i said, it's only a rough starting point. unfortunately i'm pretty short on time, currently :/
either you find your way into m4l a little (which is pretty much fun, believe me) or you'll have to wait a little.

my beginners-suggestion: check maxforlive.com for any device that allows you to map clips (/ slots)
and copy this portion of code into mine / yours.

filter_7
Posts: 389
Joined: Sun Feb 05, 2012 10:05 am

Re: Convert midi program change into CC?

Post by filter_7 » Thu Jul 10, 2014 1:21 pm

hi bennniii, thanks for your help, i'll try to implement it.
it's not urgent by now.

clydesdale
Posts: 350
Joined: Mon Sep 09, 2013 3:28 am

Re: Convert midi program change into CC?

Post by clydesdale » Thu Jul 10, 2014 5:05 pm

Here is a generic mappable PC device. The downside is that it won't record automation like a CC.

viewtopic.php?f=3&t=202803
LIVE 9.1.7 x64, PUSH w/PXT, APC40, KEYSTATION PRO88, Radium61
Win8.1 Pro, 4820k(4.5GHz)/32GB/840ProSSD/RME Babyface

Post Reply