MPG123 Problem


Recommended Posts

Oh blast it! I am trying to convert some MP3 and MIDI files to WAV using this, but it won't let me, even when I typed in the instructions correctly (mpg123 -w (filename.mp3) --wav (filename.wav) ! Is there a better audio converter than this around or is there some configuration I have to do?

Link to comment
https://www.neowin.net/forum/topic/143092-mpg123-problem/
Share on other sites

Just found that out thirty minutes ago as I found a blurd on Google about this, but there is one question I have that remains. How do I convert MIDI files to WAV by using Timidity? There appears to be no visible way of doing this, yet it advertises it can do that? The documentation doesn't seem to be present.

Link to comment
https://www.neowin.net/forum/topic/143092-mpg123-problem/#findComment-1758979
Share on other sites

Not much use, so I just e-mailed the developer to see if he can spit it out in plain English instead of the useless documentation method which I read over at least twice in detail. Oh now what! Upgrading the ALSA packages in Slackware caused my soundcard to not function properly! I wonder if there is a way in which I can re-initialize this!

Link to comment
https://www.neowin.net/forum/topic/143092-mpg123-problem/#findComment-1759258
Share on other sites

  Danrarbc641 said:
-Ow1S outputs to 16 bit stereo wav, the sample rate is determined by the other settings you use.

timidity -h will help you out, it's all in there ;)

Static Void: Check your private messages.

Danrarbc641: And would I use timidity -Ow1s (filename.mid)? If so, then where would the output file be generated to?

Link to comment
https://www.neowin.net/forum/topic/143092-mpg123-problem/#findComment-1759362
Share on other sites

The file would be outputted to filename.wav. If you are burning it to a CD, which you probably are, then you must output it in 44100Hz like:

timidity input.mid -Ow1S -s 44100 -o output.wav

By the way, my /usr/share/timidity/timidity.cfg file looks like:

  Quote
#on my debian: /usr/local/share/timidity/timidity.cfg

dir /usr/share/timidity/eawpatches

source gravis.cfg

source gsdrums.cfg

source gssfx.cfg

source xgmap2.cfg

#dir /home/user/patches/

#mid -> wav: timidity input.mid -Ow1S -s 44100 -o output.wav

when the eaw patchset was added by Portage.

Link to comment
https://www.neowin.net/forum/topic/143092-mpg123-problem/#findComment-1759387
Share on other sites

  Mr. Static Void said:
The file would be outputted to filename.wav.  If you are burning it to a CD, which you probably are, then you must output it in 44100Hz like:

timidity input.mid -Ow1S -s 44100 -o output.wav

By the way, my /usr/share/timidity/timidity.cfg file looks like:

when the eaw patchset was added by Portage.

Tried that in command line and I get an error saying "cannot open display" or something like that. Good lord! I think KDE included the wrong kind of TiMidity if you ask me. Says version 0.2i might I add.

Link to comment
https://www.neowin.net/forum/topic/143092-mpg123-problem/#findComment-1762182
Share on other sites

The reason that you are getting that error is because it is trying to open up the GUI by defalut. Try using a command line switch like -iT to force it into the console. When you use the -Ow option, you won't here anything coming out of the speakers, just a wav will be created where you specified with the -o option. Below is a list of available interfaces. We've already determined that you don't have the ncurses one (imo the best one). Try different ones. If nothing else works, update Timidity. If you can't find it anywhere, I've already compiled a Pentium III binary for you. Just let me know and I'll tell you how to get it.

Available interfaces (-i option):

-in ncurses interface

-iT vt100 interface

-is slang interface

-im motif interface

-ie Emacs interface (invoked from `M-x timidity')

-ia XAW interface

-ii skin interface

-ig gtk+ interface

-id dumb interface

-ir remote interface

-iA ALSA sequencer interface

Link to comment
https://www.neowin.net/forum/topic/143092-mpg123-problem/#findComment-1762337
Share on other sites

All right. I reinstalled TiMidity++ with the following configure options:

--enable-audio=alsa,arts,vorbis

--enable-interface=vt100,ncurses,xaw,gtk

--enable-network

--enable-wrd

However, I still can't get the conversion to work since it did not generate a timidity.cfg file by default and when I copied the config and the eawpatch files to the proper directory, it still says the config is still screwed up. So it's still the same file as I sent ya on MSN a day ago. Would you happen to know how to modify the configure file so the damn thing works, please? After that, it should be a go!

Link to comment
https://www.neowin.net/forum/topic/143092-mpg123-problem/#findComment-1764674
Share on other sites

What do you mean "it still says config is still screwed up?" On my installation, I have in /usr/share/timidity:

  • The timidity.cfg file
  • Some file called timidity.el (I don't know what it does.)
  • A dir called eawpatches with the patches inside.

The timidity.cfg contains what I posted above and what you have in yours.

Since you installed it from source, though, all of the newly compiled timidity stuff is probably in /usr/local/share/timidity and that is confusing the program. Especially since you probably have the older version still installed. Try removing the old stuff. If that doesn't work, remove the new stuff and recompile the new stuff with the configure flag "--prefix=/usr" so that your old stuff would be rewritten.

Man this whole thing is turning out to be way more compilcated than it has to be. Something tells me that everything worked fine before you compiled the new version, it's just that you didn't know it was working. I really wish you could post *exact* console outputs to support your problems.

Link to comment
https://www.neowin.net/forum/topic/143092-mpg123-problem/#findComment-1764808
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • spwave 0.9.0-1 by Razvan Serea spwave is a cross-platform audio editor designed for research and advanced analysis. It supports a wide range of audio formats, including WAV, AIFF, MP3, Ogg Vorbis, FLAC, ALAC, raw PCM, and more via plug-ins. spwave offers precise editing tools such as zoom, crop, fade in/out, gain adjustment, and region extraction. It enables detailed spectral and phase analysis and supports unlimited undo/redo. Users can drag and drop files, edit metadata, save labeled regions, and view multiple synchronized waveforms. Internally, spwave processes audio in 64-bit precision, ensuring high accuracy. It runs on Windows, macOS, and Linux, making it a reliable and flexible tool for audio research and editing. spwave has following features: Support for multiple platforms: Windows, macOS, Linux (Motif, gtk), etc. Support for WAV, AIFF, MP3, Ogg Vorbis, FLAC, ALAC, raw, and text files by using plug-ins. Support for many bits/samples: 8bits, 16bits, 24bits, 32bits, 32bits float, 64bits double. Converting the sampling frequency and the bits/sample of a file. Playing, zooming, cropping, deleting, extracting, etc. of a selected region. Fade-in, fade-out, gain adjustment, channel swapping, etc of a selected region. Editing file information that supports comments of WAV and AIFF, and ID3 tag of MP3. Analysis of a selected region using several analysis types, e.g. spectrum, smoothed spectrum, phase, unwrapped phase and group delay. Undoing and redoing without limitation of the number of times. Waveform extraction by drag & drop. Opening files by drag & drop. Autosaving of selected regions (you can do this by drag & drop also). Saving positions and regions as labels. Viewing some waveforms and setting regions synchronously. Almost all processing is 64 bits processing internally. Supported Formats: Read/Write: WAV, AIFF, AIFC, CAF, MP3, Ogg Vorbis, FLAC, ALAC (.caf, .mp4), WMA (Windows), APE, AU/SND, PARIS, NIST, IRCAM, raw PCM, text. Read-only: MPEG-2 Layer 3 MP3, RMP files with VBR support. With 64-bit internal processing, autosave capabilities, and synchronized multi-view waveform editing, spwave is a solid tool for anyone handling complex audio editing or acoustic research. spwave 0.9.0-1 changelog: Implemented CQT spectrum and CQT spectrogram (beta version). Implemented piano-key display for spectrum/spectrogram view. Implemented indication of musical note name in cursor information for spectrum/spectrogram view. Fixed a bug that spectrogram view after zoom-in with large factor sometimes freezes. Fixed a bug that scroll and zoom-out in spectrogram view after zoom-in with large factor do not work correctly. Fixed a bug that spectrogram view provides sometimes wrong time information. Fixed a bug that plugin errors sometimes cause a crash. Fixed a bug that the color of grid lines is wrong in printing. Optimized layout of spectrogram view for printing. Enhanced the function of waveform cropping from label information. Fixed a bug that some items in the preference dialog related to labels do not work. Added some items related to the region label in the preference dialog. Fixed a bug that drawing selected region in the log-frequency axis does not work correctly. Added partial support for the dark mode of Windows (the menu bar and the menus). Fixed a bug that the cursor to indicate current calculation position of spectrogram is sometimes not shown. Changed drawing of cursor information into that with white background so as to make the information legible. Fixed a bug that moving to the head by scrolling the overview display sometimes fails. Added feature of alignment of the view region between spectrum view and spectrogram view. Download: spwave 64-bit | spwave 32-bit | ~3.0 MB (Freeware) Download: spwave ARM64 | 2.9 MB Links: spwave Home page | Other OSes | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Microsoft Weekly: redesigned Windows 11 Start menu, Xbox handheld is here, and more by Taras Buria This week's news recap is here. Fresh Windows 11 preview builds with the redesigned Start menu and Windows Vista flashbacks, the long-anticipated Xbox handheld, Patch Tuesday updates, gaming news, and more. Quick links: Windows 10 and 11 Windows Insider Program Updates are available Gaming news Great deals to check Windows 11 and Windows 10 Here, we talk about everything happening around Microsoft's latest operating system in the Stable channel and preview builds: new features, removed features, controversies, bugs, interesting findings, and more. And, of course, you may find a word or two about older versions. June 2025 Patch Tuesday updates are out. Windows 10 received KB5060533 with build numbers 19044.5965 and 19045.5965. Supported Windows 11 versions received KB5060842 and KB5060999 with build numbers 26100.4349, 22631.5472, and 22621.5472. Later, Microsoft released an out-of-band update to address problems with games with Easy Anti-Cheat, causing system restarts upon launch, and a couple of recovery updates. Microsoft launched Copilot Vision with Highlights for Windows. This feature enables AI to see what is happening on the screen and offer additional information, analysis, and context. Copilot Vision currently works with up to two apps, but its availability is limited to the United States (more countries are on the way, says Microsoft). Now, here is some useful stuff for Windows users: a neat third-party maintenance tool that can run various checks, troubleshooters, and repair utilities; a useful guide about personalizing OneDrive folders with a touch of color, and more. Windows Insider Program Here is what Microsoft released for Windows Insiders this week: Builds Canary Channel Dev Channel Build 26200.5641 This build introduces the recently announced Start menu redesign. It also packs Lock Screen widget improvements, Narrator enhancements, updates to the gamepad keyboard, and a lot of various fixes. Build 26200.5651 Another Dev build introduced a Settings app agent, Recall improvements, seconds for the calendar clock, context menu enhancements, and more. Beta Channel Build 26120.4250 The Beta build has the same changelog as the one from the Dev Channel. Build 26120.4441 The same build as 26200.5651 from the Dev Channel. Release Preview Channel Build 22631.5545 With build 22631.5545 for Widnows 11, Microsoft improved default browser settings and the Windows Share UI and fixed several bugs. Build 19045.6029 This build introduces improvements to app defaults and multiple fixes for Windows 10. The redesigned Start menu is the most exciting part of the new builds, but as usual, it is rolling out gradually. You can mitigate that by force-enabling the new Start menu using the ViVeTool app as described in our guide. Interestingly, the latest builds introduced a funny bug where Windows 11 plays the Windows Vista startup sound on boot. Microsoft acknowledged the issue and said it is working on a fix in future updates. Meanwhile, if you use the latest Dev and Beta builds, you will get to enjoy 2006 nostalgia each time you turn on your PC. Updates are available This section covers software, firmware, and other notable updates (released and coming soon) delivering new features, security fixes, improvements, patches, and more from Microsoft and third parties. This week's browser updates include a fresh Dev Channel update for Microsoft Edge and secure password deployment in Edge for organizations. The latter arrived in the Stable Channel on June 13 with version 137.0.3296.83. There was also a minor update for Firefox. The latter received version 139.0.4, which addressed several issues with the browser freezing when switching apps, failing to save wallpapers with proper names, and more. In addition to the update, Mozilla announced that Deepfake Detector is shutting down. The service will go dark on June 26, 2025. Moving to Office updates, we have some changes to the new Outlook, which will block more files and allow you to perform more tasks when offline. OneDrive for Mac now supports external disks, Clipchamp lets you trim videos by cutting out parts of the transcript, and OneNote now supports Copilot Notebooks. Microsoft also announced an update on the removal of Exchange Online Basic Authentication in Office 365. Here are other updates and releases you may find interesting: Rufus received an update to version 4.8 with performance improvements for Windows images. Microsoft is committing to upskilling 1 million UK workers in AI this year. Here are the latest drivers and firmware updates released this week: Intel 32.0.101.6881 WHQL graphics driver with a single fix for Overwatch 2. AMD 25.6.2 non-WHQL with support for FBC: Firebreak, The Alters, and more. On the gaming side Learn about upcoming game releases, Xbox rumors, new hardware, software updates, freebies, deals, discounts, and more. A lot happened on the gaming side this week. At the Sunday Game Showcase, Microsoft and ASUS announced two Xbox handhelds: the ROG Xbox Ally and the ROG Xbox Ally X. These portable consoles are a big deal for the world of handheld devices, as they run a special version of Windows, which was optimized for portable gaming consoles with fewer processes running in the background. As such, they offer much better battery life and performance. You can read more about how Microsoft optimized Windows 11 for handhelds in a separate article. Next, we have plenty of new games and DLCs announced at the showcase; here is a recap: Indiana Jones and the Great Circle received a new DLC called The Order of Giants. It will be available on all supported platforms this September. Call of Duty: Black Ops 7 made a surprise appearance at the showcase. Activision released a teaser trailer where the game takes players to a futuristic experience set in 2035. Grounded 2 was announced. The sequel of the game for people with arachnophobia is coming next month, offering gamers a new miniaturized survival adventure. Obsidian Entertainment revealed the release date of The Outer Worlds 2 and details about companions. At Fate's End by Spiritfarer was announced, a new action game about fighting family. It is coming to consoles and PC somewhere in 2026. Skybound Games revealed Invincible VS, a brutal 3v3 tag fighting game by former Killer Instinct developers. Anno 117: Pax Romana received a November release date. Ubisoft also unveiled a special Governor's Edition. Nvidia announced new games for its cloud-streaming gaming service, GeForce NOW. If you own one of the following games, you can play them on Nvidia's cloud. The new additions include Frosthaven Demo, Dune: Awakening, MindsEye, The Alters, Kingdom Two Crowns, and more. Mojang finally has a release date for Vibrant Visuals and Chase the Skies updates. On June 17, Minecraft will get its long-anticipated visual overhaul, new features, fresh mobs, and more. Deals and freebies Steam is running a new Next Fest, during which gamers can try hundreds of games for free. The event ends on June 16, 2025. The Epic Games Store is giving away Two Point Hospital, a humorous hospital builder simulator. As usual, more deals are available in this week's Weekend PC Games Deals article. Other gaming news includes the following: GOG store introduced the One-Click Mods feature with support for Fallout: London and others. Valve announced new accessibility details for game listings on Steam. Steam finally has a native client for Apple Silicon. To finish this week's gaming section, here is an editorial from Paul Hill exploring the new $80 cost frontier in modern gaming. Great deals to check Every week, we cover many deals on different hardware and software. The following discounts are still available, so check them out. You might find something you want or need. JBL Bar 1000 and 700 sound bars Ring Floodlight Cameras Geekom Mini IT12 mini PC - $499 | $200 off Amazon Kindle Scribe (16GB) - $299.99 | 25% off LG gram Pro 16" Copilot+ PCs - $1,499.99 | 25% off GameSir Super Nova Wireless Controller for PC and mobile - $44.99 | 25% off Intel Core Ultra 7 Desktop Processor 265K 5.5 GHz - $259.99 | $144 off 12TB Seagate IronWolf Pro HDD - $218.49 | 13% off Polk Audio React 7" Wireless Subwoofer - $99.99 | 50% off StreamMaster Plus2 4K Gaming Projector - $1,699 | 15% off AMD Ryzen 5 9600X - $179.99 | 35% off Sony BRAVIA 5 65 Inch TV Mini LED - $1,298 | 13% off This link will take you to other issues of the Microsoft Weekly series. You can also support Neowin by registering a free member account or subscribing for extra member benefits, along with an ad-free tier option. Microsoft Weekly image background by
    • Yea but you cant forget about Windows 7 featuring most of this design too... it was also there in Win7!
    • I don't blame them, just have a load of people stand in front of the cars, they will not or should not move, that will stuff them.
    • Yeah, that would work. I have no problem with the way macOS looks like now, I don't see the point of them changing the look all the time, and that is the same with windows. I realise look have to change sometimes, but macOS is fine as it is, look wise.
  • Recent Achievements

    • Apprentice
      Wireless wookie went up a rank
      Apprentice
    • Week One Done
      bukro earned a badge
      Week One Done
    • One Year In
      Wulle earned a badge
      One Year In
    • One Month Later
      Wulle earned a badge
      One Month Later
    • One Month Later
      Simmo3D earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      593
    2. 2
      ATLien_0
      277
    3. 3
      +FloatingFatMan
      181
    4. 4
      Michael Scrip
      148
    5. 5
      Steven P.
      111
  • Tell a friend

    Love Neowin? Tell a friend!