Code Monkey home page Code Monkey logo

Comments (10)

sadguitarius avatar sadguitarius commented on June 12, 2024

An update: I am able to connect a USB-connected MIDI device to an rtpMIDI port, so I guess the problem is limited to connecting two rtpMIDI ports together.

from rtpmidid.

davidmoreno avatar davidmoreno commented on June 12, 2024

Hi, thanks for the report.

I just did a huge rewrite of the server... I'm sorry it broke some use cases. I will look into it ASAP.

from rtpmidid.

sadguitarius avatar sadguitarius commented on June 12, 2024

Ok thank you and let me know if there are any tests you’d like me to do to help troubleshoot. I’m a little unclear on the midirouter functionality. Would this in theory allow direct connection between two existing rtpMIDI ports bypassing ALSA MIDI? That would certainly help out with the issues I was having with ALSA dropping long sysex messages. I’m mostly just using rtpmidid as a CLI MIDI patchbay on a Rasbperry Pi.

from rtpmidid.

davidmoreno avatar davidmoreno commented on June 12, 2024

Fixed the compilation problem.

For the connect two rtpmidi peers, I think it should be possible with an easy addition to the CLI to allow random connections of midipeers.. I will check it out too. And also now there is a INI file that could be used for default connections.

I keep looking into the bug of using rtpmidid as rtpmidi repeater. I was able to reproduce it.

from rtpmidid.

davidmoreno avatar davidmoreno commented on June 12, 2024

I think all is fixed. Can you confirm?

Also the client now has a TUI mode (works as before too, can send commands). And has commands to interconnect two peers directly, although ALSA is still needed.

I would suggest to open another issue with your exact use case, and we can work on it there.

from rtpmidid.

sadguitarius avatar sadguitarius commented on June 12, 2024

Hmm, still getting the same problem with MIDI message forwarding. Are there some logs I should try enabling so we can see where the messages are getting dropped?

from rtpmidid.

davidmoreno avatar davidmoreno commented on June 12, 2024

I think I found it and fixed it!

It was that when connecting a port from my ALSA client to another port of my ALSA client, it was sending only one side of the connection (A to B). So B was connecting properly, but as A never knew there was a connection, it did not try to connect. Now I tell both sides A and B that they have an ALSA connection, so both can initiate the rtpmidi connections.

Using the new "top" mode of rtpmidid-cli was very helpful for me as I saw the A side was not even trying to establish connection.

Please tell me if its fixed now.

from rtpmidid.

sadguitarius avatar sadguitarius commented on June 12, 2024

Ah yeah that totally makes sense! And it's working now, at least when connecting devices together via ALSA. I haven't totally grokked the cli interface yet, but so far things seem to be working fine. Thank you!

from rtpmidid.

sadguitarius avatar sadguitarius commented on June 12, 2024

I guess I'll go ahead and close this. If anything else comes up as I'm testing things out I'll open a new issue. Thanks!

from rtpmidid.

davidmoreno avatar davidmoreno commented on June 12, 2024

Thanks!

If you see anything else, please open an issue!

from rtpmidid.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.