lisoph / midi-dot-net Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/midi-dot-net
Automatically exported from code.google.com/p/midi-dot-net
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
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
[deleted issue]
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
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
Straight foward...
Original issue reported on code.google.com by [email protected]
on 28 Jan 2014 at 2:01
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
What steps will reproduce the problem?
1. run the SimpleExamples input
2. AccessViolation when StartReceiving
Original issue reported on code.google.com by [email protected]
on 22 Dec 2013 at 10:01
I tried to contact you at the gmail account you provided here but your e-mail
address bounces. How do I contact you?
Jeff
Original issue reported on code.google.com by [email protected]
on 24 Jan 2012 at 6:41
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.