#FujiNet want to help with better MidiMaze support?


#FujiNet want to help with better MidiMaze support?

von tschak909 » Mi 3. Feb 2021, 19:37
Right now MidiMaze support in #FujiNet is very basic. You have to manually set each participant's hostname in the following way:

* Player 1 enters player 2's host/ip
* Player 2 enters player 3's host/ip
* Player 4 enters player 4's host/ip
...
* Player 15 enters player 16's host/ip
* Player 16 enters player 1's host/ip

In short, the last player loops around to the first, forming a ring, just like in a real MIDI network.

Do you want this to be better? Then we'll all need to pitch in.

First, I need somebody interested in doing some firmware hacking to hack on the following ticket, which makes the midimaze mode disable itself when COMMAND pin gets tickled:

https://github.com/FujiNetWIFI/fujinet- ... issues/432

Secondly, I need somebody to write a simple server in python, or whatever they want, that:

* Accepts a connection
* Gives participant a number from 1 to 16
* when participant 1 sends a message back, it sends the destination IP of the next player, depending on slot given.
* accepts ping messages
* deletes a participant from the list when ping message not received after 60 seconds.

I will then write the third piece, which talks to the server piece, sends the pings, and sets the destination IP appropriately.

How's that sound?