Old 07-20-2018, 03:11 AM   #1
DarkStar
Human being with feelings
 
DarkStar's Avatar
 
Join Date: May 2006
Location: Surrey, UK
Posts: 17,925
Default Akai MIDIMix - Head-Up Display

OK, you've been using goldenarpharazon's MIDIMIx control surface ( https://forum.cockos.com/showthread.php?t=172908 ) and mapped all the knobs to various parameters then left the project for a few days. On your return, can you remember what you've done? Sometimes, I can't.

So, I have put this together:


>>> https://i.imgur.com/fo9XWM5.png

It shows slots for the 24 knobs (in Instrument mode) and the parameters to which they are mapped, for selected tracks (otherwise it could get confusing). It shows the track, FX and parameter names, and a vertical value indicator). You can switch between the sets of 24 controls too.

The [Refresh] button updates the slots, and is used after you have changed the track selection (If anyone knows a way that the script can get a "selected tracks have change" signal then I could make it automatic.)

The [C] button sets the colour for each FX instance, to make it easier to spot related controls.

Oh, and ... :

>>>
https://i.imgur.com/pUFlQ3k.png
To change the appearance, you need to edit line 41 (approx) in the scrpt itself.

This is an early version; comments welcome.

And I my thanks go to mpl, whose "List all MIDI OSC learn from focused FX" script, and others, helped me a lot.

How to install a LUA or EEL script (in Post #5)
Attached Files
File Type: lua MIDImix_assignments_DS_v001.lua (31.8 KB, 113 views)
__________________
DarkStar ... interesting, if true. . . . Inspired by ...

Last edited by DarkStar; 07-26-2018 at 03:23 PM.
DarkStar is offline   Reply With Quote
Old 07-26-2018, 08:50 AM   #2
DarkStar
Human being with feelings
 
DarkStar's Avatar
 
Join Date: May 2006
Location: Surrey, UK
Posts: 17,925
Default

... any comment? I'm working on some enhancements.
__________________
DarkStar ... interesting, if true. . . . Inspired by ...
DarkStar is offline   Reply With Quote
Old 07-26-2018, 10:14 AM   #3
lunker
Human being with feelings
 
lunker's Avatar
 
Join Date: Nov 2007
Location: Lucas, TX, USA (via Luleå, Sweden)
Posts: 880
Default

Hi DarkStar,

I don't use a MIDIMix control surface, but I think your Lua script is totally cool.

Keep up the great work!
__________________
Best Regards, Ernie "lunker" Lundqvist
REAPER (non commercial license)
BDSM (Bad Dog Studio Musicians)
lunker is offline   Reply With Quote
Old 07-26-2018, 12:57 PM   #4
Piszpan
Human being with feelings
 
Join Date: Aug 2016
Posts: 54
Default

I made a custom modification of the goldenarpharazon's script. This mod supports Midimix' Mute and Rec buttons in instrument mode.
Will your software work with my mod?
Piszpan is online now   Reply With Quote
Old 07-26-2018, 03:23 PM   #5
DarkStar
Human being with feelings
 
DarkStar's Avatar
 
Join Date: May 2006
Location: Surrey, UK
Posts: 17,925
Default

Should do - it is only reading the MIDI Learned details from the project.
__________________
DarkStar ... interesting, if true. . . . Inspired by ...
DarkStar is offline   Reply With Quote
Old 07-27-2018, 01:17 PM   #6
Piszpan
Human being with feelings
 
Join Date: Aug 2016
Posts: 54
Default

OK, I tried your script. Looks interesting.
It works with my modded MidiMixControl script, until I actually assign any Midimix button to a plugin parameter. Then your script gives me an error and I see an empty window.
So... Would you like to look at my mod and test it by yourself?

Last edited by Piszpan; 07-27-2018 at 01:41 PM.
Piszpan is online now   Reply With Quote
Old 07-29-2018, 05:12 AM   #7
DarkStar
Human being with feelings
 
DarkStar's Avatar
 
Join Date: May 2006
Location: Surrey, UK
Posts: 17,925
Default

Try this one, it should be better.

>>> https://i.imgur.com/UmVUCfW.png
Attached Files
File Type: lua MIDImix_assignments_DS_v003.lua (28.3 KB, 79 views)
__________________
DarkStar ... interesting, if true. . . . Inspired by ...
DarkStar is offline   Reply With Quote
Old 08-04-2018, 05:22 PM   #8
Piszpan
Human being with feelings
 
Join Date: Aug 2016
Posts: 54
Default

Thank you. This one seems to work OK.

What exactly do I need to change to have the GUI with knobs?
Piszpan is online now   Reply With Quote
Old 08-05-2018, 04:59 AM   #9
DarkStar
Human being with feelings
 
DarkStar's Avatar
 
Join Date: May 2006
Location: Surrey, UK
Posts: 17,925
Default

. . .
Quote:
from
BOXES = 100; KNOBS = 101; display_mode = BOXES; -- edit this line to change the appearance
to
BOXES = 100; KNOBS = 101; display_mode = KNOBS; -- edit this line to change the appearance
__________________
DarkStar ... interesting, if true. . . . Inspired by ...
DarkStar is offline   Reply With Quote
Old 08-05-2018, 12:42 PM   #10
Piszpan
Human being with feelings
 
Join Date: Aug 2016
Posts: 54
Default

Thanks.
Piszpan is online now   Reply With Quote
Old 05-30-2019, 01:07 PM   #11
iMax
Human being with feelings
 
Join Date: Oct 2015
Posts: 5
Default

First of all, thank you very much for this useful utility!
I started using Midimix more because of it, otherwise I would not have remembered all my midi mappings. ;-)

However, after some enthusiastic testing, I ran into problem with it. On one particular track in my project, it created the following error message:

MIDImix_assignments_DS_v003.lua:761: bad argument #3 to 'TrackFX_GetParamName' (number expected, got string)

After a bit of debugging, forcing me to look into Reaper scripting a bit more, I noticed that the format it does not seem to like, looks like this for example:

PARMLEARN 2:1282361137 0 3 /midimix/knob/1

Creating this string as the input for the function, which expects integer:

"2:1282361137"

As a workaround, I have now adapted the script lines 748-757 as shown in the attachment.

As I only started with scripting in Reaper and I do not really know what I am doing, I don't know if this is a proper fix or workaround. According to my limited testing, it seems to do the trick for me at least. ;-)
I have no idea, where the colon comes from in the first place, but getting rid of it and everything behind it seems to work.
Attached Files
File Type: txt midimix_assignments_mod.txt (375 Bytes, 28 views)
iMax is offline   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 -7. The time now is 11:53 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.