eynstyne Posted November 29, 2006 Share Posted November 29, 2006 (edited) From previous posts, I have been working long and hard on thie UDF, but it has turned out a success. Unlike people who do not want to share UDF's [Phillip Benefall], I will be completely willing to give this UDF for download. See the example in the UDF file, actually, you can just run the UDF and listen to the music... Eynstyne MIDI UDF!!! - Midiudf.au3 (Stream functions still need work...) If there are any problems with the UDF, PM me THX Enjoy! Edited January 13, 2013 by eynstyne AZJIO 1 F@m!ly Guy Fr33k! - Avatar speaks for itself__________________________________________________________________________________________ite quotes... - Is your refrigerator running? If it is, It probably runs like you...very homosexually - Christians don't believe in gravity - Geeze Brian where do you think you are, Payless?- Show me potato Salad!__________________________________________________________________________________________Programs available - Shutdown timer[indent][/indent] Link to comment Share on other sites More sharing options...
Apzo Posted November 29, 2006 Share Posted November 29, 2006 Sure I will enjoy, thanks Eynstyne ! Midi things in AutoIt, means music boxes and loop players, cool Apzo. From previous posts, I have been working long and hard on thie UDF, but it has turned out a success. Unlike people who do not want to share UDF's [Phillip Benefall], I will be completely willing to give this UDF for download. See the example in the UDF file, actually, you can just run the UDF and listen to the music... Eynstyne MIDI UDF!!! - Midiudf.au3 (Stream functions still need work...) If there are any problems with the UDF, PM me or mail to musikfreak99@hotmail.com or eynstyne@hotmail.com THX Enjoy! All the pop3 functions.Rsync your files on your USB key (or anywhere else) Link to comment Share on other sites More sharing options...
amdead Posted November 29, 2006 Share Posted November 29, 2006 do you have a example file? would be cool if someone made a MIDI recorder, by using MIDI interface and a keyobard. thanks for sharing Link to comment Share on other sites More sharing options...
rstolfa Posted November 29, 2006 Share Posted November 29, 2006 Eynstyne, can you give me a simple example of using your UDF for Midi? I'm just trying to use it to generate a specific tone (anything, really, between 300 and 800 Hz) for a specific time. It's not music, but it come out the right headphone jack... Link to comment Share on other sites More sharing options...
Lakes Posted November 30, 2006 Share Posted November 30, 2006 This is great work, but does`nt work properly for me... Trying to get each instrument to play one note in turn..For $i = 0 to 127 _MidiOutShortMsg($open,($i*256) * 16 + 192) $msg = _midioutshortmsg($open,$C_NOTEON) sleep(200) ;$msg = _midioutshortmsg($open,$C_NOTEOFF) Nextbut it plays just one long note. Guess more examples are needed.. Drums work fine though! 2015 - Still no flying cars, instead blankets with sleeves. Link to comment Share on other sites More sharing options...
eynstyne Posted November 30, 2006 Author Share Posted November 30, 2006 Thx for trying out my UDF. @rstolfa In regards to the Hz value, $A_NOTEON (440hz) should do it for you. If you are looking for examples, run the UDF and listen to the music. Also look in the midi udf for notes, drum numbers and so on. $open = _MidiOutOpen() _midiOutShortMsg($open,256 * 10 + 192) ; 10 plays Music box _midioutshortmsg($open,$A_NOTEON) sleep(1000) ; Play and hold for 1 second _midioutshortmsg($open,$A_NOTEOFF);Release, otherwise it will stay held _midiOutclose($open) @Lakes Don't comment out the NOTEOFF line. Also set an appropriate sleep value to sound the note Thx for trying the UDF @amdead An Examples is found inside the UDF. Run it, and listen to some music For recording, I have to reasearch this. _MidiInOpen and the stream functions should get you started. @Apzo TYVM. I was hoping the UDF went well F@m!ly Guy Fr33k! - Avatar speaks for itself__________________________________________________________________________________________ite quotes... - Is your refrigerator running? If it is, It probably runs like you...very homosexually - Christians don't believe in gravity - Geeze Brian where do you think you are, Payless?- Show me potato Salad!__________________________________________________________________________________________Programs available - Shutdown timer[indent][/indent] Link to comment Share on other sites More sharing options...
Richard Robertson Posted November 30, 2006 Share Posted November 30, 2006 This is nice. I will find a use for it. Link to comment Share on other sites More sharing options...
J_Y_C Posted November 30, 2006 Share Posted November 30, 2006 Awesome work, I will definitely use this!!!! rstolfa: sounds to me like you are wanting to make a blue box... Are you trying to generate DTMF tones? Link to comment Share on other sites More sharing options...
Lakes Posted December 2, 2006 Share Posted December 2, 2006 Still playing with this, its great! Is there a way to get the name of the instrument playing from the midi data?,I can add this in, but wondering if theres an easier way of doing this than creating an array of instrument names... Thanks! 2015 - Still no flying cars, instead blankets with sleeves. Link to comment Share on other sites More sharing options...
Richard Robertson Posted December 2, 2006 Share Posted December 2, 2006 I think you will have to rely on an array. Link to comment Share on other sites More sharing options...
Gibby Posted July 30, 2007 Share Posted July 30, 2007 Hi eynstyne, Thanks for developing this MIDI UDF. Can you please provide some examples of how to use the MIDI stream functions? Thanks, Gibby Link to comment Share on other sites More sharing options...
GMK Posted August 3, 2007 Share Posted August 3, 2007 (edited) I'm still playing with this and testing it, but the following example should work better, as far as I can tell. There were no "note offs" in the example, so it just sounded like jumbled notes, but now it resembles a song:expandcollapse popup;THE FOLLOWING IS AN EXAMPLE ON HOW TO USE THE CONSTANTS... ;PIECE - 12 VARIATIONS (K.265,Ah! vous dirai-je maman) THEME ;Composer : Wolfgang Amadeus Mozart ;Resequenced by Eynstyne & GMK #include <Midiudf.au3> $open = _midiOutOpen () For $i = 27 To 87 _MidiOutShortMsg ($open, 0x99 + ($i * 256) + (127 * 0x10000)) ; Drums! Sleep(200) Next For $i = 1 To 2 _MidiOutShortMsg ($open, 256 * 16 + 192) $msg = _MidiOutShortMsg ($open, $C_OCTAVEUP_NOTEON) $msg = _MidiOutShortMsg ($open, $CBASS_NOTEON) Sleep(500) $msg = _MidiOutShortMsg ($open, $C_OCTAVEUP_NOTEOFF) $msg = _MidiOutShortMsg ($open, $CBASS_NOTEOFF) $msg = _MidiOutShortMsg ($open, $C_OCTAVEUP_NOTEON) $msg = _MidiOutShortMsg ($open, $C_NOTEON) Sleep(500) $msg = _MidiOutShortMsg ($open, $C_OCTAVEUP_NOTEOFF) $msg = _MidiOutShortMsg ($open, $C_NOTEOFF) $msg = _MidiOutShortMsg ($open, $G_OCTAVEUP_NOTEON) $msg = _MidiOutShortMsg ($open, $E_NOTEON) Sleep(500) $msg = _MidiOutShortMsg ($open, $G_OCTAVEUP_NOTEOFF) $msg = _MidiOutShortMsg ($open, $E_NOTEOFF) $msg = _MidiOutShortMsg ($open, $G_OCTAVEUP_NOTEON) $msg = _MidiOutShortMsg ($open, $C_NOTEON) Sleep(500) $msg = _MidiOutShortMsg ($open, $G_OCTAVEUP_NOTEOFF) $msg = _MidiOutShortMsg ($open, $C_NOTEOFF) $msg = _MidiOutShortMsg ($open, $A_OCTAVEUP_NOTEON) $msg = _MidiOutShortMsg ($open, $F_NOTEON) Sleep(500) $msg = _MidiOutShortMsg ($open, $A_OCTAVEUP_NOTEOFF) $msg = _MidiOutShortMsg ($open, $F_NOTEOFF) $msg = _MidiOutShortMsg ($open, $A_OCTAVEUP_NOTEON) $msg = _MidiOutShortMsg ($open, $C_NOTEON) Sleep(500) $msg = _MidiOutShortMsg ($open, $A_OCTAVEUP_NOTEOFF) $msg = _MidiOutShortMsg ($open, $C_NOTEOFF) $msg = _MidiOutShortMsg ($open, $G_OCTAVEUP_NOTEON) $msg = _MidiOutShortMsg ($open, $E_NOTEON) Sleep(500) $msg = _MidiOutShortMsg ($open, $G_OCTAVEUP_NOTEOFF) $msg = _MidiOutShortMsg ($open, $E_NOTEOFF) $msg = _MidiOutShortMsg ($open, $G_OCTAVEUP_NOTEON) $msg = _MidiOutShortMsg ($open, $C_NOTEON) Sleep(500) $msg = _MidiOutShortMsg ($open, $G_OCTAVEUP_NOTEOFF) $msg = _MidiOutShortMsg ($open, $C_NOTEOFF) $msg = _MidiOutShortMsg ($open, $F_OCTAVEUP_NOTEON) $msg = _MidiOutShortMsg ($open, $D_NOTEON) Sleep(500) $msg = _MidiOutShortMsg ($open, $F_OCTAVEUP_NOTEOFF) $msg = _MidiOutShortMsg ($open, $D_NOTEOFF) $msg = _MidiOutShortMsg ($open, $F_OCTAVEUP_NOTEON) $msg = _MidiOutShortMsg ($open, $B_NOTEON) Sleep(500) $msg = _MidiOutShortMsg ($open, $F_OCTAVEUP_NOTEOFF) $msg = _MidiOutShortMsg ($open, $B_NOTEOFF) $msg = _MidiOutShortMsg ($open, $E_OCTAVEUP_NOTEON) $msg = _MidiOutShortMsg ($open, $C_NOTEON) Sleep(500) $msg = _MidiOutShortMsg ($open, $E_OCTAVEUP_NOTEOFF) $msg = _MidiOutShortMsg ($open, $C_NOTEOFF) $msg = _MidiOutShortMsg ($open, $E_OCTAVEUP_NOTEON) $msg = _MidiOutShortMsg ($open, $A_NOTEON) Sleep(500) $msg = _MidiOutShortMsg ($open, $E_OCTAVEUP_NOTEOFF) $msg = _MidiOutShortMsg ($open, $A_NOTEOFF) $msg = _MidiOutShortMsg ($open, $D_OCTAVEUP_NOTEON) $msg = _MidiOutShortMsg ($open, $FBASS_NOTEON) Sleep(500) $msg = _MidiOutShortMsg ($open, $D_OCTAVEUP_NOTEOFF) $msg = _MidiOutShortMsg ($open, $FBASS_NOTEOFF) $msg = _MidiOutShortMsg ($open, $D_OCTAVEUP_NOTEON) $msg = _MidiOutShortMsg ($open, $GBASS_NOTEON) Sleep(300) $msg = _MidiOutShortMsg ($open, $D_OCTAVEUP_NOTEOFF) $msg = _MidiOutShortMsg ($open, $GBASS_NOTEOFF) $msg = _MidiOutShortMsg ($open, $E_OCTAVEUP_NOTEON) Sleep(175) $msg = _MidiOutShortMsg ($open, $E_OCTAVEUP_NOTEOFF) $msg = _MidiOutShortMsg ($open, $C_OCTAVEUP_NOTEON) $msg = _MidiOutShortMsg ($open, $CBASS_NOTEON) Sleep(1000) $msg = _MidiOutShortMsg ($open, $C_OCTAVEUP_NOTEOFF) $msg = _MidiOutShortMsg ($open, $CBASS_NOTEOFF) Next $msg = _MidiOutShortMsg ($open, $G_OCTAVEUP_NOTEON) $msg = _MidiOutShortMsg ($open, $E_NOTEON) Sleep(500) $msg = _MidiOutShortMsg ($open, $G_OCTAVEUP_NOTEOFF) $msg = _MidiOutShortMsg ($open, $E_NOTEOFF) $msg = _MidiOutShortMsg ($open, $G_OCTAVEUP_NOTEON) $msg = _MidiOutShortMsg ($open, $GBASS_NOTEON) Sleep(500) $msg = _MidiOutShortMsg ($open, $G_OCTAVEUP_NOTEOFF) $msg = _MidiOutShortMsg ($open, $GBASS_NOTEOFF) $msg = _MidiOutShortMsg ($open, $F_OCTAVEUP_NOTEON) $msg = _MidiOutShortMsg ($open, $D_NOTEON) Sleep(500) $msg = _MidiOutShortMsg ($open, $F_OCTAVEUP_NOTEOFF) $msg = _MidiOutShortMsg ($open, $D_NOTEOFF) $msg = _MidiOutShortMsg ($open, $F_OCTAVEUP_NOTEON) $msg = _MidiOutShortMsg ($open, $GBASS_NOTEON) Sleep(500) $msg = _MidiOutShortMsg ($open, $F_OCTAVEUP_NOTEOFF) $msg = _MidiOutShortMsg ($open, $GBASS_NOTEOFF) $msg = _MidiOutShortMsg ($open, $E_OCTAVEUP_NOTEON) $msg = _MidiOutShortMsg ($open, $C_NOTEON) Sleep(500) $msg = _MidiOutShortMsg ($open, $E_OCTAVEUP_NOTEOFF) $msg = _MidiOutShortMsg ($open, $C_NOTEOFF) $msg = _MidiOutShortMsg ($open, $E_OCTAVEUP_NOTEON) $msg = _MidiOutShortMsg ($open, $GBASS_NOTEON) Sleep(500) $msg = _MidiOutShortMsg ($open, $E_OCTAVEUP_NOTEOFF) $msg = _MidiOutShortMsg ($open, $GBASS_NOTEOFF) $msg = _MidiOutShortMsg ($open, $D_OCTAVEUP_NOTEON) $msg = _MidiOutShortMsg ($open, $B_NOTEON) Sleep(500) $msg = _MidiOutShortMsg ($open, $D_OCTAVEUP_NOTEOFF) $msg = _MidiOutShortMsg ($open, $B_NOTEOFF) $msg = _MidiOutShortMsg ($open, $D_OCTAVEUP_NOTEON) $msg = _MidiOutShortMsg ($open, $G_NOTEON) Sleep(500) $msg = _MidiOutShortMsg ($open, $D_OCTAVEUP_NOTEOFF) $msg = _MidiOutShortMsg ($open, $G_NOTEOFF) $msg = _MidiOutShortMsg ($open, $G_OCTAVEUP_NOTEON) $msg = _MidiOutShortMsg ($open, $E_NOTEON) Sleep(500) $msg = _MidiOutShortMsg ($open, $G_OCTAVEUP_NOTEOFF) $msg = _MidiOutShortMsg ($open, $E_NOTEOFF) $msg = _MidiOutShortMsg ($open, $G_OCTAVEUP_NOTEON) $msg = _MidiOutShortMsg ($open, $G_NOTEON) Sleep(500) $msg = _MidiOutShortMsg ($open, $G_OCTAVEUP_NOTEOFF) $msg = _MidiOutShortMsg ($open, $G_NOTEOFF) $msg = _MidiOutShortMsg ($open, $F_OCTAVEUP_NOTEON) $msg = _MidiOutShortMsg ($open, $D_NOTEON) Sleep(500) $msg = _MidiOutShortMsg ($open, $F_OCTAVEUP_NOTEOFF) $msg = _MidiOutShortMsg ($open, $D_NOTEOFF) $msg = _MidiOutShortMsg ($open, $F_OCTAVEUP_NOTEON) $msg = _MidiOutShortMsg ($open, $G_NOTEON) Sleep(500) $msg = _MidiOutShortMsg ($open, $F_OCTAVEUP_NOTEOFF) $msg = _MidiOutShortMsg ($open, $G_NOTEOFF) $msg = _MidiOutShortMsg ($open, $E_OCTAVEUP_NOTEON) $msg = _MidiOutShortMsg ($open, $C_NOTEON) Sleep(400) $msg = _MidiOutShortMsg ($open, $E_OCTAVEUP_NOTEOFF) $msg = _MidiOutShortMsg ($open, $C_NOTEOFF) $msg = _MidiOutShortMsg ($open, $F_OCTAVEUP_NOTEON) Sleep(50) $msg = _MidiOutShortMsg ($open, $F_OCTAVEUP_NOTEOFF) $msg = _MidiOutShortMsg ($open, $E_OCTAVEUP_NOTEON) Sleep(50) $msg = _MidiOutShortMsg ($open, $E_OCTAVEUP_NOTEOFF) $msg = _MidiOutShortMsg ($open, $D_OCTAVEUP_NOTEON) Sleep(50) $msg = _MidiOutShortMsg ($open, $D_OCTAVEUP_NOTEOFF) $msg = _MidiOutShortMsg ($open, $E_OCTAVEUP_NOTEON) Sleep(250) $msg = _MidiOutShortMsg ($open, $E_OCTAVEUP_NOTEOFF) $msg = _MidiOutShortMsg ($open, $F_OCTAVEUP_NOTEON) $msg = _MidiOutShortMsg ($open, $D_NOTEON) Sleep(150) $msg = _MidiOutShortMsg ($open, $F_OCTAVEUP_NOTEOFF) $msg = _MidiOutShortMsg ($open, $D_NOTEOFF) $msg = _MidiOutShortMsg ($open, $E_OCTAVEUP_NOTEON) $msg = _MidiOutShortMsg ($open, $C_NOTEON) $msg = _MidiOutShortMsg ($open, $GBASS_NOTEON) Sleep(500) $msg = _MidiOutShortMsg ($open, $E_OCTAVEUP_NOTEOFF) $msg = _MidiOutShortMsg ($open, $C_NOTEOFF) $msg = _MidiOutShortMsg ($open, $GBASS_NOTEOFF) $msg = _MidiOutShortMsg ($open, $D_OCTAVEUP_NOTEON) $msg = _MidiOutShortMsg ($open, $B_NOTEON) Sleep(500) $msg = _MidiOutShortMsg ($open, $D_OCTAVEUP_NOTEOFF) $msg = _MidiOutShortMsg ($open, $B_NOTEOFF) $msg = _MidiOutShortMsg ($open, $C_OCTAVEUP_NOTEON) $msg = _MidiOutShortMsg ($open, $CBASS_NOTEON) Sleep(500) $msg = _MidiOutShortMsg ($open, $C_OCTAVEUP_NOTEOFF) $msg = _MidiOutShortMsg ($open, $CBASS_NOTEOFF) $msg = _MidiOutShortMsg ($open, $C_OCTAVEUP_NOTEON) $msg = _MidiOutShortMsg ($open, $C_NOTEON) Sleep(500) $msg = _MidiOutShortMsg ($open, $C_OCTAVEUP_NOTEOFF) $msg = _MidiOutShortMsg ($open, $C_NOTEOFF) $msg = _MidiOutShortMsg ($open, $G_OCTAVEUP_NOTEON) $msg = _MidiOutShortMsg ($open, $E_NOTEON) Sleep(500) $msg = _MidiOutShortMsg ($open, $G_OCTAVEUP_NOTEOFF) $msg = _MidiOutShortMsg ($open, $E_NOTEOFF) $msg = _MidiOutShortMsg ($open, $G_OCTAVEUP_NOTEON) $msg = _MidiOutShortMsg ($open, $C_NOTEON) Sleep(500) $msg = _MidiOutShortMsg ($open, $G_OCTAVEUP_NOTEOFF) $msg = _MidiOutShortMsg ($open, $C_NOTEOFF) $msg = _MidiOutShortMsg ($open, $A_OCTAVEUP_NOTEON) $msg = _MidiOutShortMsg ($open, $F_NOTEON) Sleep(500) $msg = _MidiOutShortMsg ($open, $A_OCTAVEUP_NOTEOFF) $msg = _MidiOutShortMsg ($open, $F_NOTEOFF) $msg = _MidiOutShortMsg ($open, $A_OCTAVEUP_NOTEON) $msg = _MidiOutShortMsg ($open, $C_NOTEON) Sleep(500) $msg = _MidiOutShortMsg ($open, $A_OCTAVEUP_NOTEOFF) $msg = _MidiOutShortMsg ($open, $C_NOTEOFF) $msg = _MidiOutShortMsg ($open, $G_OCTAVEUP_NOTEON) $msg = _MidiOutShortMsg ($open, $E_NOTEON) Sleep(500) $msg = _MidiOutShortMsg ($open, $G_OCTAVEUP_NOTEOFF) $msg = _MidiOutShortMsg ($open, $E_NOTEOFF) $msg = _MidiOutShortMsg ($open, $G_OCTAVEUP_NOTEON) $msg = _MidiOutShortMsg ($open, $C_NOTEON) Sleep(500) $msg = _MidiOutShortMsg ($open, $G_OCTAVEUP_NOTEOFF) $msg = _MidiOutShortMsg ($open, $C_NOTEOFF) $msg = _MidiOutShortMsg ($open, $F_OCTAVEUP_NOTEON) $msg = _MidiOutShortMsg ($open, $D_NOTEON) Sleep(500) $msg = _MidiOutShortMsg ($open, $F_OCTAVEUP_NOTEOFF) $msg = _MidiOutShortMsg ($open, $D_NOTEOFF) $msg = _MidiOutShortMsg ($open, $F_OCTAVEUP_NOTEON) $msg = _MidiOutShortMsg ($open, $B_NOTEON) Sleep(500) $msg = _MidiOutShortMsg ($open, $F_OCTAVEUP_NOTEOFF) $msg = _MidiOutShortMsg ($open, $B_NOTEOFF) $msg = _MidiOutShortMsg ($open, $E_OCTAVEUP_NOTEON) $msg = _MidiOutShortMsg ($open, $C_NOTEON) Sleep(500) $msg = _MidiOutShortMsg ($open, $E_OCTAVEUP_NOTEOFF) $msg = _MidiOutShortMsg ($open, $C_NOTEOFF) $msg = _MidiOutShortMsg ($open, $E_OCTAVEUP_NOTEON) $msg = _MidiOutShortMsg ($open, $A_NOTEON) Sleep(500) $msg = _MidiOutShortMsg ($open, $E_OCTAVEUP_NOTEOFF) $msg = _MidiOutShortMsg ($open, $A_NOTEOFF) $msg = _MidiOutShortMsg ($open, $D_OCTAVEUP_NOTEON) $msg = _MidiOutShortMsg ($open, $FBASS_NOTEON) Sleep(400) $msg = _MidiOutShortMsg ($open, $D_OCTAVEUP_NOTEOFF) $msg = _MidiOutShortMsg ($open, $FBASS_NOTEOFF) $msg = _MidiOutShortMsg ($open, $E_OCTAVEUP_NOTEON) Sleep(50) $msg = _MidiOutShortMsg ($open, $E_OCTAVEUP_NOTEOFF) $msg = _MidiOutShortMsg ($open, $D_OCTAVEUP_NOTEON) Sleep(50) $msg = _MidiOutShortMsg ($open, $D_OCTAVEUP_NOTEOFF) $msg = _MidiOutShortMsg ($open, $C_OCTAVEUP_NOTEON) Sleep(50) $msg = _MidiOutShortMsg ($open, $C_OCTAVEUP_NOTEOFF) $msg = _MidiOutShortMsg ($open, $D_OCTAVEUP_NOTEON) Sleep(250) $msg = _MidiOutShortMsg ($open, $D_OCTAVEUP_NOTEOFF) $msg = _MidiOutShortMsg ($open, $E_OCTAVEUP_NOTEON) $msg = _MidiOutShortMsg ($open, $GBASS_NOTEON) Sleep(150) $msg = _MidiOutShortMsg ($open, $E_OCTAVEUP_NOTEOFF) $msg = _MidiOutShortMsg ($open, $GBASS_NOTEOFF) $msg = _MidiOutShortMsg ($open, $C_OCTAVEUP_NOTEON) $msg = _MidiOutShortMsg ($open, $CBASS_NOTEON) Sleep(1000) $msg = _MidiOutShortMsg ($open, $C_OCTAVEUP_NOTEOFF) $msg = _MidiOutShortMsg ($open, $CBASS_NOTEOFF) _MidiOutClose ($open) Edited November 9, 2010 by GMK Link to comment Share on other sites More sharing options...
Paulie Posted August 3, 2007 Share Posted August 3, 2007 (edited) Does this actually create a file? Can it? The info is difficult to follow but the example is pretty cool. I get these errors too, If you push continue anyway, it still works, but i still get errors (35,104) : WARNING: $MIDI_UNCACHE: possibly used before declaration. Const $MIDI_CACHE_VALID = ($MIDI_CACHE_ALL Or $MIDI_CACHE_BESTFIT Or $MIDI_CACHE_QUERY Or $MIDI_UNCACHE) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Program Files\AutoIt3\Include\Midi.au3(873,19) : WARNING: $getmmsyserr: possibly used before declaration. if $getmmsyserr = ~~~~~~~~~~~~~~~~^ C:\Program Files\AutoIt3\Include\Midi.au3(900,34) : ERROR: DllStructGetData() [built-in] called with wrong number of args. $get = Dllstructgetdata($struct) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Program Files\AutoIt3\Include\Midi.au3(873,19) : ERROR: $getmmsyserr: undeclared global variable. if $getmmsyserr = ~~~~~~~~~~~~~~~~^ Edited August 4, 2007 by Paulie Link to comment Share on other sites More sharing options...
GMK Posted August 7, 2007 Share Posted August 7, 2007 I made some modifications to clean up the code and make some of the constants easier to work with (IMO), plus added some items to the instruments section--categorized the instruments and added a partial drum note map.Midiudf.au3midi_udf_example.au3 Link to comment Share on other sites More sharing options...
Thatsgreat2345 Posted August 7, 2007 Share Posted August 7, 2007 This is awesome! Link to comment Share on other sites More sharing options...
lokster Posted August 9, 2007 Share Posted August 9, 2007 This is really cool. I'm not sure who uses MIDI these days, but anyway, it's a good UDF. Link to comment Share on other sites More sharing options...
ConsultingJoe Posted August 9, 2007 Share Posted August 9, 2007 This is GOD LIKE. I want to try a Grange Band/Fruity Loops thing. Is there a save as *.mid function? Great Work Check out ConsultingJoe.com Link to comment Share on other sites More sharing options...
Thatsgreat2345 Posted August 9, 2007 Share Posted August 9, 2007 So how about making a .chm of how to use this bloody thing ? Link to comment Share on other sites More sharing options...
ConsultingJoe Posted August 10, 2007 Share Posted August 10, 2007 how do you convert the notes from dec to their hex values? Check out ConsultingJoe.com Link to comment Share on other sites More sharing options...
Paulie Posted August 10, 2007 Share Posted August 10, 2007 So how about making a .chm of how to use this bloody thing ?Agreed! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now