cbdevnet / midimonster

Multi-protocol control & translation software (ArtNet, MIDI, OSC, sACN, ...)
https://midimonster.net/
BSD 2-Clause "Simplified" License
506 stars 50 forks source link

Web interface with mini_httpd and sqlite #60

Open kimwida opened 4 years ago

kimwida commented 4 years ago

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??

cbdevnet commented 4 years ago

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 :)

Spacelord09 commented 4 years ago

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 ;)

kimwida commented 4 years ago

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"notifications@github.com To: "cbdevnet/midimonster"midimonster@noreply.github.com; Cc: "kimwida"kimwida@naver.com; "Assign"assign@noreply.github.com; 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.

Spacelord09 commented 4 years ago

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

kimwida commented 4 years ago

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"notifications@github.com To: "cbdevnet/midimonster"midimonster@noreply.github.com; Cc: "kimwida"kimwida@naver.com; "Mention"mention@noreply.github.com; 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.