Single MIDI Controller Button Controlling MOX and Voicemeeter?

User avatar
WB4AIO Kevin
Posts: 10
Joined: Sun Apr 09, 2017 3:28 pm
Location: Western Pennsylvania
Contact:

Single MIDI Controller Button Controlling MOX and Voicemeeter?

Postby WB4AIO Kevin » Wed Jun 12, 2019 2:17 am

I have watched the video tutorials and read or scanned every post in this section, but I know very little about MIDI.

Here's what I am trying to accomplish:

1. Energize MOX on my Anan-10 (OpenHPSDR 3.4.9) without having to have OpenHPSDR in focus.

and

2. Change a couple of routing parameters automatically on Voicemeeter Potato every time I switch to transmit.

Can I accomplish these goals with a MIDI controller, using one of the controller's buttons to invoke MOX and change the Voicemeeter routing with one keypress?

I believe that MOX on the Anan can be mapped to a MIDI controller, and I know that Voicemeeter can accept MIDI commands (through Voicemeeter Remote Macro Buttons), but I don't know if the same button on the controller can simultaneously send a signal to both the Anan and to Voicemeeter.

Thanks for this excellent forum!
Better fidelity means better communications.
User avatar
w-u-2-o
Posts: 1597
Joined: Fri Mar 10, 2017 1:47 pm

Re: Single MIDI Controller Button Controlling MOX and Voicemeeter?

Postby w-u-2-o » Wed Jun 12, 2019 9:04 pm

First the easy part: there is a MOX command called MOX On Off. It is a button-assignable command. It is a toggle, not a push-to-talk, control.

Second part, splitting a MIDI controller across two applications: you can do this. It requires using "virtual MIDI software", much the same as using virtual serial cable software or virtual audio cable software.

The reason that this is so is because a USB-based MIDI controller will generally only connect to a single software application at a time. Once that application has it no other application can touch it. A lot of guys running DAW software often ran into this problem: if they started the DAW first it would grab the MIDI controller and then PowerSDR couldn't get at it.

I think the software you want is this:

https://www.bome.com/products/miditranslator

You would attach the MIDI controller to it, program it to forward the MIDI commands to two virtual MIDI ports, then attach PowerSDR and VMP to the virtual ports.

That's as much as I can tell you. I've never actually done it myself.

However, I have to ask: why do you want VMP routes to change when MOX is active? I'm having trouble understanding what you intend to achieve and I'm wondering if there isn't a better solution?

73,

Scott
User avatar
WB4AIO Kevin
Posts: 10
Joined: Sun Apr 09, 2017 3:28 pm
Location: Western Pennsylvania
Contact:

Re: Single MIDI Controller Button Controlling MOX and Voicemeeter?

Postby WB4AIO Kevin » Wed Jun 12, 2019 9:43 pm

w-u-2-o wrote:However, I have to ask: why do you want VMP routes to change when MOX is active? I'm having trouble understanding what you intend to achieve and I'm wondering if there isn't a better solution?



Thank you very much, Scott. You have likely saved me days of frustration!

Here's more detail on what I'm trying to do:

My Anan uses Ethernet and VAC; no audio ins and outs are being used.

I record a net a couple of times a week. When I participate in it, I want to have my voice (and any guest I might have on my Skype patch) come onto the same recording as my receive audio when, and only when, I am transmitting -- and I don't want to have any post-recording editing to do.

I suppose I could do this by having my MON switched on and recording the main VAC output, but that comes with its own set of difficulties (like hearing myself with annoying latency -- which I find intolerable) and the quality is somewhat degraded compared to a pristine pre-transmitter audio feed. I could also record myself and guests on one track, and the receive audio on another, and edit out my backchannel noises and remarks made while receiving (though some of them are pretty funny!) later, and then combine the tracks, but that's exactly what I want to avoid doing.

Let's say I use the B1 bus in Voicemeeter to feed Audacity. PowerSDR's VAC1 would feed B1 all the time (it sends nothing during transmit so no problem leaving it connected). So, as I visualize it, my combined Mic and Guest feed would feed B1 [i]only when triggered by the MIDI event that also triggers MOX[/i}. When transmit ends, MIDI would tell Voicemeeter to stop sending my Mic and Guest feed to B1, and receive audio would resume on the bus. Perfect.

73,

Kevin.
Better fidelity means better communications.
User avatar
w-u-2-o
Posts: 1597
Joined: Fri Mar 10, 2017 1:47 pm

Re: Single MIDI Controller Button Controlling MOX and Voicemeeter?

Postby w-u-2-o » Thu Jun 13, 2019 12:51 am

OK, that makes sense.

You could also do it with hardware by using a DPDT switch for PTT and mic audio. One side of the switch to key the radio (either directly into the radio hardware or via a serial port on the PC), the other side to alternately connect or ground the mic input to your sound interface (unless you are using a USB microphone).

Return to “MIDI Controllers”