Emanoel Posted February 14, 2021 Share Posted February 14, 2021 Hi guys, I hope you have a good day. _SoundOpen has a problem. I tried the _SoundOpen example script and changed the file path to open some .mp3 files. Works well on some .mp3 files but not all of them (even if the files are in the same path). When a file does not open successfully, MsgBox appears in the ElseIf section. I tried converting .mp3 files to VBR, CBR mp3 and .wav and updating sound card driver but the only solution was to convert .mp3 to .wav. Is there another way to open any .mp3 file? Note that I need the length and position of the sound and SoundPlay is not enough for me. Link to comment Share on other sites More sharing options...
Nine Posted February 14, 2021 Share Posted February 14, 2021 You want to look at this instead : Emanoel 1 “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Screen Scraping Multi-Threading Made Easy Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted February 14, 2021 Moderators Share Posted February 14, 2021 Emanoel, In the past we have found that failure to open an .mp3 file with _SoundOpen is usually due to a corrupt ID3 tag - it would be worth checking your files for this problem. M23 Emanoel 1 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...
pseakins Posted February 14, 2021 Share Posted February 14, 2021 The drill Sergeant asks the new recruit, "Soldier, why is it that everyone is out of step except you?" The point is, it's the file that is at fault, not your software. Phil Seakins Link to comment Share on other sites More sharing options...
Nine Posted February 15, 2021 Share Posted February 15, 2021 And the drill Sergeant got killed by a stray bullet... “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Screen Scraping Multi-Threading Made Easy Link to comment Share on other sites More sharing options...
JockoDundee Posted February 15, 2021 Share Posted February 15, 2021 3 hours ago, pseakins said: "Soldier, why is it that everyone is out of step except you?" I wish I had a DI that polite Code hard, but don’t hard code... Link to comment Share on other sites More sharing options...
Emanoel Posted February 15, 2021 Author Share Posted February 15, 2021 Thanks to @Nine for posting a useful topic, @Melba23 now I can play any .mp3 file with WMPlayer. 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