[chimera-dev] ChimeraX
Dougherty, Matthew T
matthewd at bcm.edu
Mon Nov 21 11:29:10 PST 2016
thanks
will revisit the problem in 3-6 months.
Matthew Dougherty
National Center for Macromolecular Imaging
Baylor College of Medicine
=================================================
=================================================
________________________________
From: Tom Goddard <goddard at sonic.net>
Sent: Monday, November 21, 2016 12:53:04 PM
To: Dougherty, Matthew T
Cc: chimera-dev at cgl.ucsf.edu
Subject: Re: [chimera-dev] ChimeraX
***CAUTION:*** This email is not from a BCM Source. Only click links or open attachments you know are safe.
________________________________
Hi Matt,
The way to use MIDI in ChimeraX would be to include a MIDI / Qt5 library. Qt5 is the window toolkit used by ChimeraX and it controls the receiving of events from devices. I don't know of an adequate Qt / MIDI library exists. Really we would want PyQt5 / MIDI since all Qt in ChimeraX is done in Python. The top Qt / MIDI hit is the QMidi library
https://github.com/waddlesplash/QMidi<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_waddlesplash_QMidi&d=DgMFaQ&c=ZQs-KZ8oxEw0p81sqgiaRA&r=lEMX2_AJ6Iksc5dFd0-VOg&m=YSU301onuzBBah5qy89GRTNL5PhzKOjMx-HOYC8_sMQ&s=9_fN2otNCHI9eFtt4LSxl9b9nKrTFPjcRM6Gzi-8bsg&e=>
which apparently only handles output of MIDI events, and it sounds like you are primarily interested in input of MIDI events to ChimeraX.
We welcome any recommendations on what PyQt library could handle incoming MIDI events. My quick web search turned up nothing.
Tom
On Nov 18, 2016, at 9:47 AM, Dougherty, Matthew T wrote:
Many of the USB devices I have been looking at for control surfaces are midi-centric, primarily coming out of the music industry.
For simple devices, not going the midi-route is usually straight forward, although can get complex supporting cross-platform.
For complex devices such as DS1, midi appears to be the best method for dial boxes. There is also economical advantages and an ongoing evolution of such devices.
https://www.amazon.com/Livid-Instruments-Portable-Digital-Mixer/dp/B00M4OEWMW/ref=sr_1_1?ie=UTF8&qid=1479490715&sr=8-1&keywords=livid+ds1<https://urldefense.proofpoint.com/v2/url?u=https-3A__www.amazon.com_Livid-2DInstruments-2DPortable-2DDigital-2DMixer_dp_B00M4OEWMW_ref-3Dsr-5F1-5F1-3Fie-3DUTF8-26qid-3D1479490715-26sr-3D8-2D1-26keywords-3Dlivid-2Bds1&d=DgMFaQ&c=ZQs-KZ8oxEw0p81sqgiaRA&r=lEMX2_AJ6Iksc5dFd0-VOg&m=YSU301onuzBBah5qy89GRTNL5PhzKOjMx-HOYC8_sMQ&s=kwBeFxV6UE7XEm6Mrx9c5rzqHCfSaEjuTGoMCjd7VCI&e=>
It also allows one to take advantage of manufacturer software in configuring baseline operational conditions (setting dial colors, ranges, toggling action of buttons).
We have talked about midi in the event loop before. At the time it was not clear how/if this could work under chimeraX.
Any further ideas?
Matthew Dougherty
National Center for Macromolecular Imaging
Baylor College of Medicine
=================================================
=================================================
_______________________________________________
Chimera-dev mailing list
Chimera-dev at cgl.ucsf.edu<mailto:Chimera-dev at cgl.ucsf.edu>
http://www.rbvi.ucsf.edu/mailman/listinfo/chimera-dev<https://urldefense.proofpoint.com/v2/url?u=http-3A__plato.cgl.ucsf.edu_mailman_listinfo_chimera-2Ddev&d=DgMFaQ&c=ZQs-KZ8oxEw0p81sqgiaRA&r=lEMX2_AJ6Iksc5dFd0-VOg&m=YSU301onuzBBah5qy89GRTNL5PhzKOjMx-HOYC8_sMQ&s=D3cEWzb75IuNwX7g2k7vByJLT2jh77niD82hK0wgB88&e=>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-dev/attachments/20161121/17f5cfaf/attachment.html>
More information about the Chimera-dev
mailing list