Coder Social home page Coder Social logo

rtp-midi-for-.net's Introduction

RTP-MIDI-for-.NET

RTP MIDI implementation for .NET

This is a porting of Arduino-AppleMIDI-Library for C# applications.
Same as original, this implementation doesn't support RTP MIDI Journaling protocol.

rtp-midi-for-.net's People

Contributors

kshoji avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

rtp-midi-for-.net's Issues

UDP Client is not connecting

Hello @kshoji,

I am using your RTP MIDI Library to read and send values to a mixing console to help automate some things. I noticed that when trying to send MIDI data to a remote host that the UDP client is never connected. In the RtpMidiSession.cs class, I added one line to the Begin() method to connect the participant. After I added this line I was able to send data to the device and it seems to work. I'm not sure if this is appropriate, or if there is something else that I should be doing?

Thank you for your contributions and please give me feedback when you have a chance. Thank you!

        /// <summary>
        /// Starts to communicate
        /// </summary>
        public void Begin()
        {
            Ssrc = random.Next();

            controlPort = new UdpClient(Port);
            dataPort = new UdpClient(Port + 1);

            lock (participants)
            {
                rtpMidiClock.Init(RtpMidiClock.MidiSamplingRateDefault);
            }

            dataPort.Client.Connect(participants.First().remoteIP);   //  <----- I added this line
        }

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.