GithubHelp home page GithubHelp logo

midi-dot-net's Introduction

KalebDark

Jekyll & Hide

midi-dot-net's People

Contributors

tlokovic avatar

Watchers

 avatar

midi-dot-net's Issues

Latency Issue

What steps will reproduce the problem?
1. Hooked up a keyboard to my Computer
2. In code, Added the keyboard as input device and created the noteOn and 
noteOff event
3. Added the standard windows midi output device
4. In the noteOn and noteOff event, i sent the message as is to the midi output 
device

What is the expected output? What do you see instead?
I was expecting that there is no latency at all, since i am just forwarding the 
midi messages to my midi output device. I got about a half second delay, which 
makes it impossible to play the keyboard. Is there a way of minimizing the 
delay?

What version of the product are you using? On what operating system?
The latest version i just downloaded yesterday. (1.1.0) Windows 8 64bit

Please provide any additional information below.
My plan was to receive the midi signals from my keyboard, make some changes and 
send it to my output device. Everything in real time. Do you think that is 
possible?

Original issue reported on code.google.com by [email protected] on 10 Apr 2014 at 3:36

Uncaught exception "CallbackOnCollectDelegate was detected"

If GC.Collect() is called after MidiInputDevice.Open() is called, such as
when used in Windows Forms, the following exception can occur:

"CallbackOnCollectDelegate was detected"
-A callback was made on a garbage collected delegate of type 'Midi!
Midi.Win32API+MidiInProc::Invoke'. This may cause application crashes,
corruption and data loss. When passing delegates to unmanaged code,
they must be kept alive by the managed application until it is
guaranteed that they will never be called."

The problem is that MidiInputDevice.Open() passes a delegate to unmanaged
code (the Win32 API) but doesn't retain a reference to that delegate.

Fix coming soon.

Original issue reported on code.google.com by [email protected] on 16 Dec 2009 at 7:32

Not use MessageQueue

Firstly I would like to thank you for your hard work and creating this 
wonderful library. I am trying to create a driver application for a controller 
that I built using your library and I would like to ask some questions if its 
possible.

I have some trouble with the inputDevice and the noteOn noteOff event 
handlers.. I'm not really sure how to use the StopRecieving() and 
StartRecieving(). But all the incoming messages get stacked and are executed 
only after I do  StopRecieving() and StartRecieving() again. 
How it is possible to process  a received  noteOn message instantly instead of 
adding it to the message queue?

Thank you very much for your help and understanding. I am not very experienced 
C# programmer so excuse me if this is really basic thing. I created a driver 
using Processing but have to rewrite it because of latency that there is with 
the serial comms.

Original issue reported on code.google.com by [email protected] on 17 Jan 2012 at 7:56

Note played twice

I've added IF statment, connected midi keyboard, run application.
Not matter if i use clock.Scheudle... to play note or use SoundPlayer with 
specific wave file added to resource notes are played twice!
I want them to be played once - only when i press note, not when note (key) is 
released.

Please help! Any advice? :)))








        public void NoteOn(NoteOnMessage msg)
        {
            if (InvokeRequired) {
                BeginInvoke(noteOnHandler, msg);
                return;
            }
            inputStatusLabel.Text = String.Format("{0}", msg.Pitch);
            String nutka = inputStatusLabel.Text;

            if(nutka == "C1")
            {
               clock.Schedule(new NoteOnOffMessage(outputDevice, Channel.Channel1, Pitch.C1, 80, clock.Time, clock, 2));

            }
            if (nutka == "B0")
            {

                clock.Schedule(new NoteOnOffMessage(outputDevice, Channel.Channel2, Pitch.B0, 80, clock.Time, clock, 2));

                //   var p1 = new System.Media.SoundPlayer(Properties.Resources.piano_d0);
                //  p1.Play();            
            }            
        }










Original issue reported on code.google.com by [email protected] on 17 Jun 2015 at 6:46

hello

Hello Dejan is here from Croatia,

Can you please tell me how I can for my keyboard guy, build some application 
for fast changing the sounds over laptop.

He has KORG Triton LE.

Is it a posible with your .dll ?

Do you have any idea for it ?

thanks

Dejan
pitthp(AT)gmail.com


Original issue reported on code.google.com by [email protected] on 14 Jun 2011 at 8:37

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.