Hey guys,
I'd like to open an Interface when receiving a dedicated Program Change. How to do that?
Open Interface via Midi Program Change
-
- Newbie
- Posts: 42
- Joined: 01 Jan 2016 20:45
-
- Newbie
- Posts: 42
- Joined: 01 Jan 2016 20:45
-
- Newbie
- Posts: 42
- Joined: 01 Jan 2016 20:45
Re: Open Interface via Midi Program Change
well I thought I got it. One thing: I tried the "selectinterface" command. Is there a chance to select an interface by triggering the NAME of the interface? Let's say we have three interfaces A, B and C. Is it possible to select interface "C" or do I have to select interface "3"?
Background of that question: I want my laptop to open the right interface on Lemur. Each interface will be a song called by the songname. If I've got Song A and C it will be interface 1 and 2. But if later comes song B to the set, song C now will be interface 3. So my laptop will load the wrong interface. Loading the names instead of the numbers would prevent that problem.
Background of that question: I want my laptop to open the right interface on Lemur. Each interface will be a song called by the songname. If I've got Song A and C it will be interface 1 and 2. But if later comes song B to the set, song C now will be interface 3. So my laptop will load the wrong interface. Loading the names instead of the numbers would prevent that problem.
-
- Newbie
- Posts: 42
- Joined: 01 Jan 2016 20:45
Re: Open Interface via Midi Program Change
come on guys is that really not possible? All I wanna do is to assign an incoming Program Change to a specific interface and not just to the third or fourth interface in alphabetical order.
Re: Open Interface via Midi Program Change
Maybe this solves your problem. It's not the best, but it's something *insert meme here*.
The project has an expression with all the song names, sorted by interface order. This expression is filled in the fillSongnames Script. Then there's a script that excepts a song name and then checks every songname in the expression to see a matching one. When the script finds a match, it's switches to that interface.
You'd still have to add a new song name to the expression every time but besides that it should run w/o troubles.
*Reminder: because it's using a for-loop, the speed of the function will descent with the number of songs. And that all depends on the rest of your template;)
The project has an expression with all the song names, sorted by interface order. This expression is filled in the fillSongnames Script. Then there's a script that excepts a song name and then checks every songname in the expression to see a matching one. When the script finds a match, it's switches to that interface.
You'd still have to add a new song name to the expression every time but besides that it should run w/o troubles.
*Reminder: because it's using a for-loop, the speed of the function will descent with the number of songs. And that all depends on the rest of your template;)
- Attachments
-
- InterfaceSongName.jzml
- (4.88 KiB) Downloaded 77 times
"Having no silence in music is like having no black or white in a painting" - Brian Eno
https://soundcloud.com/mrcorba
https://soundcloud.com/mrcorba