serial communication

This forum is for questions / discussions regarding development of addons / tweaks for MediaMonkey.

Moderator: Gurus

scott_fx
Posts: 2
Joined: Sun Mar 23, 2014 12:23 pm

serial communication

Post by scott_fx » Sun Mar 23, 2014 12:35 pm

Hi Guys,

I'm very new to MM and I'm really intrigued. I am making an interface for my car (window switches, door locks, heat seater control, etc...) using Processing.js I'm relatively knew to coding but have had a lot of fun and success in the last year and a half. I started to script a music navigation ui in processing and am having good luck, but I'm pretty limited to browsing and playback of mp3 files. I don't have much control past that. I Would love to be able to take advantage of MM in my sketch. Does MM have the ability to send communicate with other programs using serial communication?


thanks in advance

mcow
Posts: 819
Joined: Sun Sep 21, 2008 9:35 pm
Location: Cupertino, California

Re: serial communication

Post by mcow » Thu Mar 27, 2014 10:43 pm

Are you talking about MM for Windows or for Android? I don't know of any extensibility (yet) for the Android version.

Under Windows, there's no serial comm support in the automation API, but you can create a program on the side that handles serial and responds to event notifications from MM, or accepts serial comm and turns it into.

If that's what you're looking for, and you want the Windows program to be in Processing, then Processing would need to support Windows COM interface to get at MM. What little I know of Processing, tho, I don't think it runs under Windows; so you'd need to write the side program in Visual Basic or some other language. (I've used Python successfully.)

scott_fx
Posts: 2
Joined: Sun Mar 23, 2014 12:23 pm

Re: serial communication

Post by scott_fx » Sat Mar 29, 2014 8:44 pm

Thanks for response. I'm running processing on windows and it does use the windows com interface (that's who i communicate with an arudino) I'll have to look into the python solutions as i dont know how to code in python.

thanks again

scott
mcow wrote:Are you talking about MM for Windows or for Android? I don't know of any extensibility (yet) for the Android version.

Under Windows, there's no serial comm support in the automation API, but you can create a program on the side that handles serial and responds to event notifications from MM, or accepts serial comm and turns it into.

If that's what you're looking for, and you want the Windows program to be in Processing, then Processing would need to support Windows COM interface to get at MM. What little I know of Processing, tho, I don't think it runs under Windows; so you'd need to write the side program in Visual Basic or some other language. (I've used Python successfully.)

Post Reply