trancexx Posted May 6, 2009 Posted May 6, 2009 Can you post the exact error please? Cheers, BrettI'm not flxfxp... but this would show his issue: #include <WindowsConstants.au3> $error = 0 ♡♡♡ . eMyvnE
BrettF Posted May 6, 2009 Author Posted May 6, 2009 Argh I'm still 3.2.12.1.... Will update and see about a fix. Cheers, Brett Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version!
flxfxp Posted May 7, 2009 Posted May 7, 2009 Thanks for investing time in this. I also didn't notice this until I used 3.3.0.0
eukalyptus Posted May 7, 2009 Posted May 7, 2009 Take a look at post #84 We have allready fixed this, but we forgot BassAsio.au3 and BassEnv.au3 DirectSound UDF Direct2D UDF
flxfxp Posted May 7, 2009 Posted May 7, 2009 I'll summarize it: just rename the $error variables to something else, like $basserror or something
BrettF Posted May 7, 2009 Author Posted May 7, 2009 Take a look at post #84We have allready fixed this, but we forgot BassAsio.au3 and BassEnv.au3 Will update when I finish my assignments... Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version!
kjcdude Posted May 12, 2009 Posted May 12, 2009 I found a very weird error. If the output on stereo mix is to high, it will output the negative values showing the output has a 0/100 value.
UEZ Posted May 12, 2009 Posted May 12, 2009 I found a very weird error.If the output on stereo mix is to high, it will output the negative values showing the output has a 0/100 value.Do you mean the same problem as I posted at post #136?UEZ Please don't send me any personal message and ask for support! I will not reply! Selection of finest graphical examples at Codepen.io The own fart smells best! ✌Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!¯\_(ツ)_/¯ ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ
darthneo Posted August 10, 2009 Posted August 10, 2009 (edited) Is it just me or is _BASS_StreamCreateURL function giving anyone else an error? i'm using it like this -> $Bass_handle = _BASS_StreamCreateURL($BASS_DLL, "http://...../....mp3", '', $BASS_STREAM_AUTOFREE) and it gives me this error: Line 2362 (file "...Bass.au3"): $dcProc = DllCallBackRegister ($proc, "ptr", "ptr;dword;ptw;") Error: Badly formatted "Func" statement. edit: i also downloaded your BASSCB and it giving me the same error edit2: as a temporary fix i commented out line 2363 and edited the next line: $BASS_ret_ = DllCall($bass_dll, "dword", "BASS_StreamCreateURL", "ptr", DllStructGetPtr($dsURL), "DWORD", $offset, "DWORD", $flags, "ptr", "", "ptr", "") Edited August 11, 2009 by darthneo
VAG Posted October 5, 2009 Posted October 5, 2009 Hi BrettF, I would like to made use of your BASS UDF to do FFT Spectrum Analysis in AutoIT. I am new to your BASS UDF but I tried to read up all your examples in Zip and Help Doc. I am quite confussed with how to implement the BASS_ChannelGetData() on a stereo line-in audio source. I would like to read out in realtime the Left and Right channel frequency value of a constant Sine Tone which I will pump in from an external audio source. How may I deal with the returns from this UDF so as to display them in term of Hz?My FFT settings are:Sampling Rate: 22.050KHzFFT size: 4096Time Window: HammingChannel: Stereo
BrettF Posted October 11, 2009 Author Posted October 11, 2009 Sorry for the late reply, I was probably in Rome at the time. Just got back from 3 weeks touring around Europe... Check out what monoceres did with his visualizations and Bass.dll. The link if memory serves me correctly should be in the initial post. Cheers, Brett Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version!
UEZ Posted October 17, 2009 Posted October 17, 2009 (edited) I want to mention that BASS.AU3 is not working properly with latest v3.3.1.3 beta anymore. E.g: >Running:(3.3.1.3):C:\Program Files\AutoIt3\beta\autoit3.exe "D:\Coding\AU3\Music\Visualizer_Analog Meter.au3" D:\Coding\AU3\Music\Bass.au3 (4015) : ==> Subscript used with non-Array variable.: Return SetError(0, "", $BASS_ret_[0]) Return SetError(0, "", $BASS_ret_^ ERROR ->13:11:46 AutoIT3.exe ended.rc:1 UEZ Edited October 17, 2009 by UEZ Please don't send me any personal message and ask for support! I will not reply! Selection of finest graphical examples at Codepen.io The own fart smells best! ✌Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!¯\_(ツ)_/¯ ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ
BrettF Posted October 18, 2009 Author Posted October 18, 2009 Interesting... Will test when I can be bothered, which means when I have time. Lot of stuff to do right now. Thanks! Brett Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version!
ProgAndy Posted October 18, 2009 Posted October 18, 2009 (edited) @UEZ: since this DLL is 32bit... Did you really use 32bit AutoIt or did you run the x64-version? Then it can't load the DLL and there are errors At least for me the GDI+-Visualization works, i only had to change _GDIPlus_BrushDefCreate to __GDIPlus_BrushDefCreate and the same for the DefDispose.Additionally i created a version of the BASS-library with a LoadDLL-Function (_BASS_Startup), optimized error checking, and fixed found some broken functions too (the BassConstants.au3 remains the same, so i did not attach it)//Edit: ah, i see. BrettF, you are using udword in some functions instead of UINT64. It seems that this type was removed from AutoIt, since it has no real use (dword is unsigned so "unsigned dword" is pointless) Ths is an error i already corrected in the attached file Bass.au3 Edited October 18, 2009 by ProgAndy *GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes
UEZ Posted October 18, 2009 Posted October 18, 2009 @UEZ: since this DLL is 32bit... Did you really use 32bit AutoIt or did you run the x64-version? Then it can't load the DLL and there are errors At least for me the GDI+-Visualization works, i only had to change _GDIPlus_BrushDefCreate to __GDIPlus_BrushDefCreate and the same for the DefDispose. Additionally i created a version of the BASS-library with a LoadDLL-Function (_BASS_Startup), optimized error checking, and fixed found some broken functions too (the BassConstants.au3 remains the same, so i did not attach it) //Edit: ah, i see. BrettF, you are using udword in some functions instead of UINT64. It seems that this type was removed from AutoIt, since it has no real use (dword is unsigned so "unsigned dword" is pointless) Ths is an error i already corrected in the attached file I tested it on Vista x32 (x64 not tested right now): Here again the complete output from SciTE: >"C:\Program Files\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe" /run /beta /ErrorStdOut /in "D:\Coding\AU3\Music\Visualizer_Analog Meter.au3" /autoit3dir "C:\Program Files\AutoIt3\beta" /UserParams +>15:14:24 Starting AutoIt3Wrapper v.2.0.0.1 Environment(Language:0407 Keyboard:00000407 OS:WIN_VISTA/Service Pack 2 CPU:X64 OS:X86) >Running AU3Check (1.54.17.0) from:C:\Program Files\AutoIt3\beta +>15:14:24 AU3Check ended.rc:0 >Running:(3.3.1.3):C:\Program Files\AutoIt3\beta\autoit3.exe "D:\Coding\AU3\Music\Visualizer_Analog Meter.au3" D:\Coding\AU3\Music\Bass.au3 (3936) : ==> Subscript used with non-Array variable.: Return SetError(0, "", $BASS_ret_[0]) Return SetError(0, "", $BASS_ret_^ ERROR ->15:14:28 AutoIT3.exe ended.rc:1 +>15:14:29 AutoIt3Wrapper Finished >Exit code: 1 Time: 5.960 In beta _GDIPlus_BrushSetSolidColor() is already added to GDI+ include. I commented out that function to run it via beta! I will check your modified Bass.au3 later more detailed. Currently I'm getting a lot of em with it! UEZ Please don't send me any personal message and ask for support! I will not reply! Selection of finest graphical examples at Codepen.io The own fart smells best! ✌Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!¯\_(ツ)_/¯ ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ
UEZ Posted October 19, 2009 Posted October 19, 2009 I modified the code from Visualizer_Analog Meter.au3 to run if with modified version of bass.au3 from ProgAndy and it is working properly with AutoIt v3.3.1.3 beta now! Thanks a lot ProgAndy! UEZ Please don't send me any personal message and ask for support! I will not reply! Selection of finest graphical examples at Codepen.io The own fart smells best! ✌Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!¯\_(ツ)_/¯ ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ
BrettF Posted October 20, 2009 Author Posted October 20, 2009 @UEZ: since this DLL is 32bit... Did you really use 32bit AutoIt or did you run the x64-version? Then it can't load the DLL and there are errors At least for me the GDI+-Visualization works, i only had to change _GDIPlus_BrushDefCreate to __GDIPlus_BrushDefCreate and the same for the DefDispose.Additionally i created a version of the BASS-library with a LoadDLL-Function (_BASS_Startup), optimized error checking, and fixed found some broken functions too (the BassConstants.au3 remains the same, so i did not attach it)//Edit: ah, i see. BrettF, you are using udword in some functions instead of UINT64. It seems that this type was removed from AutoIt, since it has no real use (dword is unsigned so "unsigned dword" is pointless) Ths is an error i already corrected in the attached file Thanks! Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version!
Jjo Posted December 19, 2009 Posted December 19, 2009 Doesn't work on AutoIt 3.3.2.0? Projects: -Handy Musicplayer
BrettF Posted December 19, 2009 Author Posted December 19, 2009 Doesn't work means nothing. What exactly isn't working? What OS (and include x64,x86?)? Then post your code. If its too long or if you can't post your code create something that replicates your problem, then post so I can test it. Cheers, Brett Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version!
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