![]() įor you it may be a small step, but for the community it is a big leap. ListenNote(noteNumber, noteXXX, channel=0) In which a (NoteOffTime-NoteOnTime) duration for each of those 128 * 16 possible events is updated at NoteOffTime, whereas on NoteOnTime it is reset to 0 for each notified individual entry. It would be very helpful for the community, if you could extend the DLL Has access to timing information "midi_timestamp". Void CALLBACK midiInProc(HMIDIIN handle, UINT wMsg, DWORD dwInstance, DWORD midi_message, DWORD midi_timestamp) Looking into your C source, I noticed that Īgain thank you for sharing your MidiIn DLL and its useful ahk wrapper library. I have modified it a bit, that it responds to each key in the following way:ĭiscriminating the duration would allow other niceties, such as automatic appending whitespace to the last letter in a seqence of letters and evenĬhord recognition (sum of the differences of the first keydowns below a certain threshold). How can we automatically have MidiKeys running on start-up? Not simply adding the call at the end of the initial script? >Run C:\Programme\AutoHotkey\MidiKeys.ahkĪllows calling the MidiKeys script from Autohotkey.ini with numkey 9 but When vel=0, this is equivalent with note-off, so that when this event occurs, the dur should also be made available as the time difference t1-t0 of each note-on note-off.Īnd dont forget to extend the midi library with outputs for the cheap Midi-keyboards. Yes, we need besides vel the dur(ation) attribute of a note, like Tim Thompson did it in Keykit (open C-source). Then I would like to do the same also with getWheel. ![]() Any ideas how I can do this? Some examples how to use getCC would be fine. To accomplish this I should get two CC values from two different time points and calculate the speed of change, define a decision criteria for slow/fast and it should work. ![]() for fast cc-changes process_fast should run. for slow cc-changes process_slow should run, What I would like to do is differentiating between two different cc-change speeds: MsgBox, I received pitch %note% with velocity %vel% here I would like to add CC-speed dependent actions Right now I am using somethink like this: So this part is solved.įinally I could try out this midi input library, it works so far fine, too bad that we have no examples for how to use getCC and getWheel. ![]() }My question above does not make much sense, as the midi input library accepts anyway midi events just from one single midi port. If (no midi events on a given midi port for longer than 1s) ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |