Blessedone Posted January 28, 2010 Share Posted January 28, 2010 heya i have a program that uses BASS.au3 and BASS_SFX.au3 to create visualizations that correspond with the music you play through it ... this is the order i call everything in ... $Startup_BASS = _BASS_Startup(@SCRIPTDIR & "\RESOURCES\DLL\Bass.dll") $init_BASS = _BASS_INIT($BASS_DEVICE_3D) $start_up_ = _BASS_SFX_Startup(@SCRIPTDIR & "\RESOURCES\DLL\Bass_SFX.dll") _BASS_Init($BASS_DEVICE_CPSPEAKERS) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; $MusicHandle = _BASS_StreamCreateFile(False, $file, 0, 0, 0);;;;; BASS MUSIC STREAM;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; $PICUTRE_VIZ = GUICTRLCREATEPIC(@SCRIPTDIR & "\RESOURCES\ICONS\music_icon.jpg", 8, 136, 785, 406) GUICTRLSETSTATE($PICUTRE_VIZ, 16) ;16;show;32;hide $VISUAL_WIN_HANDLE = GUICTRLGETHANDLE($PICUTRE_VIZ) _BASS_SFX_Init(@SCRIPTDIR & "\RESOURCES\DLL\Bass_SFX.dll", $PICUTRE_VIZ, $MAINGUI) $VIS_CURRENT = "Aorta.svp" $VISUAL_HANDLE = _BASS_SFX_PluginCreate(@ScriptDir & "\RESOURCES\VISUALIZATIONS\" & $VIS_CURRENT, $VISUAL_WIN_HANDLE, 785, 406, 0) _BASS_ChannelPlay($MusicHandle, 1) _BASS_SFX_PLUGINSTART($VISUAL_HANDLE) _BASS_SFX_PLUGINRENDER($VISUAL_HANDLE, $MusicHandle, _WINAPI_GETWINDOWDC($VISUAL_WIN_HANDLE)) so basically instead of playing the music through Bass i want to "peek" into a io stream of a currently playing file ... so insteead of this : $MusicHandle = _BASS_StreamCreateFile(False, $file, 0, 0, 0);;;;; BASS MUSIC STREAM;; i want $MusicHandle = $HOW_to_intercept_currently_playing_music_stream .... i know i didn't explain that very well ... but thanx anyways for your time ...and i'd be glad to give you more information and explain a bit better ...and i searched high and low for this ... but if you know somewhere i can find the answer please do let me know what to search for... i just haven't tried to read io streams before ... so im kinda lost on that one lol im not the person who usually asks for help ... im usually the one helping so who knows help me and maybe i can help you Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted January 28, 2010 Moderators Share Posted January 28, 2010 Blessedone, Take a look at this thread. It might help. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted January 28, 2010 Share Posted January 28, 2010 Are you stupid? NO DOUBLEPOSTING!! .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...
Moderators Melba23 Posted January 28, 2010 Moderators Share Posted January 28, 2010 AdmiralAlkex, I checked before I answered - of the 2 topics that were running, one was locked and the content of the other deleted. So I charitably decided this was a fresh start. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted January 28, 2010 Share Posted January 28, 2010 AdmiralAlkex,I checked before I answered - of the 2 topics that were running, one was locked and the content of the other deleted. So I charitably decided this was a fresh start. M23This one has identical text to the two other ones. If you look at the time of edit on the first one you will se that he deleted the text from there ONLY to open a new thread.I reported him hours ago, but obviously the mods don't care about some stupid spammer, so therefore, we (the users) need to be hard on him.@BlessedoneI hate to say this again, but please stop the spamming. You are not funny, and I'm not gonna stop saying this until you start to act like a human, not a brain-dead spammer.Hey you already have a topic on that, stop the spamming, PLEASE. Double-posting is never accepted, what you should have done is bumped the older topic, but ONLY if 24 or more hours have gone.You have been reported.As mentioned, don't double post. Thread locked. .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...
Valik Posted January 28, 2010 Share Posted January 28, 2010 If you try to ask this question again on this forum you will be permanently removed from the forum. You've now triple posted it and that is plain unacceptable. You're also banned for 54 hours. Link to comment Share on other sites More sharing options...
Recommended Posts