|
Korg Forums A forum for Korg product users and musicians around the world. Moderated Independently. Owned by Irish Acts Recording Studio & hosted by KORG USA
|
View previous topic :: View next topic |
Author |
Message |
Sharp Site Admin
Joined: 02 Jan 2002 Posts: 18197 Location: Ireland
|
Posted: Thu Aug 29, 2013 7:12 pm Post subject: I'm looking for a Programmer. |
|
|
Hi guys.
I need someone to write a Midi 2 Keystrokes application to run on Windows.
From an end users point of view, I only need the end user to be able to select their midi input device and a channel.
From my side, I need a back end developers area where if I press a button on a midi controller, the app shows me the midi message received, and I then I need to be able to tell the application that when it sees the specific midi message, that it is to press certain keystrokes I need to freely assign.
I will need Key Press, Hold and release with a delay setting between them, and I may need to assign upwards of 4 keystrokes to a each midi message I need to target.
If that's something you think you can help with, I'd love to talk to you.
Regards
Sharp |
|
Back to top |
|
|
BobTheDog Platinum Member
Joined: 21 May 2007 Posts: 1535
|
Posted: Thu Aug 29, 2013 10:10 pm Post subject: |
|
|
Have you looked at things like Bome midi translator? |
|
Back to top |
|
|
Sharp Site Admin
Joined: 02 Jan 2002 Posts: 18197 Location: Ireland
|
Posted: Thu Aug 29, 2013 10:43 pm Post subject: |
|
|
BobTheDog wrote: | Have you looked at things like Bome midi translator? |
Yes, sure have and I can get it to do everything I want no fuss.
My only concern is the licence. I've spent almost two years on and off writing my own program for displaying sheet music, lyrics and playing backing tracks. I'm over the moon with how well it's turned out, but the one missing part I cannot write is a midi to keystroke tool. It's designed to work with touch screens, but I can see users wanting to remotely operate it over midi.
If I go with Bome, the OEM plugin will keep me tied to them and I'd much prefer to see what my options are first. If it didn't cost me too much money, I'd rather pay a programmer to write what I need than be tied into a licence with a third party.
Regards
Sharp |
|
Back to top |
|
|
BobTheDog Platinum Member
Joined: 21 May 2007 Posts: 1535
|
Posted: Fri Aug 30, 2013 6:35 am Post subject: |
|
|
Ok I understand now.
Is the midi to keystroke stuff is just going to be used to send key commands to your sheet music app or to any app? |
|
Back to top |
|
|
Sharp Site Admin
Joined: 02 Jan 2002 Posts: 18197 Location: Ireland
|
Posted: Fri Aug 30, 2013 11:20 am Post subject: |
|
|
Quote: | Is the midi to keystroke stuff is just going to be used to send key commands to your sheet music app or to any app? |
Any app.
My own program will stay topmost when running so that reduces the risk of it not being the focused window.
Just looking at the setup I have in bome here, for a each specific midi message received, I'm using 4 keystrokes.
For example if you send a CC#80 it will make the following happen
1: Key Down - CTRL
2: Key Down -L
3: Key Up - L
4: Key Up - CTRL
For all the keystrokes I'm sending, it's always 4 lines in the exact same format. Key Down, and Key up. It's just different combinations of CTRL + something else.
Regards
Sharp. |
|
Back to top |
|
|
Daz Retired
Joined: 01 Jan 2002 Posts: 10829
|
Posted: Fri Aug 30, 2013 8:24 pm Post subject: |
|
|
I might be able to help Sharpy |
|
Back to top |
|
|
OpAmp Platinum Member
Joined: 07 Jun 2013 Posts: 1174 Location: Brussels, BE
|
Posted: Fri Aug 30, 2013 9:29 pm Post subject: |
|
|
Hi,
Did you have a look at the RtMidi library? http://www.music.mcgill.ca/~gary/rtmidi/
I've used it before for personal use.
I have some pieces of code here and there. With that I have a proof of concept (rather hardcoded):
* a windows terminal app
* asks to select your midi in port (just a list and you type the number)
* prints the received midi messages for that midi port
* when sliding the modwheel from down to all the way up: sends a Ctrl+Right event to the application with the main focus.
So, using the modwheel, the cursor is jumping fine to the next word in a texteditor, even in this 'post reply' box
I've some experience with Windows GUI programming as well.
Just a bit worried about:
* the hold time -> at first sight, this must be done by repeating the keystroke
* how flexible, extended, good looking must this backend be? A full GUI or some script or ...?
* the licence of the RtMidi library. My knowledge on english legal terminology is not really sufficient to grasp the fine details and whether that would fit your requirements.
Bye. _________________ microKORGXL, Kaossilator Pro, monotribe, SQ-1, volca fm, Kross 88 BK
Alesis SR18, Akai Miniak, Fender Strat, Line 6 Spider II 112, Zoom MS-50G |
|
Back to top |
|
|
Sharp Site Admin
Joined: 02 Jan 2002 Posts: 18197 Location: Ireland
|
Posted: Fri Aug 30, 2013 9:29 pm Post subject: |
|
|
Daz wrote: | I might be able to help Sharpy |
That would be really great Daz if you could.
Thank you...!!!!
Can send you a copy of the program Monday?
I just need to finish a last minute change to the audio player.
Kind regards
Sharp |
|
Back to top |
|
|
Sharp Site Admin
Joined: 02 Jan 2002 Posts: 18197 Location: Ireland
|
Posted: Fri Aug 30, 2013 10:04 pm Post subject: |
|
|
Hi OpAmp
No, I haven't seen that before. It looks rather complicated, involving, but certainly complete and detailed. I'm afraid I wouldn't have the know how or tools to take that and create what I need. The Licence seems to throw a complete spanner in the works though. It seems that anything created with it has to be shared with all the other developers, and they can sell any modifications that were made.
I was looking at Auto Hot Key. There's code posted on their forums that does convert midi to keystrokes, and there are the tools to compile that code once it's customised the way I need it. But I'm not sure what the legal issues would be in using code taken from a discussion forum, compiled and sold along side my program. I'll certainly never make it rich from what I'm doing, but I'd like to at least sleep at night knowing there's no possible issues that could bit me in the rear end.
Regards
Sharp |
|
Back to top |
|
|
Daz Retired
Joined: 01 Jan 2002 Posts: 10829
|
Posted: Sat Aug 31, 2013 5:38 am Post subject: |
|
|
Happy to help if I can, maybe alongside OpAmp. Hopefully I remember some of this stuff.
My favourite OpAmp was the LM741 |
|
Back to top |
|
|
OpAmp Platinum Member
Joined: 07 Jun 2013 Posts: 1174 Location: Brussels, BE
|
Posted: Sat Aug 31, 2013 8:48 am Post subject: |
|
|
About the licence. I tought already so, but it was not 100% clear to me.
Anyway, I had a look at the WinApi for MIDI. It is not too difficult.
Just modified my proof of concept this morning. For processing simple midi in messages, I don't need the RtMidi library anymore.
By the way, there is no need of an external library for sending keystrokes neither. _________________ microKORGXL, Kaossilator Pro, monotribe, SQ-1, volca fm, Kross 88 BK
Alesis SR18, Akai Miniak, Fender Strat, Line 6 Spider II 112, Zoom MS-50G |
|
Back to top |
|
|
Sharp Site Admin
Joined: 02 Jan 2002 Posts: 18197 Location: Ireland
|
Posted: Mon Sep 02, 2013 1:38 am Post subject: |
|
|
Sound great.
I've been at this all weekend, so I will most certainly get to compile the program tomorrow. Err... well it's 2:30 am here, so it's tomorrow already. So it will be the evening. Kids are back in school tomorrow so I have the house all to myself.
Regards
Sharp |
|
Back to top |
|
|
OpAmp Platinum Member
Joined: 07 Jun 2013 Posts: 1174 Location: Brussels, BE
|
Posted: Mon Sep 02, 2013 9:23 pm Post subject: |
|
|
Good! How did it end up? Bye. _________________ microKORGXL, Kaossilator Pro, monotribe, SQ-1, volca fm, Kross 88 BK
Alesis SR18, Akai Miniak, Fender Strat, Line 6 Spider II 112, Zoom MS-50G |
|
Back to top |
|
|
Sharp Site Admin
Joined: 02 Jan 2002 Posts: 18197 Location: Ireland
|
Posted: Mon Sep 02, 2013 10:13 pm Post subject: |
|
|
It's not finished, but it's most certainly at a level where I can compile it and send you a link for testing. Everything you will see works. I'm just adding some additional minor function at this stage.
I think there's one more day of actual development left on my side and then I move onto writing the manual and keeping my fingers cross something could happen on the midi 2 keystrokes side of things.
If I had that missing piece, I could then compile the final version. I'd like to pack the midi 2 keystrokes inside my installation file so that when everything installs, midi 2 keystrokes would be in a sub folder of my app, and I can build in a system that launches it when my program launches.
Anyway.... give me a few minutes and I will compile it at it stands right now.
Regards
Sharp. |
|
Back to top |
|
|
Sharp Site Admin
Joined: 02 Jan 2002 Posts: 18197 Location: Ireland
|
Posted: Mon Sep 02, 2013 10:50 pm Post subject: |
|
|
PM send.
Daz, I tried to send it to you as a PM also and it won't go. If you have time, can I email the info to you ?
Regards
Sharp. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|