czardas Posted August 9, 2007 Author Share Posted August 9, 2007 (edited) put the midiudf.au3 in the Autoit "Include" folder. Make sure that the includes are still at the top of the page. Make sure you are using the right include as well.I included the midiudf.au3 that everybody is using as an attachment, I would suggest deleting the old one and using this one in case thats the issue.Thanks, I'm learning a lot. Ok I've put the midiUDF in the right folder and bingo! I get an interface. And no more errors in the syntax Still can't hear anything though. I need to play around with it a bit. If it works for you, then there is no reason why it shouldn't work for me. Edited August 9, 2007 by czardas operator64 ArrayWorkshop Link to comment Share on other sites More sharing options...
GMK Posted August 9, 2007 Share Posted August 9, 2007 Thanks, I'm learning a lot. Ok I've put the midiUDF in the right folder and bingo! I get an interface. And no more errors in the syntax Still can't hear anything though. I need to play around with it a bit. If it works for you, then there is no reason why it shouldn't work for me.This code will tell you your MIDI volume:#include <midiudf.au3> $Volume = _MIDIOutGetVolume() MsgBox(0,"MIDI Volume",$Volume)oÝ÷ Ù.(!¶wvÚ-º0¶¢YhÂ)àr¦jwl¢g°êÞ{ay· yâ ¶¬r¸©µ«¢+Ù}5%%=ÕÑMÑY½±Õµ ØÔÔÌÔ¤íMÐ5%$Ù½±Õµ±°Ñ¡ÝäÕÀ Link to comment Share on other sites More sharing options...
czardas Posted August 9, 2007 Author Share Posted August 9, 2007 (edited) Vol = 0 Inserting the line 'MIDIOutSetVolume(65535)' gives the following error: Unknown function name. I'm tired now. I think I'll tinker around with the sound card tomorrow. At least the problem has now been somewhat isolated. Thanks Edited August 9, 2007 by czardas operator64 ArrayWorkshop Link to comment Share on other sites More sharing options...
DW1 Posted August 9, 2007 Share Posted August 9, 2007 did you put the "_" because the function is called _MIDIOutSetVolume() AutoIt3 Online Help Link to comment Share on other sites More sharing options...
czardas Posted August 9, 2007 Author Share Posted August 9, 2007 (edited) did you put the "_"because the function is called _MIDIOutSetVolume()Doh! Now the error message has gone but I still haven't solved it. I keep switching between sound cards and trying different combinations. Tomorrow I'll try it on another computer. Edited August 9, 2007 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