Sign in to follow this  
Followers 0
UnavailableUsername

Looking for MIDI input example..

1 post in this topic

#1 ·  Posted (edited)

Hello everyone, I'm new here!

Been using autoit for quite a while now, and have found a lot of useful posts on this forum. So THANK YOU to all of you that are helping other coders by sharing your work. But this time I have something I just can't get to work.

I have a usb midi controller connected to a Roland Ep.7 electric piano. I want to use the keys to load up a function and send their note number. It does't have to be fast. I tried using MidiUDF but I'm not very experienced (I tend to look for a way around if I don't understand how to use something).

So If somebody could point me in the right direction, that would be awesome.

#include <midiudf.au3>

While 1
    $note = <Played note>
If $note > 0 then
    tooltip("Note number: "& $note,300,300)
    sleep(1000)
EndIf

Sleep(20)
WEnd

That's all I need actually.

Thanks in advance!!

Robin

PS: Merry Christmas ;)

Edited by UnavailableUsername

Share this post


Link to post
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0