How to support an MP3 controller in my software

I have DJ software and I would like to be able to control it via an mp3 controller just like the rest. I can imagine it's just exporting json data over a port, maybe OSC blobs, or maybe it's just a midi controller. Is there some kind of generic API out there that can deal with it?
Registered users can post here. Sign in or register to post.