drywetmidi | NET library to read , write , process MIDI files | Audio Utils library

 by   melanchall C# Version: v6.1.4 License: MIT

kandi X-RAY | drywetmidi Summary

kandi X-RAY | drywetmidi Summary

drywetmidi is a C# library typically used in Audio, Audio Utils applications. drywetmidi has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

Here the list of noticeable projects that use DryWetMIDI:.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              drywetmidi has a low active ecosystem.
              It has 422 star(s) with 65 fork(s). There are 22 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 6 open issues and 159 have been closed. On average issues are closed in 39 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of drywetmidi is v6.1.4

            kandi-Quality Quality

              drywetmidi has 0 bugs and 0 code smells.

            kandi-Security Security

              drywetmidi has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              drywetmidi code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              drywetmidi is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              drywetmidi releases are available to install and integrate.
              Installation instructions, examples and code snippets are available.
              drywetmidi saves you 140 person hours of effort in developing the same functionality from scratch.
              It has 396 lines of code, 0 functions and 740 files.
              It has low code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of drywetmidi
            Get all kandi verified functions for this library.

            drywetmidi Key Features

            No Key Features are available at this moment for drywetmidi.

            drywetmidi Examples and Code Snippets

            No Code Snippets are available at this moment for drywetmidi.

            Community Discussions

            QUESTION

            DryWetMIDI receive a NoteOn by release a Keyboard key
            Asked 2021-Mar-23 at 12:32

            I use DryWetMIDI which works fine with some Keyboards.

            With my Johannus organ DryWetMIDI InputDevice receives a NoteOn message when I release a key! I've checked the Keyboards messages with Midi-OX. The Keyboard sends the right messages (NoteOn/NoteOff) when I press and release a key.

            How can this happen? What's going wrong?

            ...

            ANSWER

            Answered 2021-Mar-23 at 12:32

            I'm posting the answer based on comments.

            Your device sending Note Off as Note On with velocity of zero which is common way to encode Note Off. But DryWetMIDI doesn't process incoming events by default, so you see raw messages as a device sends them.

            Right now in the latest release of the library there is no way to configure this behavior. But I've added SilentNoteOnPolicy property to InputDevice so it will be available in the next release. Or you can build the library from sources right now from develop branch.

            Setting the policy to NoteOff tells DWM automatically transform Note On with zero velocity to Note Off.

            Source https://stackoverflow.com/questions/66738526

            QUESTION

            How to get a program/instrument title from a specific chunk of a MIDI file in DryWetMidi library?
            Asked 2021-Jan-09 at 13:52

            I'm using DryWetMidi library in C# and trying to acquire a program/instrument title from a loaded chunk, but I fail to find such field that gives me the title. So far I just have:

            ...

            ANSWER

            Answered 2021-Jan-09 at 13:52

            TrackChunk has Events property which gives access to all MIDI events within a track chunk. Just find ProgramChangeEvent ones and collect program numbers:

            Source https://stackoverflow.com/questions/65643129

            QUESTION

            Catching and processing multiple keyboard inputs at once
            Asked 2020-Jul-06 at 11:56

            I am developing a Unity game that relies on MIDI input from a piano keyboard, using the DryWetMIDI library. I have to detect when a chord has been played and process the chord as a whole.

            Currently, my approach is to wait for 0.1 seconds after the first note press, and put all notes pressed during this period into a list. Then I process this list. However, when I attempt this with Coroutine, the code inside WaitThenNotify() never executes.

            Here is the code.

            ...

            ANSWER

            Answered 2020-Jul-06 at 11:56

            I'm the author of DryWetMIDI. I suppose your problem is related to multi-threading. OnEventReceived will be called from internal WinMM thread. But as far as I know in Unity you should start coroutines on main Unity thread. So you need to call StartCoroutine from Unity main thread.

            Please read this section of the library docs: https://melanchall.github.io/drywetmidi/articles/playback/Common-problems.html#setactive-can-only-be-called-from-the-main-thread-in-unity.

            Related question: https://answers.unity.com/questions/1670686/startcoroutine-can-only-be-called-from-the-main-th.html

            Source https://stackoverflow.com/questions/62750863

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install drywetmidi

            Let's see some examples of what you can do with DryWetMIDI.

            Support

            NuGetDocumentationProject healthCodeProject articles: DryWetMIDI: High-Level Processing of MIDI Files DryWetMIDI: Notes Quantization DryWetMIDI: Working with MIDI Devices
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries

            Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular Audio Utils Libraries

            howler.js

            by goldfire

            fingerprintjs

            by fingerprintjs

            Tone.js

            by Tonejs

            AudioKit

            by AudioKit

            sonic-pi

            by sonic-pi-net

            Try Top Libraries by melanchall

            altermebot

            by melanchallPython

            aoc2019net

            by melanchallC#

            aoc2020net

            by melanchallC#