czardas Posted January 31, 2011 Share Posted January 31, 2011 (edited) I have never been able to get the to work, although my first attempt was a few years ago. This year I made a resolution to focus on my long term music projects and hopefully have something completed by 2012. Please could someone find a working example which uses Midiudf and compile it, so that I can test it. That way I will know if it is a configuration problem at my end, or something else I'm not doing right. For example: does this play back the recording for you? It doesn't seem to work for me.Alternatively does anyone know any other way to access Microsoft GS Wavetable SW Synth and work with the sounds on my system? Edited January 31, 2011 by czardas operator64 ArrayWorkshop Link to comment Share on other sites More sharing options...
JohnOne Posted January 31, 2011 Share Posted January 31, 2011 "For example: does this Midi Keyboard play back the recording for you?" Nope, not a sound. Win 7 32 bit. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
czardas Posted January 31, 2011 Author Share Posted January 31, 2011 "For example: does this Midi Keyboard play back the recording for you?"Nope, not a sound. Win 7 32 bit.Thanks for looking. It's not obvious how that keyboard works at first glance. It does have an excellent GUI though. I will have to come back to this later today, due to commitments. Please if anyone has any suggestions I would be most grateful for any advice. Thanks. operator64 ArrayWorkshop Link to comment Share on other sites More sharing options...
JohnOne Posted January 31, 2011 Share Posted January 31, 2011 After a look to see id midi volume was mute, I cant find any midi settings in win 7 AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
czardas Posted January 31, 2011 Author Share Posted January 31, 2011 (edited) Apparently there used to be some kind of settings under win 98, but for some strange reason microsoft hid them. I might have got that slightly wrong - it was something I read recently. I ran one of the functions from the UDF to test midi volume, and it is apparently set to maximum. Edited January 31, 2011 by czardas operator64 ArrayWorkshop Link to comment Share on other sites More sharing options...
JohnOne Posted January 31, 2011 Share Posted January 31, 2011 Just downloaded a midi file and it works fine so the volume is ok, but still no sound out of the example playback, or the keys of that midi test. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
water Posted January 31, 2011 Share Posted January 31, 2011 "For example: does this Midi Keyboard play back the recording for you?" Doesn't work here either. Windows XP SP 3 My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
iamtheky Posted January 31, 2011 Share Posted January 31, 2011 (edited) with Ascendants updated midiUDF, this example works. #include <midiudf.au3> $open = _MidiOutOpen() _midiOutShortMsg($open,256 * 10 + 192) ; 10 plays Music box _midioutshortmsg($open,$A0_ON) sleep(2000) ; Play and hold for 2 second _midioutshortmsg($open,$A0_OFF);Release, otherwise it will stay held _midiOutclose($open) some distorted sustained 'mary had a little lamb' action. *I am not quite understanding the math behind the different instruments - or rather how they are related to the higher numbered instruments in the comments as they match exactly with the first set. #include <midiudf.au3> $open = _MidiOutOpen() _midiOutShortMsg($open,256 * 86 + 192) ; 86 some distorted synth action _midioutshortmsg($open,$E2_ON) sleep(500) _midioutshortmsg($open,$D2_ON) sleep(500) _midioutshortmsg($open,$C2_ON) sleep(500) _midioutshortmsg($open,$D2_ON) sleep(500) _midioutshortmsg($open,$E2_ON) sleep (500) _midioutshortmsg($open,$E2_ON) sleep (500) _midioutshortmsg($open,$E2_ON) sleep (1000) _midioutshortmsg($open,$D2_ON) sleep(500) _midioutshortmsg($open,$D2_ON) sleep(500) _midioutshortmsg($open,$D2_ON) sleep(1000) _midioutshortmsg($open,$E2_ON) sleep (500) _midioutshortmsg($open,$G2_ON) sleep (500) _midioutshortmsg($open,$G2_ON) sleep (1000) _midiOutclose($open) Edited January 31, 2011 by iamtheky ,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-. |(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/ (_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_) | | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) ( | | | | |)| | \ / | | | | | |)| | `--. | |) \ | | `-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_| '-' '-' (__) (__) (_) (__) Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted January 31, 2011 Share Posted January 31, 2011 (edited) I can confirm that iamtheky's example works on x64 Win7 with Au3 in both x86 and x64. Edit: And the midi keyboard plays with the updated udf. Edited January 31, 2011 by AdmiralAlkex .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
czardas Posted January 31, 2011 Author Share Posted January 31, 2011 (edited) Hey, that's made a difference. Thanks. Mary Had a Little Lamb sounds quite comical. Now I have now solved most of my problems - in theory. The last obstacle is designing a graphical music score control (Perhaps I'll just make it read only). I guess it won't be so easy, but I think I can probably solve it. Again, much obliged to everyone! Edited January 31, 2011 by czardas operator64 ArrayWorkshop 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