midimonster icon indicating copy to clipboard operation
midimonster copied to clipboard

Web interface with mini_httpd and sqlite

Open kimwida opened this issue 4 years ago β€’ 5 comments

Today, i finally succeed to control my apc mini's leds with Avolites Titan which is not possible midi-feedback. The lua backend does a great job. πŸ‘ But the lua backend is developing faster than I can understand and use. :)

I am using midimonster with Rock Pi S which is small single board computer running armbian. Now I am pretty ease to use midimonster in text mode linux . But I want more easy way to set it up. Like web interface. So I am trying to build a interface with mini_httpd and sqlite. First step is midi, evdev(for keyboard), sacn and artnet backend and I got very little progress.

What do you think? Do you think it possible??

kimwida avatar May 28 '20 16:05 kimwida

Hi, good to hear that the Lua backend is used for more and more advanced things!

There's another issue (#24) which talks a bit about a remote control interface similar to your project. Basically, there's two ways to go about that, either doing it directly in the MIDIMonster (as a plugin, similar to a backend, or by replacing the entire core) or as an external tool (like you're planning to do as I read it).

Both ways are possible, but to do it within the MIDIMonster itself will need some changes in the internal data structures of all backends, as the core currently assumes that mappings are only configured once (when the configuration is read), and then never changed again. When offering a remote control option, that would mean that mappings could change at run time, so that would have to be taken into account. There are some other issues with that, but that one is major. So, while this may be possible, I'm reluctant to work on it before we have a working 1.0 release of the MIDIMonster out of the door.

The second option, providing an external program to configure and start/stop the MIDIMonster via a Web Interface, is definitely possible. I have thought of creating something more generic for starting arbitrary commands, but that would limit the range of MIDIMonster-specific settings available on the interface. So if you're doing an MM specific Web Interface, thats very cool! I think this could be a very useful project for a lot of people :)

cbdevnet avatar May 29 '20 09:05 cbdevnet

Hey @kimwida have you worked on your idea yet? Or is something planned? I'm going to assign you to the issue. If you don't like it, just answer ;)

Spacelord09 avatar Jul 24 '20 13:07 Spacelord09

I am working on it. But I think it take a lot of time because I need to learn linux, web programming and datatbase. And what does it mean assigning me to the issue??

-----Original Message----- From: "Spacelord"[email protected] To: "cbdevnet/midimonster"[email protected]; Cc: "kimwida"[email protected]; "Assign"[email protected]; Sent: 2020-07-24 (금) 22:08:14 (GMT+09:00) Subject: Re: [cbdevnet/midimonster] Web interface with mini_httpd and sqlite (#60)

Hey @kimwida have you worked on your idea yet? Or is something planned? I'm going to assign you to the issue. If you don't like it, just answer ;) β€” You are receiving this because you were assigned. Reply to this email directly, view it on GitHub, or unsubscribe.

kimwida avatar Jul 25 '20 09:07 kimwida

@Kimwida here on github you can assign people to Issues to mark them as "He's working or responsible for it"

Spacelord09 avatar Jul 25 '20 10:07 Spacelord09

That's kind of mess now... It is my test and for my study. I am a linux and web programming newbie. And I don't think that it is worth for others time. Now I stop it because there's a lot of thing to study. I will let you know if I can feel it ready to others.

-----Original Message----- From: "Spacelord"[email protected] To: "cbdevnet/midimonster"[email protected]; Cc: "kimwida"[email protected]; "Mention"[email protected]; Sent: 2020-07-25 (ν† ) 19:59:26 (GMT+09:00) Subject: Re: [cbdevnet/midimonster] Web interface with mini_httpd and sqlite (#60)

@kimwida here on github you can assign people to Issues to mark then as "He's working or responsible for it" β€” You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

kimwida avatar Jul 25 '20 12:07 kimwida