bitfocus / companion-module-requests

Repository for tracking module requests
96 stars 10 forks source link

Sound Devices MIXPRE II #190

Open dvecino opened 4 years ago

dvecino commented 4 years ago

The Mixpre II is a family of HQ audio recorders and mixers. https://www.sounddevices.com/mixpre/

They support some external devices through USB to control them and has an iPad / Android app to control the device through bluetooth. https://www.sounddevices.com/product/wingman/

I wondering if it would be possible to control these devices using an stream deck thanks to companion.

Kind regards!

krocheck commented 4 years ago

Looking through publicly available documentation it seems that Sound Devices has not published information about their control specification. As an example, there used to be separate remote control specification PDF for the PIXNET devices (250, 260, 270, and 970).

As an owner you might be able to reach out to them to find out if a remote control specification can be provided.

dvecino commented 4 years ago

I have just contacted sound devices. As soon as I have some news I will let you know.

Thanks!

dvecino commented 4 years ago

This is the answer of Sound Devices:

_Thank you for contacting Sound Devices. I can tell you that the 4 approved MixPre control surfaces uses a custom MIDI messages mapping, but would not be able to give more detail than that in terms of how to develop a custom controller.

Controllers Supported on the MixPre:

Thanks,_

krocheck commented 4 years ago

Well that's that isn't it. We would have to reverse engineer the app's IP communication with the MixPre. Not difficult and has been done before, just time intensive and requires a programmer to have a unit in order to be efficient.

dvecino commented 4 years ago

I have a Novation LaunchControl XL and a MIXPRE6-II. If I can help in any way please let me know.

GrimorJander commented 4 years ago

I've been trying to sniff some protocols between wingman app and mixpre, looking to replicate the record/stop function via Bluetooth: 03:05:12.236 Generic Access (0x1800)

PhotoJoseph commented 2 years ago

It looks like this hasn't been touched in a year… anyone make any progress on this? Sure would be awesome to see Mix Pre control from Companion!

GrimorJander commented 2 years ago

It looks like this hasn't been touched in a year… anyone make any progress on this? Sure would be awesome to see Mix Pre control from Companion!

Well, I've been trying to replicate the USB HID support with an adafruit Trinket pro with no success. For whatever reason any cheap USB keyboard is recognized by the recorder, but no with my little device with custom commands programmed on it.

PhotoJoseph commented 2 years ago

Bummer!! Thanks for letting me know @GrimorJander. That's really too bad. It's a great device but not being able to tie start/stop recording in with my other commands is a real shame.

Appreciate the effort, for sure. Thanks.

GrimorJander commented 2 years ago

Bummer!! Thanks for letting me know @GrimorJander. That's really too bad. It's a great device but not being able to tie start/stop recording in with my other commands is a real shame.

Appreciate the effort, for sure. Thanks.

Well, the "dirty wired diy" will be to buy a cheap chinese mini usb keyboard, disassembly the pcb and solder some custom buttons on it. https://www.manualslib.com/manual/1317035/Sound-Devices-Mixpre-10t.html?page=56

dvecino commented 2 years ago

Thanks Joseph for reactivating this case. And thanks GrimorJander for the info. I really appreciate it ;-)

On 12 Oct 2021, at 17:47, GrimorJander @.***> wrote:

Bummer!! Thanks for letting me know @GrimorJander https://github.com/GrimorJander. That's really too bad. It's a great device but not being able to tie start/stop recording in with my other commands is a real shame.

Appreciate the effort, for sure. Thanks.

Well, the "dirty wired diy" will be to buy a cheap chinese mini usb keyboard, disassembly the pcb and solder some custom buttons on it. https://www.manualslib.com/manual/1317035/Sound-Devices-Mixpre-10t.html?page=56 https://www.manualslib.com/manual/1317035/Sound-Devices-Mixpre-10t.html?page=56 — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/bitfocus/companion-module-requests/issues/190#issuecomment-941137901, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO7QBXI26TWBNHTNAWWLB3LUGRKA3ANCNFSM4LWBUW7Q. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

PhotoJoseph commented 2 years ago

Hey guys, so I posted this question over in the Blackmagic forums, and got some info back on USB protocols that may be helpful (or may not; perhaps this is exactly what you've already tried).

Here is the post in case anyone wants to engage: Triggering MixPre-3 II to record by HyperDeck Studio Mini https://forum.blackmagicdesign.com/viewtopic.php?f=4&t=148753

But here's what was said:

Another possibility is to use the MixPre's USB port which supports USB keyboard commands for control of various actions (such as start/stop recording). So you could use a USB keyboard emulator to send commands to the MixPre from some other source. For example, recent versions of the Rasbperry Pi with a USB OTG port (like the Raspberry Pi 4 and Raspberry Pi Zero) can be configured in USB device mode (rather than the more typical host mode) and used to emulate a keyboard. There are various tutorials for this online: https://randomnerdtutorials.com/raspberry-pi-zero-usb-keyboard-hid/ https://mtlynch.io/key-mime-pi/

Or this project which is a slightly different approach, but along the same lines to create a network enabled USB keyboard emulator: https://github.com/Flowm/etherkey

Then you could maybe use one of the Generic network request modules in Bitfocus Companion to send a start/stop command to the Raspberry Pi over the network and have it send the equivalent keyboard command into the MixPre.

GrimorJander commented 2 years ago

I've tried before with adafruit Trinket, which have native HID support, but mixpre just don't see it. Maybe is PID/VID device info related. If I get some free time, I'll try it again.

bernardUlrich commented 2 years ago

Hi, I'm currently trying to remote control my MixPre6ii thru USB-A with Pi Zero W and 'randomertutorial /[iSticktoit] (HID- OTG USB setup) + Python code. Characters sent on USB to a Linux laptop are correctly received.
PC Keyboard works with MixPre and Laptop but Python fd.write(report.encode()). ... write_report(NULL_CHAR2+chr(44)+NULL_CHAR5) seem to stay in a permanent loop when connected to MixPre.

I am not an expert neither for Python nor OTG USB. I read that Arduino Micro with native chip to perform Virtual Keyboard wasn't recognized too, and that a workaround was to take an old keyboard circuit to provide interface.

Any insight , advice from Github community ? Thanks.

IMG_0613

LeViteZer commented 1 year ago

Any progress on this, trying MIDI communication with Teensy 4.1 but so long no response from MixPre. this is one of the supported controllers, so trying its commands, but have not figured out how t startup the interface.