Slashdot Mirror


State of Sound Development On Linux Not So Sorry After All

An anonymous reader writes "There have been past claims by Adobe and others that development on Linux is a jungle, particularly with regards to audio. However today, the author of the popular 'The Sorry State of Sound in Linux' has posted a follow up showing Adobe's claims to be FUD, as well as being a good update on where OSS and ALSA are holding today, and why PulseAudio isn't a good idea."

427 comments

  1. Main blocker by sgbett · · Score: 0, Troll

    modprobe

    --
    Invaders must die
    1. Re:Main blocker by dotgain · · Score: 3, Interesting

      I don't have any problems getting the modules to load, it's the quality of the output that's lacking for me (NForce4 chipset). Popping (DC bias) as you slide the volume fader up and down, as well as throughout playback is unbearable. Not to mention the state of media players on Linux...

    2. Re:Main blocker by WaroDaBeast · · Score: 3, Interesting

      Not to mention the state of media players on Linux...

      Going a little bit off-topic first: a cousin of mine had Ubuntu on his laptop (featuring a Geforce 9300M G) and couldn't get rid of image tearing in VLC. Who would be the culprit in this case? The video drivers or the media player? I have kept wondering since then and my enquiring mind would like to know.

      At any rate, could you please elaborate? What makes media players bad under Linux?

      --
      "The body may heal, but the mind is not always so resilient." -- Deus Ex: Human Revolution
    3. Re:Main blocker by sgbett · · Score: 3, Insightful

      Troll. I lolled.

      About a gazillion years of linux use lie behind that comment. I love linux to death, its the greatest thing to have happened to 'PC' since .... ever.

      The irony lies in the fact that modprobe - in fact the whole, loading unloading kernal modules on the fly - is nothing short of amazing.

      I can't think of anything more impressive (in context) than being able to dynamically modify the core OS behaviour through a simple set of command line tools.

      The only problem that remains is that 'everyone else' doesn't ever want to even know that stuff is possible.

      --
      Invaders must die
    4. Re:Main blocker by thousandinone · · Score: 4, Insightful

      Troll?!? What the FUCK slashdot? This is a legitimate complaint and question, not a troll. Off-topic may have been a valid mod, but troll? Seriously, fanboys, take Linus' cock out of your mouth for a few seconds and get a breath of fresh air. You guys are just as bad as the worst apple and microsoft fanboys.

    5. Re:Main blocker by Profane+MuthaFucka · · Score: 3, Insightful

      Whoever modded you a troll is a moron.

      The problem is most likely the video drivers. Download updates from NVidia's website. The free drivers for NVidia cards will get your display working, but it won't be fast.

      --
      Fascism trolls keeping me up every night. When I starts a preachin', he HITS ME WITH HIS REICH!
    6. Re:Main blocker by pablomme · · Score: 2, Informative

      My guess is compiz. Install compizconfig-settings-manager, open it, go to "General" and tick "Sync to VBlank" in the "Display Settings" tab. The newer UXA-mode Intel driver may have problems with this, but for other cards this should make everything look better.

      Bottomline for the topic under discussion: you never know.

      --
      The state you are in while your HEAD is detached... - wait, what?
    7. Re:Main blocker by afabbro · · Score: 1

      The irony lies in the fact that modprobe - in fact the whole, loading unloading kernal modules on the fly - is nothing short of amazing.

      I can't think of anything more impressive (in context) than being able to dynamically modify the core OS behaviour through a simple set of command line tools.

      It's a neat feature. But hardly novel or really that amazing. Other Unices offered this, and I'd be surprised if mainframe systems going back 30 years didn't. Heck, SunOS (the predecessor to Solaris) offered this, and it was end-of-life'd before Linux 0.1 was a gleam in any Finn's eye.

      And really, it's not like you can swap out ANY component of the kernel - I think 90%+ of kernel modules are device drivers.

      Not to say it isn't a cool feature, but you really don't need to have an orgasm about it.

      --
      Advice: on VPS providers
    8. Re:Main blocker by abigor · · Score: 4, Insightful

      All modern operating systems offer this functionality, most from the command line (ie on OS X it's kextload/kextunload). It's not some amazing Linux thing.

    9. Re:Main blocker by jeaton · · Score: 4, Informative

      It's a neat feature. But hardly novel or really that amazing. Other Unices offered this, and I'd be surprised if mainframe systems going back 30 years didn't. Heck, SunOS (the predecessor to Solaris) offered this, and it was end-of-life'd before Linux 0.1 was a gleam in any Finn's eye.

      Linux 0.01 was released in September 1991. Linux 0.11 was released in December 1991.

      The last release of SunOS (4.1.4) was in November 1994. It was supported by Sun until September 2003. Never underestimate the demand for long term commercial Unix support.

    10. Re:Main blocker by chis101 · · Score: 1

      Is he running compiz? I could only get tearing to go away on mine if I turned off ALL transparency. See if it works with Compiz disabled. If so, then you need to disable all transparencies in Compiz.

    11. Re:Main blocker by node+3 · · Score: 5, Funny

      Sheesh, the guy has *one* thing in his life that gives him joy, and you guys have to go and spoil it. Perhaps you could show a bit more courtesy if he ever brings up mounting/unmounting filesystems on the fly...

    12. Re:Main blocker by PopeRatzo · · Score: 1

      I love linux to death, its the greatest thing to have happened to 'PC' since

      Try using a Linux machine as a digital audio workstation. I dare you.

      I love Linux, too, and every time a new version of Ubuntu Studio comes out, I try to see if there's been any movement on the audio front. I don't know enough about driver design to understand why not, or even to say "Gee, I thought audio on PC hardware has been figured out." Still, I always end up disappointed but hopeful.

      Considering the amount of crossover between the Linux geek community and the DIY music production community, one would think there'd have been a better solution than jack for getting audio apps talking to audio hardware.

      I keep pressing the DAW application developers for Linux version of their programs whenever I run into them, which is several times a year. There are promises and encouragement exchanged but not much more. The low overhead and flexibility of Linux seems perfect for DAW application, so I wonder why it's not happening. The situation is similar with digital video production on Linux.

      Forget about "linux on the desktop". Give me linux in the studio.

      --
      You are welcome on my lawn.
    13. Re:Main blocker by Anonymous Coward · · Score: 0

      it's hardly rocket science. Linkers and loaders have been around forever. There's nothing mystical about loading/unloading some device driver on the fly.

    14. Re:Main blocker by Anonymous Coward · · Score: 0

      Been using a Linux DAW for about 5 years now and pretty darn fantastic at that. The amazing work of Fernando Lopez-Lezcano at Stanford's Planet CCRMA should pretty much blow the bejeezus out of anyone's mind. The work incorporating Ingo Molinar's patches (now mainstream, I believe) is truly remarkable. If you go latest greatest cutting edge, you will have issues, you just will. If you stay one release behind or two for a phenomenally stable production DAW, you will be pleasantly pleased. Also try Dyne:bolic and Studio64 , Dyne:bolic loads a low latency kernel on a live cd. For Dyne:bolic it's totally logical to have a hard drive for mounting, and also tons of ram as the live cd needs + the needs of the apps - I am not recommending Dyne:bolic for production but pretty spiffy on the fly. Just my 2 cents , (and no, I didn't fix that for ya.) http://ccrma.stanford.edu/planetccrma/software/

    15. Re:Main blocker by Clarious · · Score: 1

      [OT]Nvidia Geforce 9300M?

      For an acceptable video experience on Linux with nvidia card, you have no way but to use their closed driver. To fix the tearing, tick "Sync to VBlank" in X Server Video Setting, this should work. [/OT]

      About Linux media player, IMO, they are very good, mplayer will play *anything* I have (more than 100 codecs), though the GUI may need some fixing, but I am using mplayer CLI version anyway.

    16. Re:Main blocker by AnyoneEB · · Score: 2, Informative

      I use the Nvidia drivers and also have tearing issues with any full screen video. I use Xfce with the Xfwm window manager. The tearing goes away if I both disable compositing (the Gnome equivalent would be to not use Compiz, I believe) and set vsync to the monitor the video is on in nvidia-settings under "X Server XVideo Settings". (I have two monitors with slightly different vsyncs -- I have yet to find a way to play full screen video on both monitors with no tearing on either but I have also yet to figure why I would want to do so other than testing my video card. ;-)

      My current usage pattern involves disabling compositing (it's just a checkbox in the window manager settings for Xfwm) whenever I am watching a video with enough action for the tearing to bother me and reenabling it when I am done (as the window manager performance is significantly better with compositing enabled), which is annoying but works. Hopefully at some point to issue will be fixed -- or maybe there is already a way to get video without tearing while compositing is enabled that I am not aware of?

      --
      Centralization breaks the internet.
    17. Re:Main blocker by farfield · · Score: 3, Informative

      Works as a DAW for me. Realtime kernel, Freebob, Jack, Qjackctl, Ardour. I wouldn't describe my audio work as taxing but it's certainly a capable setup. The only caveat is you probably need to understand more about how it's all plumbed together than on OS-X.

    18. Re:Main blocker by Anonymous Coward · · Score: 0

      ok, then why do the free open source drivers for ATI cards have so much tearing?

    19. Re:Main blocker by oakgrove · · Score: 2, Interesting

      I'm having difficulty understanding where you're coming from regarding the media players in Linux. For audio, Amarok 1.4 is nothing short of amazing. Even the venerable Winamp and Foobar can't touch it for flexibility and keyboard friendliness. As for video players, mplayer is one of the programs I fire up to show Linux off to Windows using naysayers. It loads anything you throw at it and it's blazing fast at seeking, start-up, you name it. And if you just have to have a GUI, VLC is untouchable. Hell, Miro will play your local videos too and it has tons of features. I know that all of the video programs I mentioned run under Windows too but, to imply that media players on Linux suck is disingenuous at best.

      --
      The soylentnews experiment has been a dismal failure.
    20. Re:Main blocker by slyn · · Score: 3, Interesting

      Pretty sure VLC doesn't do hardware acceleration on any platform period. Nvidia supports VDPAU in linux which allows you to play HD flawlessly with practically any card as long as the video player supports it (and a number do, mplayer and XBMC are two that come to mind off the top of my head).

      See: http://www.phoronix.com/scan.php?page=article&item=nvidia_vdpau_gpu&num=1

    21. Re:Main blocker by BitZtream · · Score: 1

      Whats worse is that there were OSes doing it before Linux existed.

      Hell I've seen dynamicly loaded kernel modules implemented on 8 bit microcontrollers in one form or another.

      That doesn't actually make its multimedia support better, the fact that someone said 'modprobe' instead of 'use the XXX API which is standard to all Linux kernels', then it might have helped the multimedia experience.

      I'm not a Linux user but ... is there one common API that all distros support, or at least all the standard 'desktop' distros that don't suck ass?

      I know what API I can use on every version of OS X and Windows. They've seen some changes but for the most part, old apps still work fine with upgrades. Same for Windows. Whats Linux got? I have a ubuntu box, it uses PulseAudio I think as a sound daemon I think? (Pardon me if I'm confused, I really don't have a clue about Linux desktop type stuff so educate me :). I know ESD exists as another method as I've used it in FreeBSD (which has the same problem, but I don't think anyone ever claimed it was a desktop OS outside of Apples usages of bits of it).

      So what are the functions I use to play sound in Linux, on any distro? Let me guess, Gnome has its own, KDE has its own, and there are several others that can be used as well, and each app has to have support for every possible combination in order to ensure its going to work across the board?

      --
      Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
    22. Re:Main blocker by nnet · · Score: 1

      When ardour gets it own midi sequencer, and more editing features, it'll be on par with cubase/etc. I try hard to use linux, but I get frustrated by the lack of features in ardour and end up having to move back to cubase. I'm sure ardour will improve, and when it gets to the point where its featureset meets my needs, I'll be more than happy to use it.

    23. Re:Main blocker by HermMunster · · Score: 1

      The nforce4 chipset provides which version of nvidia's GPU? That's using onboard memory? How did you verify that the module was loaded properly? That is the module that provides accelerated graphics rather than the generic graphics capabilities? Did you run nvidia-settings and verify that an nvidia GPU is present? Is it some other aspect of the nforce4 chipset that you dislike or believe is accounting for the lack of video playback quality?

      Which media player are you talking about? Which media players have you tried? You looked at VLC for linux? You taken a look at XBMC, at Boxee, at any of the 20 or so media players available?

      Media playback in Linux is top notch. In the past 2 years multimedia playback, including DVD, has not been an issue. If you are complaining about it then you are experiencing an exception. Your one experience doesn't justify saying that the state of media players on linux...

      --
      You can lead a man with reason but you can't make him think.
    24. Re:Main blocker by Dustie · · Score: 1

      Somehow I don't think you have any idea about the topic you're writing about but bear with me if you do and you just have become lost somehow(??) Linux-only media players is superior in every way I can think of compared to Windows-only media players. Some of the best players for Windows started out being Linux-only. I just recently dropped Windows on our PC's, after a bit of Vista time, and my biggest problem with media players in Linux is that there's so damn many to chose from that are better than what I have used in years and years of agonizing bloated Windows software. Sure there's crap players in Linux too. It's just that you have to work hard to evade crappy software in Windows while in Linux you don't . And there isn't even a "Linux media player 18½ advanced version" forced on you at install that suck about as much as fanbois do. And popping sound? Don't even get me started about how much popping I have had in Windows. Creative Soundblaster surround cards in Windows anyone??

    25. Re:Main blocker by Anonymous Coward · · Score: 0

      Going a little bit off-topic first: a cousin of mine had Ubuntu on his laptop (featuring a Geforce 9300M G) and couldn't get rid of image tearing in VLC. Who would be the culprit in this case? The video drivers or the media player? I have kept wondering since then and my enquiring mind would like to know.

      Compiz

    26. Re:Main blocker by Seriousity · · Score: 1

      I had this too for several weeks, it was driving me mad. If I remember correctly, the fix was to change VLC's video output module to X11. Give it a go, hope it goes well.

      --
      This post was made in complete sincere seriousity; as such any attempts to derive humour are doomed to instant failure.
    27. Re:Main blocker by dotgain · · Score: 2, Informative
      Funny, that's exactly the media player I'm referring to, Amarok 1.4, and every version before it. I only mention every version before it, because I believe completely losing the contents of my database with most upgrades to be a significant event. Then there's the non-log volume control it uses, where all the control is in the bottom 10% of the travel, with the remaining 90% being pracically unnoticable. Or the horrible redrawing while you resize columns. Or the Adobe-Photoshop-rivalling startup time? Or that the devs just-had-to use QT/KDE for it, nice one there guys.

      While Amarok is indeed the best Linux media player available, it's still terrible, sorry.

    28. Re:Main blocker by dotgain · · Score: 1

      Reading comprehension. Get some.

    29. Re:Main blocker by dotgain · · Score: 0, Flamebait
      Seriously, grow up, and in five years come back and read the comment you just wrote. You'll understand why you failed time and time again to switch people over to Linux with your condescending bare-assertion-filled rants. Care to tell me what exactly gives you the impression I don't "have any idea about the topic"?

      It must bug you no end that such superior software goes so largely unused in the shadow of all the "agonizing bloated Windows software".

    30. Re:Main blocker by Anonymous Coward · · Score: 0

      Is he using Compiz? I had that same problem for a while. I thought I had set everything there was to try to stop the image tearing. I had set something like "Sync to vblank" everywhere I could think of to look. Then I realized that I hadn't set it in Compiz, which I was running . (CompizConfigSettingsManager --> General Options --> Display Settings --> Sync to VBlank). After I checked that, the image tearing went away for me under vlc, mplayer, and every where else.

      (I'm using an Nvidia Quadro 120M with the proprietary driver)

    31. Re:Main blocker by dotgain · · Score: 1, Interesting

      At any rate, could you please elaborate? What makes media players bad under Linux?

      Since you're the only one who asked politely, I'll share with you. Nothing necessarily makes media players bad under Linux, but similarly, nothing guarantees one will be good either. The reason I don't believe any Linux media players are good is simply that nobody has written one yet. While Amarok looks promising, that's all it looks, but next to a commercial offering like iTunes it's nothing. It's not that I particularly like iTunes, it's just that:

      short version: bugs bugs bugs bugs bugs

      • The iTunes volume control is logarithmic, like it should be. Amarok's volume control is useless. I even looked at the Amarok source, and it looks like someone's tried to implement this, but they've certainly failed since about 60dB of control packed into the bottom 10%, and 6dB in the remaining 90%.
      • Gapless playback just happens in iTunes. I doesn't always in Amarok.
      • You ever resized columns in the Amarok playlist?
      • Ohh, the Amarok Playlist. Oh. My. God.
      • The Amarok GUI was clearly designed by an amateur. The iTunes GUI was clearly designed by someone who'd, uhm, designed an interface before.
      • Often when upgrading Amarok my database was completely gone or corrupt afterward. It's only media scores, so I didn't do the full post-mortem, point being I'm too damn busy. There may well have been some reason this happened or something I could have done to avoid this, and if so it still fails because people will not read release notes / upgrade instructions for a media player.
      • Amarok Visualisations. What an ugly waste of space. Remove them, and there'd be one less criticism. Because that's all they are.
      • Amarok's handing of errors in the sound layer beneath. And that is, "die now without saving the playlist". Or alternatively, handle the error gracefully, but retry for every single item in the playlist, in turn failing immediately and biasing all the scores downwards. Peg the CPU and ignore GUI events while every single playlist item is unsuccessfully attempted. Niiiice.
      • Nasty bugs in the past have required frequent rescanning/rebuilding.
      • Amarok Based on QT/KDE. Either you'll hear me on this one or you won't, but KDE has got to go.

      All this ignoring the unacceptable quality of some sound drivers, the nForce4 AC97 being my current example, but most cards that I've used in the last ten years suffering OSS->esd->aRTS->ALSA and back again have exhibited artifacts, often DC bias in the output. I guess it's probably because a lot have been incompletely reverse engineered.

      Believe me, I've never been a fan of iTunes either, but on the other hand it's given me no reason to hate it either. It does what's promised nice and smoothly, and stays out of my way. Ultimately, here's a hypotheical example of a key difference I believe to be between a commercial closed source player like iTunes and an OSS one like Amarok.

      • iTunes release version bump. Upgrade breaks database of 75% of users. iTunes project database dev gets fired, or never makes the mistake in the first place realising this and taking more care.
      • Amarok releases version bump. Upgrade breaks database of 75% of users. Devs cackle and laugh at idiots that not only didn't back up their database prior to the upgrade, but didn't even read the source to check it the changes would break. Elitist circle-jerks ensue on forums. Naysayers dissmissed as ignorant.

      I accept that if you run Linux, Amarok is as good as you're going to get. Until a month ago, it was the best *I* had for about three years. (Before that was XMMS, but it became stable so Gentoo removed it). I hated every minute of it, and now that I've got the choice I'll never use it again.

    32. Re:Main blocker by peppepz · · Score: 2, Informative

      The free open source drivers for ATI card have been supporting tear free video for a long time now.

    33. Re:Main blocker by hairyfeet · · Score: 1

      Have you tried Songbird? I'll be the first to admit i'm a Windows guy(quite happily on XP x64, thanks much) but if Firefox works good for you in Linux, I don't see why Songbird wouldn't too, as it is based on the Gecko engine.

      I have been passing it to customers as well as using it myself and it is actually a pretty nice player. it has plenty of customizations and more importantly to me, none of those customization are by default which means I can have MY media player MY way. So give it a try, and maybe one of the Linux guys can chime in and tell us how it handles in Linux?

      --
      ACs don't waste your time replying, your posts are never seen by me.
    34. Re:Main blocker by moosesocks · · Score: 1

      If I could hug you right now, I would.

      --
      -- If you try to fail and succeed, which have you done? - Uli's moose
    35. Re:Main blocker by peppepz · · Score: 1

      ALSA. It will work on any Linux version, on any distro since 2003. It can easily be made to work on earlier systems.
      About Gnome/KDE: if you write a KDE- (Qt-) based application, you get an abstraction layer that won’t even let you see what sound system is used beneath. I have no experience with Gnome, but I guess the situation is the same.
      If you want to write a DE-independent app, then all you have to support is ALSA.
      And by the way, you never have to “modprobe” to get your sound card working. In fact, since the uevent subsystem was introduced in Linux, you never have to “modprobe” to get any hardware working. Every driver gets “modprobed” automagically when you plug the respective hardware in.

    36. Re:Main blocker by Sir_Lewk · · Score: 2, Informative

      How the FUCK is this +5 Interesting?!? It's COMPLETELY offtopic, AS HE ADMITS.

      And to answer the parent's question, it's probably the video driver, try out mplayer with opengl output.

      --
      "linux is just DOS with a UNIX like syntax" -- Galactic Dominator (944134)
    37. Re:Main blocker by fluffy99 · · Score: 0, Flamebait

      Maybe this article should have also said "Sorry state of video in linux". Just looking at the posts on video highlights how erratic good video support is in Linux. Linux seems to have difficulty playing DVDs with good quality, much less running an intense 3D game like Half-Life. Face it - Windows totally kicks Linux's ass with respect to video and sound support.

    38. Re:Main blocker by Anonymous Coward · · Score: 0

      Try setting the display driver (or maybe VLC, I don't know) to turn on Sync to VBlank. It should make it so that it doesn't redraw the screen in the midst of it being drawn.

    39. Re:Main blocker by ADRA · · Score: 1

      Just a side note, I had a really bad audidgy driver on Linux, and it was Sooo bad that IT caused the video tearing. Switching to my onboard audio card made all sync issues vanish... try playing it without sound to see if it makes a difference.

      --
      Bye!
    40. Re:Main blocker by ADRA · · Score: 2, Insightful

      A single bad moderation doesn't make a bad community. Hell, they're modded 4 at the moment. Let the system do its job.

      --
      Bye!
    41. Re:Main blocker by Knuckles · · Score: 0

      Except that Ubuntu uses the proprietary drivers by default, anyway.

      --
      "When I first heard Daydream Nation it quite frankly scared the living shit out of me." -- Matthew Stearns
    42. Re:Main blocker by sc0ob5 · · Score: 1

      It looks promising but having just had to use it to try and resolve a problem with a friends ipod and had problems with crashing and really slow performance on a c2d 2.4ghz and 2gigs of ram.. I prefer to use Rhythmbox, I like the retro look..

    43. Re:Main blocker by Anonymous Coward · · Score: 0

      > All modern operating systems offer this functionality, most from the command line (ie on OS X it's kextload/kextunload). It's not some amazing Linux thing.

      What's the command to do it on Windows?

    44. Re:Main blocker by cbreak · · Score: 1

      I use mplayer even on Mac OS X. It's a great player, low on resources and with a great support for all common and most exotic formats. With MPlayer OS X Extended, there's even a nice user interface wrapper for it.

    45. Re:Main blocker by Anonymous Coward · · Score: 0

      You made the mistake of mentioning poor video playback in the same breath as Ubuntu. The Ubuntu fanboys would have started to detect the scent from your post the second you clicked 'Submit'.

    46. Re:Main blocker by Tillmann · · Score: 1

      Hi,

      the problem is related compiz, in combination with nvidia drivers. Uninstalling compiz and (for example) metacity instead will solve the problem.

      I'm pretty annoyed myself that the problem apparently STILL hasn't been solved after so many months. compiz sure isn't necessary, but it's nice to have.

      All the best,
      Till

    47. Re:Main blocker by cbhacking · · Score: 2, Informative

      So maybe this isn't a good time to mention that you can upgrade video drivers in Vista (and above), or recover from a video display crash, without even closing and reopening your windows, never mind the applications behind them?

      That said, I don't know how to force WIndows to load or unload a kernel module (.sys file, typically) via command line. It's probably possible, but Linux certainly does make it easy.

      --
      There's no place I could be, since I've found Serenity...
    48. Re:Main blocker by cbhacking · · Score: 1

      In all fairness, a lot of BSD documentation with regard to drivers still ends with something like "... then recompile your kernel and reboot."

      Also, XP (despite being 8 years old, it's still what a lot of people think when you say "Windows") will need to reboot after many driver changes. Vista and above are much better behaved in this regard, allowing installation/update/removal of most audio, video, input, and peripheral drivers without rebooting.

      --
      There's no place I could be, since I've found Serenity...
    49. Re:Main blocker by MrKaos · · Score: 2, Interesting

      Try using a Linux machine as a digital audio workstation. I dare you.

      I do, actually after I post this I'll be using it to produce a Jazz album that I also recorded on a linux machine (Fedora, ccrma). I think Jack is great to hook up different audio applications and I think the resulting production process is a real step forward from existing digital mixing/mastering processes. Not perfect, sure, but I'm not certain it can be duplicated on Mac's and windows boxen.

      I've produced three albums so far under linux and the software has come forwards significantly since I started playing around with it in 2003.

      In recording mode - where it matters most - I have a machine that is stable because if there are any problems during the recording the musicians are not likely to be understanding. Usually the machine is set to record over a day or two with 16 channels of input and very little interference. The underlying features that a Linux box offers like LVM's, fast file systems like reiserfs, tunable kernels are a bit of a hassle to set up at first but the result is an exceptionally stable system.

      There are shortcomings but I just develop new habits to overcome them. With the money I saved on a mac and protools I have bought some great recording equipment. I plan to start donating to the Ardour and jack projects because that is what they need to improve and make them progress a lot faster.

      Without the Alsa project as a foundation I don't think any of the sound projects happening now under linux would have been possible.

      --
      My ism, it's full of beliefs.
    50. Re:Main blocker by aaptel · · Score: 1

      ALSA is Linux-only, you can't run it on BSDs.

    51. Re:Main blocker by miro+f · · Score: 2, Insightful

      incorrect. The proprietry nvidia drivers are not even installed by default, and never have been. There was talk about providing them out of the box but it never eventuated. They are, however, easily installable via the "hardware drivers" app.

      --
      being vague is almost as cool as doing that other thing...
    52. Re:Main blocker by Knuckles · · Score: 0

      I don't think so. I couldn't find definitive references and it's been a long time since I installed Ubuntu on a non-Intel-graphics system, but I am pretty sure that since Gutsy Ubuntu has been using a compositing window manager (compiz) by default on systems with Intel and Nvidia graphics (and since some later Ubuntu version also on ATi systems). Of course, compositing requires 3D hardware acceleration, and for Nvidia this means proprietary drivers.

      Compare:
      https://blueprints.launchpad.net/ubuntu/+spec/composite-by-default
      http://arstechnica.com/open-source/news/2007/09/ubuntu-technical-board-votes-on-compiz-for-ubuntu-7-10.ars

      --
      "When I first heard Daydream Nation it quite frankly scared the living shit out of me." -- Matthew Stearns
    53. Re:Main blocker by Anonymous Coward · · Score: 0

      you can upgrade video drivers in Vista (and above), or recover from a video display crash, without even closing and reopening your windows

      Your are so mean! Why don't you just leave Linux alone!

    54. Re:Main blocker by Lennie · · Score: 2, Informative

      vlc has options to change the way output is handled, try them, maybe you can find out more about what the problem is.

      --
      New things are always on the horizon
    55. Re:Main blocker by TheRaven64 · · Score: 2, Insightful

      OSS. It's standard on all UNIX-like systems except OS X. The API is painfully simple. There are no libraries, the only dependency is a single header (soundcard.h). To play sound, you open() /dev/dsp and write() the data there. If you want to change the format (e.g. sample size, rate, or number of channels), then you issue an ioctl().

      If you use FreeBSD, then you've had in-kernel sound mixing with OSS since around 2001. It was a bit difficult to use back then; you got a different device for each channel and had to configure each app to use a different one (I had one for each of KDE and GNOME's sound daemons, one for xmms, and one for games, for example). With FreeBSD 5 (January 2003), each app to open /dev/dsp got a new vchannel, so all sound-outputting apps got a trivial-to-use interface that supported mixing.

      Now, both OpenSolaris and FreeBSD support the newer OSS API, which is backwards compatible but also provides per-channel volume controls and a few other nice things. Linux does if you install the 4Front OSS implementation (which the author of TFA is recommending), but by default ships with ALSA, which is a Linux-only API that is not backwards-compatible with OSS (which was the standard Linux sound API until ALSA shipped).

      It amuses me that I've had multiple applications able to play sound on a cheap soundcard, using a simple, well-supported, API on FreeBSD for almost a decade, and yet people still claim Linux is ready for the desktop but FreeBSD isn't.

      --
      I am TheRaven on Soylent News
    56. Re:Main blocker by TheRaven64 · · Score: 1

      Which BSD are you talking about? All of the major BSDs have supported kernel modules for a long time, although only FreeBSD makes heavy use of them. The sound drivers on my FreeBSD systems are implemented in two kernel modules, one implementing shared, generic, functions relating to sound and one implementing support for the specific device.

      --
      I am TheRaven on Soylent News
    57. Re:Main blocker by ultranova · · Score: 2, Informative

      Linux seems to have difficulty playing DVDs with good quality, much less running an intense 3D game like Half-Life. Face it - Windows totally kicks Linux's ass with respect to video and sound support.

      Well, of course. 3D acceleration on Linux requires in-kernel drivers, and the kernel interface changes constantly, so the drivers need to be constantly updated to work with new kernels. Open-source drivers would solve the problem, but manufacturers don't want to provide them and Linux isn't anywhere big enough to force them to. The end result is a nightmare; for example, I can't update the kernel because the last drivers that work with my card (Geforce 2 MX) don't work with the new kernel. And while I got an old Radeon for free, it won't work with my motherboard (KT7A).

      --

      Forget magic. Any technology distinguishable from divine power is insufficiently advanced.

    58. Re:Main blocker by GPLHost-Thomas · · Score: 1

      Does such thing as a "microsoft fanboy" exist (still)???

    59. Re:Main blocker by ioshhdflwuegfh · · Score: 1

      A single bad moderation doesn't make a bad community. Hell, they're modded 4 at the moment. Let the system do its job.

      Which also means it is already too late for the system to do its job.

    60. Re:Main blocker by PiSkyHi · · Score: 1

      Its marked interesting now, some idiot must have marked it troll early on

      Actually, I'm working on a theory that the mods are altered depending on viewer status, logged in or karma or maybe geolocation or even just plain ol' random (cleverly hashing your IP, so you don't notice ;)

      Back to the point, I think when you say tearing, you possibly mean a lack of sync between video frame rate and display frame rate. This problem can be fixed with nVidia chipsets using the nvidia-settings tool. Under X Server XVideo Settings tick the box Sync to VBlank and read about how to automatically load these settings when you login.

      This will work for any player that uses XVideo or xv for its graphics (vlc, mplayer etc...)

    61. Re:Main blocker by TheLink · · Score: 1

      Some versions of VLC do hardware acceleration.

      How do I know? Because on some systems the video doesn't show when VLC is on the second display in a dual monitor config.

      So I have to turn off hardware acceleration e.g. Tools, Preferences, Video, Accelerated video output -> unchecked.

      --
    62. Re:Main blocker by TheLink · · Score: 1

      Why not?

      In many cases offtopic stuff is more interesting, informative or insightful than the actual Slashdot summary or the article ;).

      --
    63. Re:Main blocker by Agent+ME · · Score: 2, Informative

      If Ubuntu sees it has a video card which the proprietary Nvidia drivers are available for, then it will prompt the user to permit it to download and install the drivers itself. It doesn't have the drivers installed by default.

    64. Re:Main blocker by Anonymous Coward · · Score: 0

      Edited for 2007:

      A single bad president doesn't make a bad country. Hell, he has a 30% approval rating at the moment. Let the man do his job.

      Oh, wait...

    65. Re:Main blocker by Mozk · · Score: 1

      I don't get what you're saying. Could you please summarize that?

      --
      No existe.
    66. Re:Main blocker by miro+f · · Score: 1

      The computer I am running right now has an NVidia graphics card, and I installed Ubuntu 9.04 only two weeks ago. The default driver used was nv and the compositing was disabled by default.

      That's definitive enough for me, although of course I can't prove this to you.

      There was a lot of talk about enabling proprietry nvidia drivers by default, I am fairly certain in the end for gutsy they backed down and decided to stick with the free driver by default at the last minute (I don't remember exactly, however, I could be wrong on this point. But it's definitely not included now)

      --
      being vague is almost as cool as doing that other thing...
    67. Re:Main blocker by Knuckles · · Score: 1

      OK, thanks for the info, I was about to search for a computer with an Nvidia card and try it out :)

      --
      "When I first heard Daydream Nation it quite frankly scared the living shit out of me." -- Matthew Stearns
    68. Re:Main blocker by LingNoi · · Score: 1

      No it doesn't. I just installed 9.04 and I have to specifically go to the restricted drivers application and check the box. I got no notification about installing restricted drivers.

    69. Re:Main blocker by Zero__Kelvin · · Score: 1

      "Or that the devs just-had-to use QT/KDE for it, nice one there guys."

      It does seem like an arbitrary choice for the KDE team to develop Amarok as a KDE application. The rogues!

      --
      Guns don't kill people; Physics kills people! - John Lithgow as Dick Solomon on Third Rock From The Sun
    70. Re:Main blocker by dave420 · · Score: 1

      It's not always the case that manufacturers "don't want" to release open-source drivers, but that they aren't allowed to because they use licensed technology from other companies.

    71. Re:Main blocker by Agent+ME · · Score: 1

      Since I started using Ubuntu at 7.10, the Restricted Drivers (now just "Hardware Drivers") icon would pop up in the panel telling me that there were drivers available shortly after logging in for the first time on a new install.

    72. Re:Main blocker by LingNoi · · Score: 1

      Great, but it doesn't happen for me on 9.04, there's no icon in the taskbar.

    73. Re:Main blocker by Anonymous Coward · · Score: 0

      I can't update the kernel because the last drivers that work with my card (Geforce 2 MX) don't work with the new kernel

      I think you'll find that the problem is one of unsupported (by nVidia) hardware in general, rather than a Linux issue. Somebody correct me if I'm wrong, but nowadays, with the DKMS (?) system and driver shims, updating the kernel is almost seamless in the case of proprietary drivers. The generic shim driver is rebuilt for the current kernel, which then loads the proprietary component that has no kernel dependencies. You may not consider it ideal from an open source/proprietary standpoint, but if you face the reality of proprietary drivers being the only option for full functionality, it's a great compromise that abstracts away any kernel specifics meaning I can use the same nVidia driver almost regardless of the kernel version, and the system automatically rebuilds the shim if it detects a kernel change.

    74. Re:Main blocker by Anonymous Coward · · Score: 0

      I have been using Songbird lately and have liked it a lot.

      My main problem with it is its incomplete and bogus support for ipods.
      But as aplayer it works great.

  2. By saying that he proves his former point by emj · · Score: 3, Insightful

    If Pulse Audio really sucks, then Linux Audio really is in a sorry state .

    1. Re:By saying that he proves his former point by K.+S.+Kyosuke · · Score: 1, Informative

      Supported Operating Systems
      * Linux (any modern distribution)
      * Solaris
      * FreeBSD
      * NetBSD
      * Native Win32 (no cygwin)

      Wonderful, we've just broken Windows Audio, Solaris Audio and many other Audios as well. (BTW, you probably wanted to type Linux audio, not Linux Audio).

      --
      Ezekiel 23:20
    2. Re:By saying that he proves his former point by emj · · Score: 1

      The article is really good read it, the conclusion is that Ubuntu should hire the OSS developer, and that debian needs better OSS support. Another thing was Pulse Audio, which he say gives too much latency to be useable in games, not something I really care about but a 3 second delay is pretty extreme, I wonder if that is true.

    3. Re:By saying that he proves his former point by Larryish · · Score: 4, Informative

      Pulseaudio rocks IMO.

      I have 7 Internet-connected personal machines at the house (7 Linux boxes, 1 Wintendo), and one Linux laptop is connected to a 5.1 surround system in the office.

      Every machine on the network (with the exception of the Wintendo) can play audio over the network through the 5.1 surround system via Pulseaudio, with no appreciable loss of sound quality.

      I can sit on the couch with a wireless-enabled laptop and play music from the headless file storage machine through the 5.1 surround system remotely.

      We've come a long way, baby.

    4. Re:By saying that he proves his former point by Rynor · · Score: 1

      Can't say I have ever had problems with latency using pulseaudio and ET:QW or Raine, so based on my experiences, no.

    5. Re:By saying that he proves his former point by Anonymous Coward · · Score: 0

      No problems with latency, audio has saved me plenty of times of not getting raped from behind.

    6. Re:By saying that he proves his former point by the_womble · · Score: 4, Insightful

      If Pulse Audio really sucks, then Linux Audio really is in a sorry state

      No, because you do not have to use Pulseaudio.

      He says pulse sucks for games . Although he is exaggerating the latencies, I can believe it.

      It is so, so for video (you can get occasional lack of sync)

      It does audio very nicely - mixing works fine, you can play different streams to different cards (yes, I do that), you can play streams on remote servers, you can combine all local sound cards into a single virtual device etc.

      So the problem is not that we do not have good solutions. It is that we have different solutions with different strengths and it is not clear which should be the default. He thinks pulse should not be the default. I like pulse although I would like the latency and reliabliity issues dealt with.

    7. Re:By saying that he proves his former point by Ant+P. · · Score: 1

      I once tried to get a 2-PC PulseAudio setup working so I could have my headphones on my laptop permanently instead of going spelunking behind my desk every time I wanted to use them outside. After following their instructions to the letter, then again a year later, the best I could get out of it was crackly, constantly-skipping unusable sound and then only when using a raw PCM stream because the "native" transport didn't work at all.

      Since it seems to work in big distros, and the PA dev works for one of them apparently, I guess there must be some secret handshake involved in getting it to work. I ended up rsyncing my audio files to the laptop instead. That worked first time (and only cost me £60 for the extra storage).

    8. Re:By saying that he proves his former point by defaria · · Score: 5, Insightful

      Being able to play sound over the network is OK I guess. BUT THE VAST MAJORITY OF USERS JUST WANT SOUND TO AT LEAST WORK LOCALLY FIRST - then get the network to work. For example, I just purchased a mic so I can use Skype. The mic works - I hear my voice - but it doesn't record. How frigging hard is it to record from the one input labeled mic?!? Tons of instructions - all of them different - none of them work. Meanwhile some pimple headed Linux geek is still trying to get sound over the network working...

    9. Re:By saying that he proves his former point by syousef · · Score: 2, Funny

      We've come a long way, baby.

      Don't call me baby! I've seen you sluting around with those tramps ALSA and OSS! Do you think I wouldn't find out!? You said you were done with them but now I know you were lying. I'm going home to mother's house! See you in court!

      --
      These posts express my own personal views, not those of my employer
    10. Re:By saying that he proves his former point by AigariusDebian · · Score: 1

      Cann't detect any latency by ear, so it is 100 ms for sure. There were bugs in ALSA earlier that caused PA to have significant latency, but with latest kernel, ALSA and PA, the latencies *should* be in single digit miliseconds.

    11. Re:By saying that he proves his former point by wintermute000 · · Score: 1

      I second (and also did the same thing) your course of action. Sometimes the simple way is the best lol.

      Also as an added benefit you now have another backup of your music.

    12. Re:By saying that he proves his former point by Clarious · · Score: 1

      Yup, IMO Pulseaudio has some interesting features, but the most important one (for me) is the 'glitch free' playback, it help saving a lot of CPU power due to much lower CPU wake up times ( 86.2 per sec with plain ALSA, and 10 with PulseAudio).

      However, Pulseaudio is not mature yet, I still have some problem like super high CPU usage when playing anything that has frequency differ from 44.1kHz, or some CPU overhead when playing music. But I think it will be fixed, it is just not ready yet, like KDE4.

    13. Re:By saying that he proves his former point by X0563511 · · Score: 4, Interesting

      Which is great, but it's not so great if you are trying to produce audio.

      When I plug my guitar in, I can notice a latency greater than 5ms. And greater than 25ms, it drives me insane.

      Compare that to what I get with PluseAudio (usually): 100-150ms. No thank you.

      --
      For large sets, this will be our guide even unto death, for the LORD will work for each type of data it is applied to...
    14. Re:By saying that he proves his former point by Anonymous Coward · · Score: 1, Informative

      Pulseaudio had problems earlier in its development cycle, which unfortunately is coloring a number of peoples' views about it.

      The latencies mentioned in the article flat out don't exist any more on a sufficiently up-to-date system, even if it's rather old hardware.

      KDE4 had serious, severe issues with pulseaudio for me in version 4.1, but I don't know whether that's been handled. I strongly suspect it has.

    15. Re:By saying that he proves his former point by techwizrd · · Score: 1

      I agree. PulseAudio is amazing. It works perfectly on all of my machines. It just works out of the box on all of my machines with no fuss and great quality.

    16. Re:By saying that he proves his former point by Clarious · · Score: 1

      Although he is exaggerating the latencies, I can believe it.

      Not really, I have seen 13 seconds latency with Pulseaudio on Ubuntu 8.04, of course, it was caused by a bug, but that is still horrible.

    17. Re:By saying that he proves his former point by Larryish · · Score: 1

      What distro and version are you using?

    18. Re:By saying that he proves his former point by Anonymous Coward · · Score: 0

      If Pulse Audio really sucks, then Linux Audio really is in a sorry state

      No, because you do not have to use Pulseaudio.

      Except that means you need to uninstall PA (and not just not actively use it - it locks up the audio device and you can't use alsa concurrently). Which means the distro just shipped a broken-by-default configuration.

      Choice is good. Needing to choose just to get sound to work is bad. Opt-in is good. Opt-out is bad.

    19. Re:By saying that he proves his former point by harningt · · Score: 1

      Which is great, but it's not so great if you are trying to produce audio.

      When I plug my guitar in, I can notice a latency greater than 5ms. And greater than 25ms, it drives me insane.

      Compare that to what I get with PluseAudio (usually): 100-150ms. No thank you.

      Sounds like you need JACK, the linux audio system meant more directly for production. A low-latency tuned kernel could also help.

    20. Re:By saying that he proves his former point by Anonymous Coward · · Score: 0

      I've been trying to do this with every new release of pulseaudio for as long as I can remember. Still only very choppy harsh clicking!!! From what I could see buffers where under-running because the network latency calculations are bullshit. I got no help from the documentation, no help from the mailing lists. Tried to read the code but I don't have that much time to work out the complexity ( ugliest code I've ever seen ).

    21. Re:By saying that he proves his former point by chammy · · Score: 1

      You should be using the Jack audio system -- it's designed for sound-intensive applications.

    22. Re:By saying that he proves his former point by Anonymous Coward · · Score: 0

      Code is supposed to look like that. Read a tutorial and at some point you'll see what it means. First you need to learn some coding though ;-)

    23. Re:By saying that he proves his former point by Seq · · Score: 1

      I concur. I've got an Apple Airport Express on the living-room stereo. I routinely redirect my music to it from the Pulse Audio volume control. Much nicer than the tinny sound from the laptop speakers, and nicer than running a cord across the room.

      --
      -- Seq
    24. Re:By saying that he proves his former point by Seriousity · · Score: 1

      I concur that PulseAudio rocks - once you finally get it working. Yes I know that in the case of Ubuntu, Ubuntu is largely to blame for not implementing PulseAudio properly, but still... I installed UbuntuStudio on a friends computer and spent about four hours navigating through a maze of terrible documentation and outdated fixes and all sorts of nightmarish crap trying to get his 5.1 surround sound system working. Granted once it was done it sounded better than it did before on XP, as expected; but that was honestly the hardest thing I have ever had to configure, it was downright stupid.

      Sadly, the victory was short-lived once we found out that ATI had moved his relatively recent GPU onto a legacy support branch, and that there was no adequate Linux driver - subsequently X crapped his pants and now he has a broken partition, bummer.

      --
      This post was made in complete sincere seriousity; as such any attempts to derive humour are doomed to instant failure.
    25. Re:By saying that he proves his former point by R.Morton · · Score: 1

      fucking priceless, Love a great joke :)

      --
      modded quote "what's that he's talking about? Windows , Never had a problem with Windows till I tried to use it."
    26. Re:By saying that he proves his former point by peppepz · · Score: 1

      Sadly, the victory was short-lived once we found out that ATI had moved his relatively recent GPU onto a legacy support branch, and that there was no adequate Linux driver - subsequently X crapped his pants and now he has a broken partition, bummer.

      If it was dropped by ati’s support, then that card must be a R500 or lower, and as such it has an almost flawless open source Linux driver. How was it indadequate?

    27. Re:By saying that he proves his former point by peppepz · · Score: 1

      Never had such latency problems with Pulse on my 7-years-old machine.

    28. Re:By saying that he proves his former point by Anonymous Coward · · Score: 0

      "I like pulse although I would like the latency and reliabliity issues dealt with." Yea I hear ya I also like sea turtles but I would like their lack of opposable thumbs and non ability to walk upright at 35mph dealt with. Don't ask me how that'd be much help to a sea critter though!

      What I'm getting at is that its environment and use will always limit it to such. Pulseaudio is a cliche specific environment not suitable towards most things in regards to fully adapted performance gains. In otherwords you can peddle all you want but a motorcycle still wins in regards to performance no matter how much you tweak your little tricycle.

    29. Re:By saying that he proves his former point by Anonymous Coward · · Score: 0

      Your first mistake: Skype. It's closed, which means there's no chance for anyone in the community to make it work correctly.

      And since if you're not in the community and trying to do audio on Linux, you've already failed. You have zero chance of making something work universally, since Linux low-level audio has a bus factor of about 4, and it only goes up logarithmically from there (whereas you could go to Apple and talk to at least 20 kernel audio engineers).

    30. Re:By saying that he proves his former point by Anonymous Coward · · Score: 0

      Please get yourself informed before squeaking out.

      man pasuspender

    31. Re:By saying that he proves his former point by GPLHost-Thomas · · Score: 1

      COME ON! The pain here is SKYPE itself. The Linux version of Skype has always brought pain. Poor sound API support, bad video support (I still can't have my webcam working on a 64 bits system, WHY???), and all sorts of issues. Don't take the worst APP of the Linux desktop as an example, PLEASE !!!
      Oh, also, WHY on the Skype website, I can see downloads for Debian Etch 32 bits, and nothing for Lenny 32 or 64 bits? Why did I have to spend half a day searching for the Ubuntu 64 bits version that just approximatively seem to be working on my 64 bits Lenny laptop? It's of really no surprise that you also had tons of other issues with sound, considering what I just wrote. These guys simply don't care about the Linux version, take it for granted.
      Thomas

    32. Re:By saying that he proves his former point by GPLHost-Thomas · · Score: 1

      Well man... You are using Ubuntu, so what do you expect, considering the release cycle (eg: taking all apps from SID without having a look at the BTS)? Ubuntu = Debian + bugs added (and rarely so important so called latest versions and features)... Ubuntu is LACKING BEHIND, no leading the way.

    33. Re:By saying that he proves his former point by Jesus_666 · · Score: 1

      No, it's Linux Audio, a new audio stack for Linux. By applying the "many eyes find more bugs" paradigm to audio preocessing, Linux Audio works on the presumption that many mixers make great sound. Thus, Linux Audio is a kernel module that pipes all sound through PulseAudio, OSS, ALSA, PulseAudio again, ESD, aRts, itself and then through OpenAL to OSS using the ALSA API.

      For some reason we have latency issues and some users remain unconvinced that our sound quality is nothing less than spectacular even after repeated demonstration. I wouldn't call it a sorry state, though. A pickle maybe. A very slight pickle, barely worth mentioning.

      --
      USE HOT GRITS WITH STATUE OF NATALIE PORTMAN (NAKED AND PETRIFIED)
    34. Re:By saying that he proves his former point by Sheik+Yerbouti · · Score: 1

      I think we are missing some reading comprehension here. He is saying pulse audio is not necessary nor is any other sound server. There are only two low level audio libraries in linux OSS and ALSA. These other sounds servers he says were created to deal with the lack of software mixing on OSS v3. Since there is not a lack of software mixing in OSS v4 or alsa there is no need to have a sound server and in fact it just adds latency and complexity. I think this is a bit eye opening as I never really understood the relationship between sound server and back end sound library. If this is true then the whole concept of a sound server is vestigial.

      As far as which is better alsa or OSS v4 that sounds like a flame war ready to happen. I just want something straightforward that works well with low latencies can we get that?

    35. Re:By saying that he proves his former point by hab136 · · Score: 1

      He says pulse sucks for games . Although he is exaggerating the latencies, I can believe it.
      It is so, so for video (you can get occasional lack of sync)

      So for everything I'd actually want sound for it's broken, but for system beeps it's great, eh?

      It does audio very nicely - mixing works fine, you can play different streams to different cards (yes, I do that), you can play streams on remote servers, you can combine all local sound cards into a single virtual device etc.

      Cool, I can have broken audio go all over the place.

      Audio and video problems are the main reasons why I gave up on Linux as a desktop in 2004 (ironically shortly before Ubuntu came out, which solved some of my other complaints). I just got tired of my video breaking every few months during an upgrade, and sound working or not depending on the day and what apps I was running (and in which order I loaded them!).

      Looks like the situation has really not changed. Super-cool features like programmable stream outputs are useless if it doesn't play audio correctly in the first place. Or more importantly, if the userbase can get it to play audio correctly.

      So the problem is not that we do not have good solutions. It is that we have different solutions with different strengths and it is not clear which should be the default. He thinks pulse should not be the default. I like pulse although I would like the latency and reliabliity issues dealt with.

      Why do we have to choose between broken in one way and broken in a different way? Windows and OS X's audio systems have mixing, low latency, and are reliable. Why can't Linux's audio system, whatever it is?

    36. Re:By saying that he proves his former point by Anonymous Coward · · Score: 0

      You most likely have the mic input muted. Go to a command prompt, type "alsamixer", hit enter, and unmute the input by pressing m. After that just hit escape and you should be good. Really your issue has nothing to do with sound on linux, mic's have been working forever but for some reason your configuration is wrong.

    37. Re:By saying that he proves his former point by stbill79 · · Score: 1

      I have 7 Internet-connected personal machines at the house (7 Linux boxes, 1 Wintendo).... We've come a long way, baby.

      We've come a very long way, but completely skipped past the place where 99% wanted to go. The article actually mentions this specifically - Pulse does neat stuff like Network streaming, but still completely misses the point: A single API for low latency, high quality sound on a single Linux box.

      In other words, before we worry about streaming audio to your seven boxes, we first need to get J6P's single laptop able to play an Mp3, while watching a Flash video in the browser, and not crash both when he shuts the lid to suspend.

    38. Re:By saying that he proves his former point by LingNoi · · Score: 1

      That's the problem. You can play music but you can't play games, or voice chat because the lag is just horrible. In some cases pulse audio adds a 5 second lag on Skype. I've had to resort to using my other computer with an older version of ubuntu without Pulse Audio because of how shitty it is.

    39. Re:By saying that he proves his former point by LingNoi · · Score: 1

      Your first mistake. He says skype works and recording doesn't. Read next time idiot.

    40. Re:By saying that he proves his former point by LingNoi · · Score: 1

      No because Pulse Audio fan boys won't let their god send of a sound server become irrelevant. Now that Pulse Audio has become a dominate player in all the major distros it has fucked over Linux audio for a long time to come.

    41. Re:By saying that he proves his former point by Ant+P. · · Score: 1

      Debian and Gentoo.

    42. Re:By saying that he proves his former point by Larryish · · Score: 1

      Debian works fine with Pulseaudio using the i82801onboard sound on our fileserver here.

      If you email larryish---near---gmail---dot---com with your specs I can maybe help you get the ball rolling on a Debian box.

    43. Re:By saying that he proves his former point by StringBlade · · Score: 1

      Pulse is great as long as you're not interested in connecting S/PDIF or optical digital audio connections, then it just fails completely. I've never successfully gotten PulseAudio to work with S/PDIF out to my receiver and everything I've read suggests it's not really ready to handle AC3 and DTS passthrough. ALSA on the other hand does it just perfectly and I find myself disabling PulseAudio on all my MythTV frontend machines and just going with ALSA.

      What was wrong with ALSA again? Are we trying to solve a problem with PulseAudio that is only perceived and not really a problem? Yes, some applications are old and use OSS. Yes some applications go it alone and write their own audio drivers. By and large however, ALSA is left to handle the audio and instead of throwing a wrapper around all the sound, why not just let evolution and survival of the fittest take place. If that happens I'm sure PulseAudio will fade away and ALSA will remain the strongest and most common contender.

      --
      ...and that's the way the cookie crumbles.
    44. Re:By saying that he proves his former point by Anonymous Coward · · Score: 0

      Pulseaudio was never designed for low latency audio production stuff - that is why pulse is cooperating with JACK to allow seamless switching - http://0pointer.de/blog/projects/device-reservation.html

    45. Re:By saying that he proves his former point by Anonymous Coward · · Score: 0

      For example, I just purchased a mic so I can use Skype. The mic works - I hear my voice - but it doesn't record. How frigging hard is it to record from the one input labeled mic?!?

      In Windows? Pretty hard. Seriously, one of our users at work had exactly that problem, and I was the one who had to fix it. Tried a lot of different things, including different settings, and switching the mic from the lap top mic input to the docking station mic input, and I still don't know which change did the trick.

  3. Re:State Of Linux Pretty Fucking Sorry After All by eln · · Score: 3, Funny

    I commend you for at least customizing your troll to the story. So few bother these days.

  4. Article must be a hoax. Linux is a lot more free. by Anonymous Coward · · Score: 0

    Sound development on Linux has a lot more easy interface than an undocumented kernel and driver system. End-users have had the greatest choice of sound systems as being either 4Front Open Sound System, Advanced Linux Sound Architecture, or perhaps a specific driver provided in-house from the vendor. ALSA has given Linux-based operating systems a greater edge over of ther *nix flavors if not even just Microsoft's selection. Even the *BSD's, specifically freeBSD, have been aiming their binary compatibility towards Linux thus proving it is leading the development tree rooted in commercial Unix.

    Give me the Blue Pill. I don't want to hear anymore about SkyOS or MorphOS...

  5. Pulseaudio sucks by mrmeval · · Score: 1, Troll

    Pulseaudio sucks so bad I can't use it with the player of MY choice to watch movies.

    --
    I'd go on a Vegan diet but the delivery time from Vega is too long. --brownkitty
    1. Re:Pulseaudio sucks by jedidiah · · Score: 1

      ...and which one is that?

      Totem? Xine? mplayer? VLC?

      --
      A Pirate and a Puritan look the same on a balance sheet.
    2. Re:Pulseaudio sucks by maccallr · · Score: 2, Informative

      Yes, go on, which one? Depending on your distribution, you might need to install the pulseaudio module for VLC, but that's only a few clicks.

    3. Re:Pulseaudio sucks by jedidiah · · Score: 4, Funny

      I upgraded to Jaunty and expected a lot of trouble.

      Where is my audio trouble? I was promised audio trouble. Where is it?

      The trolls said that I my sound wouldn't work anymore. What happened?

      --
      A Pirate and a Puritan look the same on a balance sheet.
    4. Re:Pulseaudio sucks by Earthquake+Retrofit · · Score: 1

      I upgraded to Jaunty and expected a lot of trouble.

      Where is my audio trouble? I was promised audio trouble. Where is it?

      The trolls said that I my sound wouldn't work anymore. What happened?

      Yes that was my experience. I just upgraded to Mint 7 and all but one of my audio issues just vanished. And everything else works noticeably better too.

      Steve

      --
      Fifty years of Yippie! 1968-2018
    5. Re:Pulseaudio sucks by wrook · · Score: 1

      I wish I could answer this question. Then maybe I could figure out why it doesn't work for me. Pulse audio crashes on me constantly (mean time between crashes is about 1 hour). Not only that, but under load applications trying to write to pulse audio will fail and will never again be able to play sound (or more likely crash, actually...). If I am doing anything on my computer and trying to use rhythmbox at the same time things will be crashing every 5 to 10 minutes.

      I *do* have an older and lower spec laptop, though. I suspect that's part of my problem. I've also got an Intel 945GM graphics card and I'm using the work-arounds to get decent video performance with compiz, but that's resulted in a horrible memory leak in compiz (I don't blame compiz, though -- I'm pretty sure it's the video driver). So I'm often running in low memory conditions. This causes latency with PulseAudio, I think, contributing to the problems.

      But it's no joke... when I upgraded to Jaunty pretty much *everything* broke :-( How hard is it to downgrade again?

    6. Re:Pulseaudio sucks by Anonymous Coward · · Score: 0

      The trolls said that I my sound wouldn't work anymore. What happened?

      You got lucky! Bend over, here comes your trophy.

    7. Re:Pulseaudio sucks by Randle_Revar · · Score: 1

      Most of the trouble was in earlier versions, when Ubuntu first used PA. If you didn't have trouble then, you probably won't have trouble now.

    8. Re:Pulseaudio sucks by Zebedeu · · Score: 1

      You want audio trouble?

      Try skype.

    9. Re:Pulseaudio sucks by mrmeval · · Score: 1

      Yes

      --
      I'd go on a Vegan diet but the delivery time from Vega is too long. --brownkitty
  6. it's all relative by clang_jangle · · Score: 4, Insightful

    When I no longer have to reboot into OS X to do real multimedia production work, then I'll agree that alsa has arrived. But this self-congratulation party is way premature. Linux has nothing that can even begin to rival GarageBand, what to speak of Logic Pro or Pro Tools. I surely wish it were otherwise. In fact, I just got done spending hours fooling with the Pro Audio overlay for Gentoo, and couldn't even get Hydrogen to play nice with or without jackd. Yes, my soundcard is listed as "supported".

    --
    Caveat Utilitor
    1. Re:it's all relative by delta419 · · Score: 5, Interesting

      I can't speak for Logic Pro, but there is a (VERY good) alternative to Pro Tools; Ardour. The ubuntustudio packages had everything I needed to jump right into a professional DAW. I've been using it for high-quality recording/editing for almost a year now, no problems.

    2. Re:it's all relative by clang_jangle · · Score: 4, Informative

      I tried Ubuntu studio on several different machines, and had no luck at all. If you try Pro Tools on the Mac, I'm sure you'll see what I'm talking about. The quality of sound is 100%, and using multiple sound sources not only works, it *just* works. That was not my experience with Ubuntu studio (nor Gentoo, Debian, dyne:bolic, arch, crux). I found them really wretched to work with, if you can even get them to work. Multiple sound sources via jackd? No way, it just doesn't work. Also, the sound quality matters a lot to me, and with alsa it's terrible. I've been trying to do what I do in Linux since 2003. It still isn't ready. I truly hope it will be one day soon...

      --
      Caveat Utilitor
    3. Re:it's all relative by Anonymous Coward · · Score: 0

      Did you even bother to read the first paragraph of the article?

    4. Re:it's all relative by Anonymous Coward · · Score: 0

      And what, pray tell, in the first paragraph of TFA invalidates the GP's personal experience ? It's retards like you that actually hold back FOSS development. This isn't about your fucking ego, it's about functionality in the real world.

    5. Re:it's all relative by Anonymous Coward · · Score: 0

      Do you have any good reason for saying ALSA sounds bad?

      As far as I can see, if you send the same bits to the soundcard, you get the same sound.
      I tested ALSA+JACK and found it to be bit accurate recording from SPDIF I/O. The converters on my card sound the same too as under Windows.

    6. Re:it's all relative by Danzigism · · Score: 2, Interesting

      I HIGHLY agree with this. I thought audio production was at a complete standstill in the days of Rosegarden since it crashed for no reason on any machine I installed it on. It was a great concept, but it simply didn't work. When I installed Ardour I couldn't believe how great and functional it was. The ubuntustudio package is indeed a super easy way to get yourself up and running. Not to mention there is a pretty big following in #ardour on Freenode. Always someone there willing to lend a hand. Beats spending tons of Pro Tools, Adobe Audition, Sonar, or anything else out there. I believe there's a Mac version too.

      --
      *plays the Apogee theme song music*
    7. Re:it's all relative by clang_jangle · · Score: 4, Insightful

      All FUD. The fact you are using Gentoo and having problems is probably half your problem. The tools you choose to use are NOT the fault of GNU/Linux- they are your own. Apple and Microsoft by your own evaluation would be just as bad or maybe even worse!

      You know, when i read moronic bullshit like that I sometimes wonder for a moment why don't I just stick with OS X. Why should I spend endless hours every other month or so trying to get a satisfactory result out of various Linux distros, anyway? Then I remember, I love Linux in spite of assholes like you. And I hope one day to be able to say with pride, "I recorded, mixed, and mastered this project all in Linux, using nothing but FOSS!". And when that day arrives, it will be in spite of, not because of, idiots like you. Burying your head in the sand may make you feel better in the short term, but it doesn't get the work done.

      --
      Caveat Utilitor
    8. Re:it's all relative by Anonymous Coward · · Score: 0

      Are you trolling?

      Pro Tools only works with Digidesign hardware. You can't use multiple sound sources at all. Ie, plug in a USB mic and you can't use it in PT.

      Also, what does 'the quality of sound is 100%' mean? I'd bet a dollar that you just had the mixer in Linux turned down.....

    9. Re:it's all relative by CyDharttha · · Score: 4, Informative

      I'm with you. I've been using Ardour and Hydrogen for years. Also use Rosegarden for keyboard synth. My keyboard is a M-Audio 49-key USB interface, just plug it in and go. I've set up a few audio production systems for friends as well. Shane Bertrand has been recording and mixing his own music on one for 5 years now. A 10 input M-Audio Delta 1010LT sound card, Ardour, and Hydrogen are his main tools. They recorded and produced both CWO albums on this setup. They used 5 mics to record the drummer; Shane's modest system had no problems handling it all, even at more than 40 tracks in a song. He had a Sempron 2500+ and 512MB RAM w/ Kubuntu, just upgraded to a X2 3800, 2GB RAM a few months ago.

    10. Re:it's all relative by philicorda · · Score: 1

      "And I hope one day to be able to say with pride, "I recorded, mixed, and mastered this project all in Linux, using nothing but FOSS!"."

      Some people already can.

      I think it depends on what you want to do. For projects where it's straight forward recording, like live music, then Ardour on Linux is fine. Particularly if you still use a mixing desk/outboard fx. The sound quality is only limited by your A/D converters.

      For composing in the computer, with soft synths and samples etc, Cubase and Ableton rule. Until Ardour gets midi there is no competition. Seq24 on Linux is still a lot of fun though. :)

    11. Re:it's all relative by dunng808 · · Score: 1

      I am a long-time fan of Audacity. To be honest I record with a Sony PCM-D50 and use Audacity to edit the imported WAV files. True, the Mac OS X version is prettier than the FreeBSD version (the one I use most), but they work equally well.

      --

      Gary Dunn
      Open Slate Project

    12. Re:it's all relative by Anonymous Coward · · Score: 1, Insightful

      Some people already can.

      Not trying to troll here, but what's with all the "we use it and it works great" comments and not one link to any such projects? Can you say, "[citation needed]"?

    13. Re:it's all relative by Anonymous Coward · · Score: 1, Informative

      Here's the 'Made with Ardour' forum.

      http://ardour.org/forum/9

      I heard a couple of nice tracks on there.

    14. Re:it's all relative by Danzigism · · Score: 1

      Well you see. Thanks to proprietary drivers from bullshit MIDI controllers, the proper linux drivers can't be developed as quickly as it can with Windows. However, there are several programs out there that work perfectly fine with MIDI devices. You should really learn a little bit more about the software that is out there. The point of this article is that in the past 2 years, audio applications for Linux have grew dramatically in regards to support and functionality. Ardour can easily do MIDI stuff. There are also countless notational editors for KDE and Gnome that can capture MIDI as well. I can think of tons of professionals that could use a simple *FREE* composition program. And of course finally, there are quite a few USB MIDI controllers that are natively supported in Linux. THERE ARE TONS of people that use their Rolands with Linux thanks to libusb. You eat what you like, and I'll eat what I like. Which is free beer.

      --
      *plays the Apogee theme song music*
    15. Re:it's all relative by Anonymous Coward · · Score: 0

      Pro Tools only works with Digidesign hardware. You can't use multiple sound sources at all. Ie, plug in a USB mic and you can't use it in PT.

      Multiple sound sources could refer to software as well as hardware; I see no need to jump to conclusions.

      Also, what does 'the quality of sound is 100%' mean? I'd bet a dollar that you just had the mixer in Linux turned down.....

      Now that was trolling. The poor sound quality of alsa is a recurrent theme mentioned by several posters in this discussion.

    16. Re:it's all relative by nausea_malvarma · · Score: 1

      I tried Ubuntu studio on several different machines, and had no luck at all. If you try Pro Tools on the Mac, I'm sure you'll see what I'm talking about.

      I have tried pro tools on a mac, and ubuntu studio, and I have no clue what you're talking about.

      Look, enough with this "Just Works" crap. Things either work or they don't. So yeah if you get a program to run, it "just works" for you. Well I had no trouble getting ardour to work on linux. So I guess that "just works" too? I plug in my audio interface, and it just works. I get jack to connect my audio programs, and it just works.

      Now, pro tools did not "just work" for me. I had to do some serious configuration to make it work with my hardware.

      Just because you installed a program and you had no trouble getting it to do what you want doesn't mean that other users have the exact same experience. This "Just works" stuff is a mac meme that might trick most of the computer buying public, but until you can put it in quantifiable terms, I ain't convinced.

    17. Re:it's all relative by Anonymous Coward · · Score: 0

      "Multiple sound sources could refer to software as well as hardware; I see no need to jump to conclusions."

      You can use multiple software sound sources with Jackd/Ardour. It's kinda the point of Jackd.

      "Now that was trolling. The poor sound quality of alsa is a recurrent theme mentioned by several posters in this discussion."

      I'm a sound engineer. I can't hear anything wrong with ALSA.

      If people are hearing problems then it could be clipping or too quiet from bad mixer settings, accidental tone control changes, aliasing from the sample rate converter in pulseaudio, perhaps other things. To say ALSA 'sounds bad' though doesn't tell me anything.

    18. Re:it's all relative by Gordonjcp · · Score: 1

      For composing in the computer, with soft synths and samples etc, Cubase and Ableton rule.

      And yet there is no Windows or Mac softsynth that sounds like a TB-303. Sure there was Rebirth 10 years ago, but that's long gone and sounds pretty crappy by comparison these days. It's not a difficult synth to emulate. There are some funny wee tricks, but nothing *very* hard. Why isn't there a VST? There's a DSSI, it's not even like it would be hard for a VST programmer to port.

    19. Re:it's all relative by mR.bRiGhTsId3 · · Score: 1

      You'd think that it's Just Works or not, but there are oh so many shades of grey. This is particularly true of sound. For instance, Ubuntu is theoretically capable of outputting sound to external/usb soundcards, but the default functionality is not provided. Instead, you have to install about 6 pulseaudio management programs that have a horrendous ui and then figure out what source/sink option provided actually results in sending sound to the external sound card. I classify this as "Working." It certainly doesn't "Just Work" because it took me about an hour of reading documentation to figure out what needed to be done. On the other hand, the same task in Vista results in new sound streams being switched to the USB device automatically. This would be an example of "Just Works"

    20. Re:it's all relative by Anonymous Coward · · Score: 0

      'm a sound engineer. I can't hear anything wrong with ALSA. If people are hearing problems then it could be clipping or too quiet from bad mixer settings, accidental tone control changes, aliasing from the sample rate converter in pulseaudio, perhaps other things. To say ALSA 'sounds bad' though doesn't tell me anything.

      Four words: hiss, snap, crackle, pop. Nothing wrong with my mixer settings, but you won't likely believe that because apparently it breaks your world or something. Also, sound degrades and gets tinny and distorted suddenly, for no apparent reason. I've experienced this on several distros, on several (supported) machines. The exact same hardware running OS X performs flawlessly. Posting AC because my karma's taken enough of a beating for telling the truth around here. And just so you know, I probably know a lot more about using Linux than most people here, and I use it for everything -- except pro multitrack recording.

    21. Re:it's all relative by ciderVisor · · Score: 2, Informative

      Pro Tools [is a] toy, though. No serious musician would use [it] for anything other than quickly sketching out an idea.

      Pro-Tools is the industry standard DAW software. You are BadAnalogyGuy and I claim my free pair of Foster Grant sunglasses.

      --
      Squirrel!
    22. Re:it's all relative by Anonymous Coward · · Score: 0

      The biggest issue with Linux drivers in general seems to be hardware vendors fearful their crap will be visible. The community will write the drivers for them, if they would give specs. The problem is always proprietary hardware that has its warts hidden with proprietary drivers. If, vendors must hide everything, then they need to create an abstraction layer to hide the guts, but allow all OSes easy implementation of said hardware. Too much time is spent reverse engineering hardware in order to get any driver at all for open source OSes.

    23. Re:it's all relative by ciderVisor · · Score: 1

      You should really learn a little bit more about the software that is out there.

      Trust me, I've searched far and wide. Could you point me to a piece of Linux software which could allow me to upload General MIDI files to my Yamaha YDP-140 digital piano, or let me edit patches in real time on my Nord Modular (first generation) synth ?

      I also notice you didn't address the lack of equivalents to Reason and Ableton Live under Linux. Really, your post is very condescending; the software for my purposes is not out there, other than under Windows.

      --
      Squirrel!
    24. Re:it's all relative by Anonymous Coward · · Score: 0

      "Nothing wrong with my mixer settings, but you won't likely believe that because apparently it breaks your world or something. "

      I just don't find your experiences particularly believable.

      Things like the sound suddenly getting distorted and tinny are major failures, and would make watching a DVD impractical.

      But people do, and TV boxes/media centres are built with Linux+Alsa.

      That a particular driver could be bad, I can well understand, but generally it works ok.

      I use the real time kernels for serious audio stuff, but the recent generic ones with ubuntu are not too bad for latency. There are some mailing lists for linux audio issues. If you "probably know a lot more about using Linux than most people here", perhaps you need to ask in a different place?

    25. Re:it's all relative by GroovyTrucker · · Score: 1

      I'm sorry you have to boot into your monochromatic machine's native operating system...After all, ALSA only tries to work with a bajillion different sound cards instead of just the one or two that OSX has to deal with natively. Even if you have a third party sound card, and I'll bet it's one of the better supported ones since you do audio work, the fact is that since a software company will make money off of you for ProTools you won't have to cobble together a sound driver yourself. Let's see you program a sound driver for ALSA *OR* OSS and then I'll listen to you complain. I've worked with the ALSA source code myself and it works well enough for a VOLUNTEER EFFORT!!! Convince a major music software publisher to create a Linux version (and promote it, and at least attempt to sell it) and we'll get professional sound drivers written by the card manufacturers instead of the (often miraculous, since we don't always have specs) amateur ones we get for free.

      --
      I can be moderated as Inciteful...
    26. Re:it's all relative by Danzigism · · Score: 1

      haha funny how you mention Yamaha when a lot of their digital pianos are actually running linux. such as the Disklavier Mark IV. so yea.. bye bye.

      --
      *plays the Apogee theme song music*
    27. Re:it's all relative by Anonymous Coward · · Score: 0

      All FUD. The fact you are using Gentoo and having problems is probably half your problem. The tools you choose to use are NOT the fault of GNU/Linux- they are your own. Apple and Microsoft by your own evaluation would be just as bad or maybe even worse!

      You know, when i read moronic bullshit like that I sometimes wonder for a moment why don't I just stick with OS X. Why should I spend endless hours every other month or so trying to get a satisfactory result out of various Linux distros, anyway? Then I remember, I love Linux in spite of assholes like you. And I hope one day to be able to say with pride, "I recorded, mixed, and mastered this project all in Linux, using nothing but FOSS!". And when that day arrives, it will be in spite of, not because of, idiots like you. Burying your head in the sand may make you feel better in the short term, but it doesn't get the work done.

      More than likely when that day does come and you are able to produce that track the same douche bag will say it would of been better if you used X app on Y distro. Sometimes the distro/app wars are worse than the OS war. You would at least hope the Linux zealots would at least be able to get along amongst themselves. *sigh*

    28. Re:it's all relative by Anonymous Coward · · Score: 0

      Let's see you program a sound driver for ALSA *OR* OSS and then I'll listen to you complain. I've worked with the ALSA source code myself and it works well enough for a VOLUNTEER EFFORT!!!

      Oh, that's really productive. Thanks for confirming what so many people hate about Linux -- the self-righteous, asshole zealots spewing excuses! You should be taking notes and asking questions, but no -- it's better to just blame the people actually trying to use the software. Congratufuckinglations, retard. We can do without your kind.

    29. Re:it's all relative by GroovyTrucker · · Score: 1

      Thank you for confirming what I always thought about Linux users as well-nothing but a bunch of freeloaders. You bitch and bitch but you do *NOTHING*. Bug reports are one thing, but instead of giving useful info the parent just says "How wonderful OSX is!!! We should all complain about Windoze!!! And Linux!!!" ALSA and OSS get better by *contributions* to the code base. Get on the mailing list. Talk to the maintainers. I'm hearing all kinds of useful information about problems from many in this discussion, but the parent goes on a rant about how he'd like to claim that his audio project was created on Linux. He has all this *expertise* about what he finds wanting. My view is that he's comparing apples and oranges. Using Apple's operating system is just like using Windows. You get drivers you *pay* for because there are people willing to pay for it. Many here forget that 4Front Technologies also offers driver development for payment. "But audio drivers ought to be FREEEE!!!" Well, you get what you pay for. I helped get my laptop supported by reading the tech specs from Intel and IDT and read the ALSA source to get mine to work, not to mention I'm on the mailing list-they are *very* helpful there. The parent (and YOU) contribute nothing! Yet you complain. I *am* reading the complaints here about mixing problems and sound quality and pulseaudio issues. Yet you cuss me out. And the parent says "How wonderful OSX is!!!" Then *stay* there. We'll get to the top with or without the likes of either of you. But if we fail, it won't be because we didn't try. Stay away, we don't need either of you. Oh, and by the way, these issues are discussed on the mailing list almost every day.

      --
      I can be moderated as Inciteful...
    30. Re:it's all relative by harlows_monkeys · · Score: 1

      haha funny how you mention Yamaha when a lot of their digital pianos are actually running linux. such as the Disklavier Mark IV. so yea.. bye bye.

      What does that have to do with anything? Just because a device runs Linux doesn't mean ti can do anything useful as a peripheral on another Linux system.

    31. Re:it's all relative by Anonymous Coward · · Score: 0

      [quote]And just so you know, I probably know a lot more about using Linux than most people here[/quote] Saying stuff like that might have something to do with aforementioned karma problem. Back on topic, I'm sorry to hear you've had problems with ubuntustudio. I haven't. I have the exact same problems you describe, except on macs and windows. So if you need to pay $10K+ for a working recording system, go for it. I'll stick with a $500 computer, $1.5K sound card, and $0 in software, because it works fine for me.

    32. Re:it's all relative by Gordonjcp · · Score: 1

      Pro-Tools is the industry standard DAW software.

      Round here, Pro Tools is what they use in colleges and very small studios. Maybe it's a UK thing.

    33. Re:it's all relative by jimicus · · Score: 1

      I'm going to get modded down for this, but what the hell.

      How long did you say you'd been trying to do everything in Linux for? 4/5 years?

      In about 2001 I swore never to run Windows on my own computers ever again.

      Which was great while I was at university and could spare the time to mess around with Linux. It wasn't too bad when I'd just graduated. But today were I to use Linux I find I would still - eight years later - have to mess around with the same crap I did back then to get desktop stuff (printers, audio, graphics tablets etc) to work. With the added bonus that Linux has become sufficiently popular in the interim that punching your error message into Google is just as likely to bring up a forum post which is obviously written by the blind leading the blind as it is to bring up an answer.

      I don't believe the IT industry is ready for a fully F/OSS solution on the desktop. Which is a pity because until it is, we'll be stuck with exactly the same kind of rubbish.

      I'm using a Mac today. Smartest move I ever made.

    34. Re:it's all relative by Anonymous Coward · · Score: 0

      By your comment I assume:

      -you installed linux on a random, old, spare machine. Or on your crappy mac.

      and then went to compare it with a mac. Wich is an expensive machine that you pay a high apple tax so that the hardware is ok for mac osx.

      so, stop whinning and go spend the same you spent on the mac on a box built after a quick forum research.

    35. Re:it's all relative by Danzigism · · Score: 1

      I was referring to this comment: "Real penetration into the pro audio world, guys !" which is complete bullshit.

      --
      *plays the Apogee theme song music*
    36. Re:it's all relative by Anonymous Coward · · Score: 0

      so, stop whinning and go spend the same you spent on the mac on a box built after a quick forum research.

      The post you replied to may have been a troll or just someone who's as frustrated as I am. Let's put it this way, a working band already struggling with overheads on rehersal space, transport and gear isn't going to rush out and spend money on a new computer when they're doubtful the software will even work.

      I've used ardour and jackd on both OSX and linux. The linux laptop I was using is a little low powered but worked fine for tracking on a stock xubuntu install until I foolishly decided to update (I had planned to use a wiimote to control ardours transport). My requirements are otherwise simple, I don't care about latency since I'm using hardware monitoring and only ever record in tape mode. Through attempts to get ardour 2.8 working I've tried arch, gentoo, (x86) 64 studio and ubuntu studio. I've tried both freebob and ffado without success, I use xfce and fluxbox, I kill all processes I don't need, I build stripped down kernels, eventually I custom build the entire software stack. All in vein as when I do finally get jackd/ardour 2.8 up and running, nothing but xruns -- totally unusable. We practise 4 times a week, we gig, we work, we don't have the time to mess about with ardour.

      So basically what I'm seeing is that pro audio on linux has taken a huge step back. This aging laptop is more than capable of recording and playing back a few tracks of 44.1k audio, it was performing fine for 18 months.
      On a macbook pro which I have occassional access to, the ladspa plugins are unstable and there's issues with xruns and glitching audio even there. My 1" 8 track is looking cheaper and more feasible for recording duties than ardour right now!

    37. Re:it's all relative by Anonymous Coward · · Score: 0

      Hiya.

      The nord editor will run in Wine. (The Nord modular synth version works too!)

      You can upload General midi files from any midi sequencer. Rosegarden should do fine.

      To your third point... Reason and Ableton are useful, but just programs. You can do the same kind of thing with other Linux software. You need to concentrate on what music you want to make, rather than what brand names you think you need.

    38. Re:it's all relative by Anonymous Coward · · Score: 0

      By your comment I assume

      No assumption necessary, troll. GP said the soundcard is "supported".

    39. Re:it's all relative by Anonymous Coward · · Score: 0

      "Oh, and by the way, these issues are discussed on the mailing list almost every day."
      So what you're saying then is that the OP has a valid point, but you personally are sick of hearing about it everyday and think that Linux users should code their own solutions or STFU. Yeah, it's definitely you we don't need, buttmunch.

    40. Re:it's all relative by Anonymous Coward · · Score: 0

      Maybe try using PCLinuxOS and Studio 64:

      http://www.linuxplanet.com/linuxplanet/reports/6782/1/

    41. Re:it's all relative by Anonymous Coward · · Score: 0

      I just don't find your experiences particularly believable. Things like the sound suddenly getting distorted and tinny are major failures, and would make watching a DVD impractical.

      Believe it or not, DVD playback != multitrack recording. It's perfectly plausible that your consumer-level use of ALSA works fine, and that setting up a DAW does not, even on a [claimed] supported configuration.

  7. but that can't be! surely with a community of devs by Anonymous Coward · · Score: 1, Funny

    Linux has no reason for such a core feature to be so lacking, let alone for a feature to get *worse* in time.

  8. Sorry - It's still pretty "sorry"... by sdsucks · · Score: 2, Interesting

    Really, it is.

    It can be a pain in the ass to get working still, and is buggy.

    I'm sure it works well for some, but many others still have problems.

    1. Re:Sorry - It's still pretty "sorry"... by sdsucks · · Score: 1

      .. and don't even get me started on some of my high end HTPC cards, thats just talking about my laptop onboard audio.

      Linux is still a big fat fail here.

    2. Re:Sorry - It's still pretty "sorry"... by sdsucks · · Score: 0, Flamebait

      Aww flamebait? Thats the best you could do? Must be a pulse audio developer. Fact is, it sucks.

    3. Re:Sorry - It's still pretty "sorry"... by Anonymous Coward · · Score: 0

      What's a 'high end HTPC card'?

      Don't tell me, a Creative audio card with shitty drivers?

    4. Re:Sorry - It's still pretty "sorry"... by Q-Hack! · · Score: 1

      .. and don't even get me started on some of my high end HTPC cards, thats just talking about my laptop onboard audio.

      Linux is still a big fat fail here.

      PEBKAC?

      --
      Some days I get the sinking feeling Orwell was an optimist.
    5. Re:Sorry - It's still pretty "sorry"... by Fred_A · · Score: 1

      I'm sure it works well for some, but many others still have problems.

      It usually works for me but my typical gripe on the end user side is with the mixers. Here are the channels for my motherboard audio (HDA intel) :

      • Master
      • Front
      • Surround
      • Center
      • LFE (no idea what this is)
      • PCM
      • CD
      • Headphone
      • Front Mic
      • Front Mic Boost
      • Side
      • Line
      • Mic
      • Mic Boost
      • IEC958 (huh ?)
      • IEC958 Default PCM
      • PC Speaker
      • Capture
      • Capture 2
      • Channel Mode (6 or 8 speakers apparently, why 8, does it do top and bottom ?)
      • Input Source (is that different from Capture ? or Line ?)
      • Input Source 2

      Ok, so I can use 2 headsets and 2 mikes at the same time, which can probably come in handy sometimes. And capture at least 4 sources at once. Yay.

      Of course I also have a "USB sound card" in my keyboard (kind of weird I know), and my USB DTV thingie is also seen as an audio source, so there's an other mixer.
      All in all it's certainly not very convenient to use. And figuring what app outputs where can be lots of fun too.

      At least I finally have audio in Flash on my laptop with ?ubuntu 9.04. I'd wrestled with that for months and never got it to work.

      --

      May contain traces of nut.
      Made from the freshest electrons.
    6. Re:Sorry - It's still pretty "sorry"... by sdsucks · · Score: 1

      Good thought!

      Is this the new linux fallback explanation? If something doesn't work under linux, surely it's the users fault! Oh wait... I guess that's been the explanaton for awhile, according to some.

      Don't get me wrong, I like linux and am involved with it in many ways, but your answer was completely idiotic.

  9. PulseAudio... by Ponga · · Score: 5, Insightful

    In theory pulseaudio is great. In practice, it sucks. Nevermind, it sucks in theory too :(

    1. Re:PulseAudio... by Anonymous Coward · · Score: 0

      I remember getting my ass chewed off on the Ubuntu forums for daring to suggest Pulseaudio was less than perfect when Ubuntu switched to it. Pulseaudio was going to solve everything and if I didn't get that I was an idiot who shouldn't have a computer. Still waiting for it to work properly let alone solve all these problems it was going to solve.

    2. Re:PulseAudio... by RiotingPacifist · · Score: 1

      switched from debian lenny to fedora and the biggest PITA was defenitly pulseaudio, and thats coming from somebody who cant use yum/rpm or selinux for shit.

      --
      IranAir Flight 655 never forget!
    3. Re:PulseAudio... by PiSkyHi · · Score: 1

      Right On!

      ALSA may not be perfect, but now it has software mixing, it beats pulse hands down. I followed pulses promises, each time I would try it - get the latest sources, I'm not even the type to be too concerned about latency. Each time, pulse would blow me away in what it could do for me and then within minutes of having it configured for my different sound devices, it would do something stupid, like lose a stream, freeze an app, even an app like mplayer that has native pulse support. Pulse never played music without inserting intermittent pops.

      I maybe doing strange things like tweaking realtime scheduling on different apps as I process batch conversions on idle nice whilst playing HD videos with realtime priority. ALSA handles this perfectly BTW.

      Maybe this is why pulse hates me.

      Bloat and instability, I don't care if pulse can juggle 5 balls and pee into the bowl at the same time, it never takes long for it all go wrong.

    4. Re:PulseAudio... by Anonymous Coward · · Score: 0

      > even an app like mplayer that has native pulse support.

      native PulseAudio support (almost as much as ALSA back in the day) is more likely a guarantee for issue.
      The API is not quite as hooribly complex as ALSA, but it has even less documentation, it does not specify which functions need locks (because they stupidly decided to _not_ offer an API that avoids exposing internals like that PulseAudio is threaded), and in case of MPlayer specific the driver was written by the PulseAudio author and he randomly either added locks or omitted them.
      Of course, everyone thought that since he is the PulseAudio author he'd know and that would be just fine (hey, there was no documentation to check that!), whereas in reality it was just ridiculously buggy code that was just missing the locks in half the places.
      Now combine that with the fact that Ubuntu ships with an MPlayer version that is ancient and misses about two years of bug fixes, and in the beginning shipped with PulseAudio support that was explicitly rejected by the MPlayer maintainers because it was so bad, I have to say people have been really, really lucky if they only think it "sucks".

  10. Re:State Of Linux Pretty Fucking Sorry After All by Gareon · · Score: 1

    Giving a troll any sort of encouragement makes me a bit nervous but I agree. Something akin to movies - why write good dialogue when it it so much easier to blow something up?

    --
    "The man who fears no truths has nothing to fear from lies." --Sir Francis Bacon
  11. What are we trying to achieve? by Just+Some+Guy · · Score: 5, Interesting

    Yes, Linux audio sucks. If nothing else, we have three common and incompatible APIs to perform a single tasks, and none of them are definitively better than the others. So, my question: what exactly is it that we're trying to achieve? What's the end goal of creating newer APIs instead of perfecting the old ones, such as moving from OSS to ALSA to whatever they roll out this month?

    For comparison, FreeBSD uses multi-channel OSS. You can have a whole passel of processes writing to /dev/dsp simultaneously, because whenever a process attempts to open it, the OS spawns off a new copy. It Just Works. I'm a little amazed that my FreeBSD server's sound handling is so much better than my Linux desktop's and requires approximate zero client configuration. So again, what was Linux hoping to achieve by dropping old "obsolete" OSS in favor of increasingly complex solutions?

    --
    Dewey, what part of this looks like authorities should be involved?
    1. Re:What are we trying to achieve? by caffeinemessiah · · Score: 4, Insightful

      So again, what was Linux hoping to achieve by dropping old "obsolete" OSS in favor of increasingly complex solutions?

      As far as Ubuntu is concerned, its the same inane neophyte behavior that "obsoleted" Xmms and BMPx in Jaunty in favor of the iTunes wannabe Amarok, which I find much less stable and cumbersome to use. There was absolutely nothing wrong with Xmms as a Winamp-style media player that was quick, efficient and could handle Internet radio and almost all the popular DRM-free formats, yet it was automatically removed with other "obsolete" software. Yes, I can compile it again from source, but it just seems a bit obnoxious. BMPx was another simple media player that was quite nice, albeit with the occassional bug, and it too has been "obsoleted".

      For all the evangelism of the Ubuntu community, why are we being driven towards solutions that mimic the proprietary soup-du-jour (iTunes in this case)?

      --
      An old-timer with old-timey ideas.
    2. Re:What are we trying to achieve? by dozer · · Score: 4, Insightful

      "So again, what was Linux hoping to achieve by dropping old "obsolete" OSS in favor of increasingly complex solutions?"

      Linux deprecated OSS2, which everyone agrees sucks hard. It was a no-brainer.

      OSS3 is significantly better but it was only recently open sourced. Frankly, if the OSS devs hadn't spent most of the last decade with their heads firmly wedged, audio on Linux would probably be in a much better state. Ah well.

    3. Re:What are we trying to achieve? by jedidiah · · Score: 1

      This stupid FUD magnified by outsiders that fixate on it takes hold an even
      eventually gets parroted by actual Ubuntu users. Ultimately, real users
      fixate on the FUD to the exclusion of real problem analysis.

      --
      A Pirate and a Puritan look the same on a balance sheet.
    4. Re:What are we trying to achieve? by RiotingPacifist · · Score: 3, Informative

      yeah it had nothing to do with BMPx no longer being maintained! as for xmms i suspect that gtk1.x is no longer being maintained. Canonical can't be arsed to maintain a few old winamp style players when there are many other well maintained ones about :O

      --
      IranAir Flight 655 never forget!
    5. Re:What are we trying to achieve? by RiotingPacifist · · Score: 1

      while agree that PulseAudio is not ready for the primetime:
      1) the three APIs are not that incompatible as they always include legacy modes for old apps.
      2) I never figured out how to stop audio playing if a 2nd user logged in with alsa, but it happened by default with PA.

      IMH(umble)O it would have been better for PA's features to be implemented as scripts around ALSA, but those doing the work thought differently and as im too stupid and/or lazy to do it myself, I have to live with a slightly broken PA until its finished!

      --
      IranAir Flight 655 never forget!
    6. Re:What are we trying to achieve? by Anonymous Coward · · Score: 0

      Mod parent up. ALSA was simply necessary. The main problems with ALSA is the obscure API and configuration system. There are also issues with how some default behaviors and such. And inconsistent driver behavior.

      So, it's not perfect. But I'd much prefer for it to be fixed rather than to move back to OSS. On the desktop we can afford competing toolkits and such. But when it comes to the hardware interfacing stuff, the result of competing APIs might result in no drivers for any audio hardware at all.

      So, go ALSA!

    7. Re:What are we trying to achieve? by Joe+Snipe · · Score: 1

      You can have a whole passel of processes writing to /dev/dsp simultaneously, because whenever a process attempts to open it, the OS spawns off a new copy

      Good god, I want that.

      --
      Sometimes, life itself is sarcasm...
    8. Re:What are we trying to achieve? by the_womble · · Score: 1

      Yes, I can compile it again from source

      Or you could just ada third party repo that has it.

    9. Re:What are we trying to achieve? by Hatta · · Score: 3, Informative

      There was absolutely nothing wrong with Xmms as a Winamp-style media player that was quick, efficient and could handle Internet radio and almost all the popular DRM-free formats, yet it was automatically removed with other "obsolete" software. Yes, I can compile it again from source, but it just seems a bit obnoxious.

      You want Audacious.

      --
      Give me Classic Slashdot or give me death!
    10. Re:What are we trying to achieve? by Anonymous Coward · · Score: 0

      Well, if you're not an astro-turfer throw in a cheap shit drive and try out FreeBSD. I think it's better than Linux, but see what you think, and then decide. Just for kicks though be aware, although snd_hda sounds fabulous on my machine, I get sound out of every app that is supposed to spit out sound; except firefox3 (.0.11). FreeBSD *is* some kind of curve, but I don't give a damn.

    11. Re:What are we trying to achieve? by PitaBred · · Score: 1

      Xmms and BMPx use GTK, and development on them has pretty much stalled from what I can tell. Amarok is Qt, and should only be with the KDE desktop. Besides, you can still install XMMS if you really want to, it's in the repos no source compilation needed (check for xmms2). What the hell are you blathering about?

    12. Re:What are we trying to achieve? by pablomme · · Score: 1

      So again, what was Linux hoping to achieve by dropping old "obsolete" OSS in favor of increasingly complex solutions?

      To remove floating-point operations (like sound mixing) from the kernel, I believe.

      --
      The state you are in while your HEAD is detached... - wait, what?
    13. Re:What are we trying to achieve? by Joe+Snipe · · Score: 1

      I may do just that. how well does it handle sound for the multi-user? (such as the ability to mute or terminate sound on locked TERMs).

      --
      Sometimes, life itself is sarcasm...
    14. Re:What are we trying to achieve? by amRadioHed · · Score: 4, Informative

      Xmms is no longer maintained either, the developers have all moved on to Xmms2. So yeah, distro's don't include software that's been abandoned upstream.

      --
      We hope your rules and wisdom choke you / Now we are one in everlasting peace
    15. Re:What are we trying to achieve? by fishbowl · · Score: 3, Informative

      Xmms2 is just plain weird. I don't get it at all, and the amount of effort I put into trying to understand it was not rewarded.

      I felt lucky to discover Audacious, which I found by accident.

      --
      -fb Everything not expressly forbidden is now mandatory.
    16. Re:What are we trying to achieve? by Anonymous Coward · · Score: 0

      Hell Yes.

      Is there anyone in the know who can comment on why this is not done in Linux? Perhaps, is there some issue with this working in principle for output but not input (microphones, etc.)?

      OSS is generally my fall back solution when some app won't play audio any other way. I would love to see it become the default, everything could be so much simpler.

    17. Re:What are we trying to achieve? by Anonymous Coward · · Score: 0

      I've been a Ubuntu user since Dapper and the choice to ditch Xmms pisses me off. Also, PulseAudio has sucked in my experience. I don't usually give heed to what other people say and had no idea pulseaudio was unpopular until after my own troubles.

    18. Re:What are we trying to achieve? by fatalGlory · · Score: 1

      Any BSD/Linux devs who can shed light on why bsd does this and not linux? It sounds like a perfect, treat-everything-as-a-file, "unixy" solution.

      --
      Censorship is the opposite of education. If neo-darwinism were defensible, people would not need to try and censor ID.
    19. Re:What are we trying to achieve? by ebingo · · Score: 2, Insightful

      I don't see what you see in Amarok that makes you think it's an iTunes wannabe. I see all the contrary. But I am with you with the fact that Amarok 2 is unstable and cumbersome. For some reason, going from 1.4 to 2 was a big regression in term of usability. But try Amarok 1.4, it's great, and far from being an iTunes clone. I hate iTunes, but love my Amarok 1.4.

      On the other hand, Rythmbox IS an iTunes wannabe, for anyone who wants an iTunes clone on Linux, I think Rythmbox is the way to go.

    20. Re:What are we trying to achieve? by amRadioHed · · Score: 2, Interesting

      I think the main difference is that they broke it up into a client/server design. The advantage of that being the freedom to use whatever UI you like.

      In theory that sounds like a good idea, but I've never tried it since the development was going pretty slowly.

      --
      We hope your rules and wisdom choke you / Now we are one in everlasting peace
    21. Re:What are we trying to achieve? by uhmmmm · · Score: 4, Informative

      Off by one. Linux deprecated OSS3, and OSS4 is now opensource.

      And not only does it work better (in my admittedly little experience with it), it's also more in keeping with the UNIX philosophy of treating devices just like any other file. Sure, with ALSA you do have device files, but you pretty much have to use alsalib to use them AFAIK. With OSS, you get to use the standard UNIX file APIs.

    22. Re:What are we trying to achieve? by LoRdTAW · · Score: 1

      I moved to audacious, Xmms2 just seemed to be too bulky and gimmicky. I just want to play audio files.

    23. Re:What are we trying to achieve? by peppepz · · Score: 1

      Linux has one (1) API to perform that single task, and that API is ALSA.
      Linux dropped OSS *seven years ago* because OSS simultaneously sucked and became commercial.
      And nobody complained because, on the contrary of what you say, ALSA provides seamless compatibilty with OSS.
      So the statement "we have three common and incompatible APIs to perform a single task" is two times false.

    24. Re:What are we trying to achieve? by advocate_one · · Score: 1

      yes, I have Audacious... but it inexplicably stops playing every now and then... whereas Xmms just carried on playing for days on end... I was happy with Xmms... I'm p'd off at the Ubuntu devs who just dropped it... at the very least it should have been put into the world repository but not removed completely...

      --
      Donald 'Duck' Dunn: We had a band powerful enough to turn goat piss into gasoline.
    25. Re:What are we trying to achieve? by Anonymous Coward · · Score: 0

      hint: Ubuntu doesn't really package very much stuff themselves, in large part (>95%??) they just ship rebranded Debian packages verbatim. Debian finally dropped support for the obsolete libraries which Xmms needed many years after they were abandoned, so Xmms had to go. I too am/was a huge fan of Xmms and Xmms2 is a completely different piece of s**tware. But I discovered Audacious. With the classic Xmms skin fools me into thinking I am still in simpler times. Is it as good as Xmms? Perhaps not on the surface. But for me it's good enough and if I get bored there's always ogg123 and mpg123.

    26. Re:What are we trying to achieve? by PastaLover · · Score: 1

      In gnome I'm using banshee atm. I guess the interface could be reminiscent to itunes to some, but I don't use itunes so I wouldn't really know. It's always been tons better than rhythmbox tho.

    27. Re:What are we trying to achieve? by Anonymous Coward · · Score: 0

      Thanks for the link but what made XMMS so good was all the plugins. Many of the plugins listed to audacious, lead to 404s. The first, really good one I discovered straight after downloading XMMS, was kompressor crush (called something like that), which normalized the volume of mp3s and compensated for flaws in files (and actually did a good job at it). Arguably, development of that plugin ceased long before XMMS was given up on but it was really, really good so I always compiled it from source to be able to keep using it. For control, xmms-kde (or was it kmms, there were two) was fantastic, tiny controls in the system tray. All you needed was available without popping up any menu - previous/next song, pause, stop, play, volume, song name shown and volume control by scrolling the mouse wheel over it (I used that instead of kmix for all apps). The LIRC plugin was also so much better than any LIRC control for other players - you could type in song names as an SMS on your remote to select one and it had really, really good prediction, which it showed on the screen (once you had the beginning of the band name, it jumped straight to possible song titles and so on).

      Most of all, I miss a plugin I wrote myself but the fact that it became impossible to use, is not the fault of the XMMS developers. I got the idea from a pre-existing but no longer working plugin, I wrote a plugin which let you control XMMS through IBM's ViaVoice - I could shout at XMMS to control it, which was really neat when doing something which made it hard to carry a remote (read: chores). I never got to releasing it since IBM removed the Linux version of ViaVoice from their site long before I had to stop using XMMS. I still have it, though, and am contemplating making a dedicated box solely for playing music since ViaVoice has problems with newer versions of OSS (I made that plugin in 2000 IIRC), which was why I could no longer use it even though I kept using XMMS (until upgrading to KDE 4). Damn, now I feel like looking for a Debian ISO from 2000...

    28. Re:What are we trying to achieve? by TheRaven64 · · Score: 2, Interesting

      OSS became commercial (non-Free) and so new versions couldn't be imported into the Linux or FreeBSD kernels. It also lacked in-kernel software mixing, so if your sound card didn't support multiple channels you could only have one device playing sound at once. At this point, the two camps went in different directions.

      The FreeBSD team kept adding features to the open source version of OSS. They followed the 4Front APIs, and included support for mixing. They maintained backwards compatibility with all of the existing software, and exposed newer features to new software via new ioctls. FreeBSD now supports most of the OSS4 APIs with their own code.

      The Linux team decided that OSS was now evil and proprietary, so they deprecated the OSS3 APIs in favour of the new ALSA APIs. ALSA fixed the problem of sound mixing but, unfortunately, did it in userspace. I say unfortunately, because the OSS compatibility APIs in ALSA are implemented in the kernel. This means that you can't have two 'legacy' (read: portable) OSS applications playing sound at the same time.

      The moral of this story is that throwing away a working code base and starting again rarely produces better results than incremental improvements. Oddly enough, in spite of this you still get a lot of people claiming that Linux is ready for the desktop, while FreeBSD isn't.

      --
      I am TheRaven on Soylent News
    29. Re:What are we trying to achieve? by qieurowfhbvdklsj · · Score: 2, Interesting

      So again, what was Linux hoping to achieve by dropping old "obsolete" OSS in favor of increasingly complex solutions?

      Some people have it in their heads that the only things that should be in kernel space are things that absolutely have to be, and everything else should be in user space. Since mixing doesn't absolutely have to be in kernel space, they decided to do it in user space. ...but, from user space, you can't receive device file ioctls, and so the userspace portion is alsalib, which is C, which means that if you want to use ALSA, you have to write in C. Sure, you could link to the libraries in any compiled langauge, but you'll still need those header files, and they're only in C.

      Moronic decisions such as this piss me off. The purpose of a monolithic kernel is to provide services for applications so that they don't have to run on bare hardware, instead they run on an idealized system, regardless of the features of the actual hardware. For example, we don't say that you need ten CPUs to run ten processes at once, so why should my sound card have to have ten hardware mixers to play ten audio streams at once? The kernel multitasks the CPU, but why not the sound card?

      Doing the bare minimum in each process is a micro kernel design. Personally, I'd prefer a micro kernel, but Linux just isn't designed that way, and trying to both at once just gives you the worst of both designs.

      Another area that really pisses me off is video drivers. X11 should not be the video driver, it should be an ordinary application that implements the X11 protocol via the kernel's video API. It's very slowing moving in that direction, but it's far from there yet. Things like "/dev/fb0" are bare-minimum solutions, for example, they don't implement console switching. Writing to the device writes directly to the screen no matter which console you switch to.

      It's really dumb. The kernel has full and complete drivers for network cards, USB devices, hard drives, and everything else except audio and video where it does the bare minimum, creating situations where, for example, typing "killall -9 X" leaves your system completely fucked, whereas what should happen is that X11 dies, and the kernel kicks the console back to the text mode it was in before X11 asked for a graphics mode.

    30. Re:What are we trying to achieve? by qieurowfhbvdklsj · · Score: 1

      Sure, with ALSA you do have device files, but you pretty much have to use alsalib to use them AFAIK.

      Yes. I could use OSS just fine via assembly language, but ALSA was impossible due to the fact that assemblers don't accept the C header files necessary to use the ALSA API. Essentially, ALSA is a C-only API, which sucks if your favorite language isn't a derivative of C.

    31. Re:What are we trying to achieve? by GPLHost-Thomas · · Score: 2, Informative

      Seems that you never heard about Audacious, which is a fork, and that now a lot of people use.

    32. Re:What are we trying to achieve? by Anonymous Coward · · Score: 0

      I couldn't say, I'm not an Uber-user. But right now, as a test, I'm playing an mpeg in vlc and streaming audio from dronezone via xmms (not xmms2) and there is definitely 'two audios' coming out of the speakers. No clipping either. FreeBSD. Always behind. Always nice. Now that my chausson is gone I'll hack some more on the firefox3 issue. Maybe it's the wrapper script...

    33. Re:What are we trying to achieve? by moonbender · · Score: 1

      Because Ubuntu is Linux for human beings, and human beings tend to like iTunes and similar players. I know you don't, but there are plenty of options catering to people who like using minimalist players and managing their music themselves. And I hear foobar2k works great using Wine.

      --
      Switch back to Slashdot's D1 system.
    34. Re:What are we trying to achieve? by fishbowl · · Score: 1

      >I think the main difference is that they broke it up into a client/server design. The advantage of that being the freedom to use whatever UI you like.

      "Client Server" for a music player? I can understand for a music *production* system, or for OS- or Desktop- level audio service, but if a normal end-user cannot simply install it and play music, it's not meeting it's primary goal!

      I'm a programmer who has worked on audio applications and other DSP, I've been running Linux since at least 1993, and I couldn't get xmms2 to play an mp3.
      Maybe there's a distro that sets up a nice basic xmms2 front-end that simply works, but I haven't seen it.

      On the other hand, audacious was the solution.

      Don't get me wrong -- it's not the apparent complexity of the system that bothers me. I've had good luck with ecaSound and I totally love Jack for production and processing. But a music player is a different category of app, the category that the average drunk party guest needs to be able to operate :-)

      --
      -fb Everything not expressly forbidden is now mandatory.
    35. Re:What are we trying to achieve? by FrankieBaby1986 · · Score: 1

      Amarok 1.4.10 all the way, the new Amarok bites. What the hell where they thinking, anyway? 1.4.10 is far better, IMHO than winamp-style, can use (needs to use?) a mysql backend (large collection is WAAY slow on sqlite), and keeps the concept of a "now playing" list.

      --
      ERROR: SIG NOT FOUND (A)bort, (R)etry, (F)ail?:
    36. Re:What are we trying to achieve? by Anonymous Coward · · Score: 0

      You can still do it "the UNIX way" with ALSA. Sure, you can't tell your script to write to /dev/dsp, but you can tell it to write to aplay :)

      But this being said, why would you want to use /dev/dsp from the shell anyway? Any decent sound app will have to do some complicated manipulation of the sound device, file or not. Now, you have to choose between keeping track of ioctls and things that you can actually read. Either way, you can't use the shell to do it.

      If you can't use the shell directly with it, then why complain about its UNIX-ness? What next? Have video cards export /dev/opengl? ALSA does export files in the UNIX sense, just that you can't cat /dev/urandom into them, which wasn't that useful anyway.

    37. Re:What are we trying to achieve? by Anonymous Coward · · Score: 0

      because the users that say something request this! They want an itunes clone, an office clone, whatever. They want what they have now.

    38. Re:What are we trying to achieve? by LingNoi · · Score: 1

      You have failed to read the article which states that OSS v4 is open source and performs much better then ALSA.

    39. Re:What are we trying to achieve? by peppepz · · Score: 1

      No, you have failed to read the message I was responding to, which asked "What's the end goal of creating newer APIs instead of perfecting the old ones, such as moving from OSS to ALSA", so I answered "Linux dropped OSS because it became commercial". There was no OSS v4 at the time, and OSS v2 performed much worse than ALSA.

  12. He makes one excellent and crucial point by vadim_t · · Score: 4, Interesting

    And that is that ALSA's way of handling mixing is completely moronic.

    As an user, I care about hearing sound first of all. Sound quality (no pops or crackles) comes second, latency comes third.

    There should always be sound mixing, with no ifs, buts, exceptions, or configuration required. It should be there by default for anything that tries to play sound, whether through ALSA or the OSS backwards compatibility.

    The result of this nonsense is that crap like pulseaudio continues to exist, which is CPU hungry, often skips, fails to work with some programs and crashes frequently (what the hell is up with that?).

    Is there any document out there which explains why /dev/dsp doesn't get mixing with ALSA? And why nobody tried to patch that yet?

    1. Re:He makes one excellent and crucial point by cras · · Score: 4, Informative

      Is there any document out there which explains why /dev/dsp doesn't get mixing with ALSA? And why nobody tried to patch that yet?

      Yeah, TFA explains it.. Here's it in short: /dev/dsp goes to kernelspace, while ALSA does mixing in userspace. I've no idea how difficult it would be to make ALSA do sound mixing in kernelspace.

    2. Re:He makes one excellent and crucial point by Anonymous Coward · · Score: 0

      There should always be sound mixing, with no ifs, buts, exceptions, or configuration required. It should be there by default for anything that tries to play sound...

      No, there really shouldn't. Mixing can incur some pretty serious latency unless all applications use the same buffer size and data format. Basically, real time/low latency audio apps will need exclusive access.

    3. Re:He makes one excellent and crucial point by Anonymous Coward · · Score: 3, Informative

      they make it in userspace because of floating point, I think. No FP is allowed in the kernel. So alsa does it in userspace.

      Just get a card that does not suck (like an audigy 2) and mixing is a non-issue.

    4. Re:He makes one excellent and crucial point by vadim_t · · Score: 1

      No, there really shouldn't. Mixing can incur some pretty serious latency unless all applications use the same buffer size and data format. Basically, real time/low latency audio apps will need exclusive access.

      No, it really should. Because most people right now are using a sound card that doesn't mix in hardware. So when the sound system for some stupid reason refuses to mix, what happens is that users don't get sound because some other program is using the device already.

      Again, that it works comes first. Latency is secondary.

    5. Re:He makes one excellent and crucial point by a09bdb811a · · Score: 5, Informative

      There should always be sound mixing, with no ifs, buts, exceptions, or configuration required. It should be there by default for anything that tries to play sound

      There is. ALSA's dmix has been enabled by default for a long time, years. Have you even tried Linux? I can't remember the last time I had to 'configure' sound on Linux. Insert sound card, mixer shows up, play sounds. From the ALSA wiki: "NOTE: For ALSA 1.0.9rc2 and higher you don't need to setup dmix. Dmix is enabled as default for soundcards which don't support hw mixing."

      The result of this nonsense is that crap like pulseaudio continues to exist

      No. Sadly, pulseaudio exists simply to copy Vista. Vista introduced per-application mixers and apparently this is a Cool New Feature that everybody supposedly wants, even if it's a shitty implementation that slows down what was a perfectly working sound system.

      Is there any document out there which explains why /dev/dsp doesn't get mixing with ALSA?

      If you bothered to try, you'd find that it does.

    6. Re:He makes one excellent and crucial point by Qzukk · · Score: 1

      Then the answer is for those applications which need special access to use the existing functionality of the system to provide that (eg O_EXCL and telling the user to shut off their other applications if it fails) rather than crippling 99.9% of the applications that don't give a damn.

      --
      If I have been able to see further than others, it is because I bought a pair of binoculars.
    7. Re:He makes one excellent and crucial point by simcop2387 · · Score: 1

      the main problem with that though is the number of applications that THINK they need to be realtime/low latency audio but don't need to be

    8. Re:He makes one excellent and crucial point by Just+Some+Guy · · Score: 1

      hey make it in userspace because of floating point, I think. No FP is allowed in the kernel.

      Is it that difficult in this case to emulate floating point with integers (0 => 0, 1 > 2^32 - 1)?

      --
      Dewey, what part of this looks like authorities should be involved?
    9. Re:He makes one excellent and crucial point by Anonymous Coward · · Score: 0

      > The result of this nonsense is that crap like pulseaudio continues to exist

      My first experience with pulseaudio was in a recent Ubuntu. It was not a pleasant experience. I noticed straight off that the daemon would take ~25% of the CPU on a 2.2 GHz Athlon 64 even while idle. Googling around found hundreds of other people with the same problem, yet denials and ignoring from the devs.

      Anyway, my experience with audio on Linux is mixed. Alsa usually "just worked" out of the box on normal consumer hardware. Nothing I've found yet has worked with professional hardware. With consumer hardware, everything is fine but sometimes, for no reason I can tell, sound will just *stop working*, and it takes hours of fiddling with commands and config files to get it working again.

      Some apps only have a string for you to enter an ALSA sound device, but there seem to be about 5 different formats of those, and it's just trial and error to figure which work in which app.

      When Linux sound works, it works. When it doesn't, it's horribly unclear how to make it work again.

    10. Re:He makes one excellent and crucial point by vadim_t · · Score: 5, Informative

      There is. ALSA's dmix has been enabled by default for a long time, years. Have you even tried Linux? I can't remember the last time I had to 'configure' sound on Linux. Insert sound card, mixer shows up, play sounds. From the ALSA wiki: "NOTE: For ALSA 1.0.9rc2 and higher you don't need to setup dmix. Dmix is enabled as default for soundcards which don't support hw mixing."

      Yeah, it's supposed to work, but for some reason for me it doesn't.

      And have you looked at that page? It's full of listings of arcane incantations. Really, I just want the darn audio to always get mixed, without having to get a degree in audio engineering to understand what's going on there.

      If you bothered to try, you'd find that it does.

      See the dmix page, which says "Normally (without hardware mixing) you cannot use /dev/dsp multiple times directly."

      So it seems that if you have onboard audio, and want to have more than one app use /dev/dsp, you're out of luck.

    11. Re:He makes one excellent and crucial point by Anonymous Coward · · Score: 1, Interesting

      dmix doesn't work for OSS emulation, its a different path, so if you have an app that uses OSS and want software mixing with the ALSA apps you're screwed. I've got plenty of those it seems including commercial games.

      It is still a mess. Setting up ALSA is not awful but not great. Why should I have to know to edit /etc/modprobe.d/alsa-base and explicitly add this:
      options snd-emu10k1 index=0
      options snd-hda-intel index=1,2
      in order to get my Audigy2 to take /dev/dsp and not the onboard Intel HDA or the onboard HDMI output? Don't know if that second line is right, good luck finding documentation on it but it works. Oh I know I can make another card the 'default' one for ALSA but that doesn't help the OSS part. Jeez...

      OSS emulation isn't just for *old* apps, its for new ones too where the developer takes one look at the ALSA API, barfs, trudges through alsa wikis, sparce documentation and decides screw this, I'll use the OSS API. Much cleaner.

      The new OSS is cool, mostly a one man show though but its new mixer API is a major headache. Kind of sympathise since the new hardware is also a headache.

      So what do I do? Give up on getting ALSA and OSS to play nice with the onboard HDA and scour amazon marketplace for an old Audigy2 with a well supported emu10k1/2 that has hardware mixing. Ahhh sanity at last. Its damn silly really.

    12. Re:He makes one excellent and crucial point by jimicus · · Score: 1

      As an user, I care about hearing sound first of all. Sound quality (no pops or crackles) comes second, latency comes third.

      Which is fine if all you're doing is playing back MP3s. Those people trying to compose music, however, can't do anything useful if they have to put up with poor quality or latency and probably rate all of those things as equally important.

    13. Re:He makes one excellent and crucial point by Karellen · · Score: 1

      That'd be fixed point, not floating point.

      --
      Why doesn't the gene pool have a life guard?
    14. Re:He makes one excellent and crucial point by Anonymous Coward · · Score: 0

      >Just get a card that does not suck (like an audigy 2)

      "does not suck" is not what comes to mind when I think of Audigy 2

    15. Re:He makes one excellent and crucial point by Randle_Revar · · Score: 1

      >From the ALSA wiki: "NOTE: For ALSA 1.0.9rc2 and higher you don't need to setup dmix. Dmix is enabled as default for soundcards which don't support hw mixing."

      Maybe the wiki says that, but I have never personally seen dmix work.

    16. Re:He makes one excellent and crucial point by nystire · · Score: 1

      It doesn't suck, it positively vacuums. Sucking would be a few steps up for it.

    17. Re:He makes one excellent and crucial point by moonbender · · Score: 1

      No. Sadly, pulseaudio exists simply to copy Vista. Vista introduced per-application mixers and apparently this is a Cool New Feature that everybody supposedly wants, even if it's a shitty implementation that slows down what was a perfectly working sound system.

      I gotta say, per-application volume control -- in whatever OS -- always seemed like a fairly useless feature to me. Virtually all applications that generate sound already have an internal volume control independent from the system master. I've had PulseAudio for over a year now, and I haven't used this feature once.

      What I DO need is easy configuration of multi-channel audio. First of all, all the channels (front left, rear right, etc) need to be mapped correctly. And I'd like for stereo inputs (e.g. music) to be expanded to the rear channels. PulseAudio does this, but it wasn't easy to set up. I really, really want a GUI for it. More and more it seems like going back to alsa would have few downsides and a couple of upsides. I think I'll try it out on my netbook, which is more resource-starved anyway.

      --
      Switch back to Slashdot's D1 system.
    18. Re:He makes one excellent and crucial point by Blakey+Rat · · Score: 1

      No. Sadly, pulseaudio exists simply to copy Vista. Vista introduced per-application mixers and apparently this is a Cool New Feature that everybody supposedly wants, even if it's a shitty implementation that slows down what was a perfectly working sound system.

      And yet somehow Microsoft managed to add their Cool New Feature without fucking up their perfectly working sound system. I love it when Linux fans talk about how crappy Microsoft engineering is-- while at the same time they can't even come close to replicating it.

    19. Re:He makes one excellent and crucial point by Anonymous Coward · · Score: 0

      It's not a problem to do mixing in kernel space. OSS does it. FreeBSD does it. There have been attempts to make alsa do it. The problem is that it is not wanted by the alsa and linux kernel developers, who don't want mixing in the kernel. That's why mixing with alsa will never work this way.

    20. Re:He makes one excellent and crucial point by vadim_t · · Score: 1

      First of all, there are a lot of people wanting to play mp3, and a very few trying to compose. Especially on Linux.

      Second, somebody composing music is unlikely to be using onboard audio anyway. They probably have a fancy soundcard of some sort.

      Third, if good latency comes at the cost of no mixing, it's quite possible that this composing software won't be the one that gets to use the soundcard, and it doesn't matter what the latency is when you're not getting sound at all.

    21. Re:He makes one excellent and crucial point by GF678 · · Score: 1

      I gotta say, per-application volume control -- in whatever OS -- always seemed like a fairly useless feature to me. Virtually all applications that generate sound already have an internal volume control independent from the system master. I've had PulseAudio for over a year now, and I haven't used this feature once.

      I have. In Vista (and Windows 7) I can mute the audio from Firefox so that I can play Free Tetris online and listen to my music without hearing any annoying sound effects. The game doesn't have a way to mute the audio, so I can do it though the audio subsystem of the OS. It's nice to have the capability, so please don't dismiss something just because you don't use it.

    22. Re:He makes one excellent and crucial point by StringBlade · · Score: 1

      Linux does a miserable job at audio with multiple sound cards. For many years I've had two sound cards: one on-board and one add-in card. To this day Linux randomly assigns the sound card order upon boot so it's a crap-shoot to get the sound card you want as the default card without manual configuration.

      I've tried setting the default in Ubuntu but that never seems to take hold. The only way to get the same sound card as the default (aside from running a script on boot that calls 'asoundconf set-default-card 1' is to edit the alsa-base.conf file in modprobe.d/ and explicitly set the index of the card I want to 0 and the rest to -2.

      To me this level of configuration detail is unacceptable. In Windows if I have two sound cards and the wrong one is chosen as default, I simply open the sound options, select the sound card I want as default and I never get bothered by it again. Why can't it be that simple in Linux regardless of whether we're using OSS, ALSA, or PulseAudio?

      --
      ...and that's the way the cookie crumbles.
    23. Re:He makes one excellent and crucial point by ivoras · · Score: 1

      See the dmix page, which says "Normally (without hardware mixing) you cannot use /dev/dsp multiple times directly."

      I think it works in OSS; at least it works as expected in FreeBSD which uses OSS.

      --
      -- Sig down
    24. Re:He makes one excellent and crucial point by Anonymous Coward · · Score: 0

      There should always be sound mixing, with no ifs, buts, exceptions, or configuration required.

      I don't fully agree with that part. Sure it should be there by default, most people expect it. But it shouldn't always be there. Some of us want to be able to turn it off.

      Originally, Alsa didn't have mixing by default. At some point I upgraded Alsa, not knowing the default had changed. However, I did notice one thing: The latency had become crappy. And with a keyboard -> midi -> soft synth -> sound card, latency is very noticeable. It basically makes the system useless. When I finally found out that software mixing was the reason, I turned it off, and things work great again.

      But, you say, OSS doesn't have that problem.

      Yes, and you're right (according to the article). At least, it's a lot smaller. Any software processing, including mixing will add a latency. I am however willing to accept that it is not noticeable.

      The second reason is applications. You know, those annoying things, that tend to go DING or BOING, etc, all the time... I don't want them mixed into the sound. Not when listening to music, not when using my IP phone, and definitely not when using the keyboard. With OSSv3 or Alsa with dmix turned off, they get an I/O error from the sound device, and they shut up. That's how I want it to be.

      Yes, I'm one of the people who when using Windows, go to sound settings and select "none". And do so after every service pack or driver update, because the setting keeps getting changed back. On Linux, I don't have that problem. Only one program can use MY sound card at the time, and that's the way I want it.

  13. Pulse Audio: the best gift the Linux world gave M$ by Zombie+Ryushu · · Score: 5, Insightful

    Pulse Audio is a bloody disaster. It breaks just about every audio application I have, and even when its not running, it creates over runs and under runs in other ALSA and SDL audio applications (like ZSNES). ALSA, and SDL audio was the perfect sound abstraction system. Pulse Audio screws EVERYTHING up. I have to makle my own patched RPMs to get rid of Pulse Audio hooks in applications. Its bad. Its really bad.

    Audio applications should use ALSA but not lock the card. Games should use SDL. Everyone else should follow suit.

    If an application is locking a card its the drivers fault. Fix the driver, fix the over runs, and ditch Pulse Audio!

  14. ALSA was a mistake by Anonymous Coward · · Score: 4, Insightful

    ALSA was a big mistake, from the same mold as the Netscape "Let's throw everything away and start again!" that Jamie Zawinski complained about all those years ago. For some reason the ALSA developers decided that OSS sucked but rather than fix the few issues that existed, they threw it all away and created this huge monster called ALSA. There are some nice ideas in there, such as generic PCM buffer management, but there is no reason those features could not have been added to the existing OSS implementation. OSSv4 proves that it was possible. Instead Linux has plumped for a system that is too complex, poorly supported, poorly documented and disliked by developers. If instead the effort had been applied to fixing OSS, sound on Linux would now be further ahead than it is now. Now that OSSv4 is fully GPL I'd love to see it back in the mainline tree, at least to give users better choice, but sadly I suspect there are some major egos and political posturing that will stop that happening.

    1. Re:ALSA was a mistake by sweetnavelorange · · Score: 0

      ALSA was a big mistake, from the same mold as the Netscape "Let's throw everything away and start again!" that Jamie Zawinski complained about all those years ago

      I agree with your sentiment, but this is a tricky example - Netscape's 'mistake' gave us Firefox after all.

    2. Re:ALSA was a mistake by Anonymous Coward · · Score: 0

      Yes, but I'd refer you back to Jamie Zawinski on why the ends did not justify the means: we would have arrived at Gecko if the existing codebase has not been chucked away, and possibly we'd have got there quicker.

    3. Re:ALSA was a mistake by Anonymous Coward · · Score: 0

      OSS sucked because it was payware. If you bought a new soundcard, you had to pay to expect it to work properly. If you wanted all the features to work on your card, you had to pay to get them all. If you wanted mixer support, you had to pay for it. Oh, yeah, sure, you could hack up the kernel OSS as much as you liked. Big deal. The payware version was already done and you knew your changes would get wiped out once they decided they made enough money from the commercial ones to "give back" to linux.

      ALSA's goal was to give you everything the payware version of OSS gave you, but for capital-F Free the moment the features were publicly available. It did that well.

      OSS went into obscurity for linux after ALSA kicked their collective asses. I'm willing to bet 4front would offer it all for free, now, considering what they got by not doing that.

    4. Re:ALSA was a mistake by Anonymous Coward · · Score: 0

      OSS sucked because it was payware.

      Eh? There was always an OSSv2/v3 implementation in the kernel up until ALSA replaced it. The kernel implementation was totally separate from the 4front implementation. If you didn't want or need the extra stuff 4front gave you, you didn't have to use it.

      ALSA's goal was to give you everything the payware version of OSS gave you

      They couldn't simply have improved the in-kernel OSS instead because...?

    5. Re:ALSA was a mistake by sjames · · Score: 1

      AGREED!!

      OSS is quite easy to use and even has sane defaults. Open /dev/dsp, set the sample rate and channels, start writing audio data. In many cases that's all that's needed. ALSA wants me to write war and peace just to get the thing initialized. It would help if the documentation wasn't written like old BASIC code where you have to jump all over the place just to get the whole story for a single function call.

    6. Re:ALSA was a mistake by GlassHeart · · Score: 4, Insightful

      If instead the effort had been applied to fixing OSS, sound on Linux would now be further ahead than it is now.

      You hear this a lot in the open source circle. Many projects have close competition (Gecko/KHTML, KDE/Gnome, etc.) where this comment might apply. The problem is that "fixing the few issues that existed" is frequently not only very hard, but also very boring. Put another way, if it was fun and/or easy, the original developers would've already done it. IOW, this is probably crappy work that you have to pay people to do, and unfortunately free software doesn't usually pay, so volunteers gravitate towards the fun and easy (at least, perceived to be easy), which is often to start a new exciting project.

    7. Re:ALSA was a mistake by Anonymous Coward · · Score: 0

      OSS did suck. OSS4 is also a complete rewrite.

    8. Re:ALSA was a mistake by renoX · · Score: 1

      >>ALSA was a big mistake, from the same mold as the Netscape "Let's throw everything away and start again!" that Jamie Zawinski complained about all those years ago
      >
      >I agree with your sentiment, but this is a tricky example - Netscape's 'mistake' gave us Firefox after all.

      Firefox is working sure, but it has an awful design compared to Chrome..
      So even with a full rewrite they couldnot get the design right, I really don't think it was worth it.

    9. Re:ALSA was a mistake by Ckwop · · Score: 1

      I find that the attitude "This system is rubbish, we need a rewrite" is the surest sign of a junior developer. Everyone who has read anything about the history of building software systems know that this attitude will only lead to failure.

      ALSA is a classic example of the second system effect. They took something that worked but had some limitations and replaced it with an absolute monster that doesn't really work, even today.

      It is often the case that the most important work in making a great application is the most dull. Desktop Linux projects have a lot to learn in this respect.

    10. Re:ALSA was a mistake by cheesybagel · · Score: 1

      Chrome is just yet another browser which uses Webkit/KHTML. Better to use the proper names. The problem with Gecko (Firefox) is that they used to advertise it as compact, but it grew into a huge bloated mess fairly quickly.

    11. Re:ALSA was a mistake by renoX · · Score: 1

      >Chrome is just yet another browser which uses Webkit/KHTML. Better to use the proper names.

      I'm using the proper names: I'm comparing the architecture/design of the browsers not of the rendering engines.
      Chrome use smartly process and sandbox to provide better resource management, responsiveness, fault isolation and security; Firefox put everything in the same process which make it fragile, doesn't tell the user which website is using all the cpu|memory when it happens and it can also freeze due to the lack of process/thread use, not very good for a total rewrite..

  15. Audio sounds better on Windows by Anonymous Coward · · Score: 1, Interesting

    The audio quality is disappointing on Linux. I don't know if it's the decoding or the playback, but audio sounds much better on Windows.

    1. Re:Audio sounds better on Windows by Anonymous Coward · · Score: 0

      You are correct!

  16. Still have problems by bogaboga · · Score: 1

    Until developers can write apps and be sure that they will behave as he expects when it comes to sound across the vast majority of distros, I am afraid that we in the Linux world will still be playing catch up when it comes to multimedia. Sadly, the article did not show that things are improving in any way!

    So much for the so called "freedom of choice"...but what's wrong with choosing a technology and throwing all development efforts behind it?

    Those who crave the freedom to do whatever they want can still do precisely that since Linux and most software that makes a distro is open source.

    The mere fact that there are folks that "spread FUD" is indicative of a degree of problems when it comes to Linux and sound.

    1. Re:Still have problems by MikeFM · · Score: 1

      Choice is good. We should always have competition. But it's the kernel maintainers and distro maintainers to package those choices into something end users and developers can work with. It's ridiculous that sound doesn't work well in Linux at this point in time. There should be a single stable API and everything else should be easily plugged in and out as needed with a known good implementation also provided as the default. Don't allow programs to break sound for each other and make sure everyone can input and output. The specifics can change over time so long as those points are maintained behind a stable API.

      I can choose Coke, Pepsi, Sprite, or Dr. Pepper and count on them all coming in containers that work to the same specifications. It'd be ridiculous if each choice forced us to figure out a new way to access and consume the product or if you couldn't use the same cup, straw, and ice with any of them.

      --
      At what price learning? At what cost wisdom? The price is a man's peace of mind, and the cost is his life.
  17. The fundamental problem by parlancex · · Score: 5, Insightful

    The real problem here was created when developers started trying to solve the mixing issue by writing software libraries instead of a specification.

    Instead of attempting to write a one size fits all sound library that would interface directly with the sound hardware and provide the direct interface for applications who wish to play sound, what they should have been done was drafting a specification for an API that contains only the most basic audio features (creation of primary / secondary audio buffers, enumerating supported device buffer formats, etc.). The driver provides the implementation for the specification. If the device driver indicates the device is capable of hardware mixing, it should use hardware mixing internally, if it doesn't, it uses software mixing internally, if supports the use of hardware buffers for secondary buffers it can do so, but this all will take place within within the driver specific implementation of the standard specification. This should have been paired with a robust generic open source driver that (hopefully) supported as many generic audio devices as possible. Using the interface exposed by the spec directly might seem a little low level, but additional software libraries could be built on top of that interface for use by applications. The important advantage if they had gone down THIS road is that the single conduit, the arbiter of all things audio in the system would've been the device driver for the sound hardware, which would reside neatly in the kernel.

    1. Re:The fundamental problem by Anonymous Coward · · Score: 1, Insightful

      What you describe is more-or-less what the Open Sound System is. Mostly less from what I seen, but like a lot of *nix based things, only a few minor tweaks should modernize it to what you describe.

      Sadly, Linux switched over to ALSA, a complex beast that while improving audio on Linux initianlly (from the user's view, well mine as a user), it ended up doing little to improve the user-space situation: audio servers are still common and implement most of ALSA's most importent features (such as mixing for cheap hardware). In the end, ALSA is simply a complex mess thats a pain to configure to make it work better, and a pain to program for, and your programs will still only use ALSA thru a sound server, or at the very least a sound API wrapper library.

      It would have been better to simply improve OSS, add the damn software mixing in it (that will fix most problems user's had with it), and leave the rest to userspace tools. Nice, clean, simple.

    2. Re:The fundamental problem by Anonymous Coward · · Score: 1, Interesting

      I do not understand how Alsa differs from the in-kernel specification you are proposing. It exposes every possible hardware feature via a well-defined common api.
      Moreover, I don’t think many programmers get excited about managing audio buffers and performing sample rate and format conversion, so they would still need a userspace library to do at least those jobs (the kernel can’t even do floating point!). So here comes PulseAudio, which gives the developers a far greater freedom than any kernel-based implementation could ever do. How would you deal in-kernel with features like sound over bluetooth, user-provided codecs, sound over the network, or sound redirection for whatever reason you could ever think of?

    3. Re:The fundamental problem by jd · · Score: 4, Interesting

      I agree with the specification point, and agree that the lowest level API should be as basic (and standard) as possible. Then, once you have that, you can layer whatever higher-level architecture you like on top, as the low-level drivers are "just there" and will "just work".

      However, this doesn't help applications, necessarily. I would argue to help apps writers, you need to standardize the glue between layers, such that sound and commands can be passed from one layer to another in a predictable manner. Innovators can always add new commands that are parsed by their own injectable layer.

      I would also argue that it's impossible to chain userland software a-la JACK via the kernel efficiently, as you've a double context switch per element in the chain. Since transforms are CPU intensive, you want to do the fewest composite transforms possible, which means a software mixer should be something you can chain, which means that the heavy-lifting mixer needs to be in userspace.

      (Either that, or you're going to need LADSPA and LV2 support in the kernel, plus some way of coaxing "smart" sound cards into supporting such effects. Since the kernel developers would force the first coder who tried to submit such a patch to walk the plank, I don't see it as likely.)

      This would leave the low-level mixer for mixing between kernel threads (rather than between applications per-se) and normalizing the inputs. If we're not having to normalize values anywhere else in the process, we should end up with improved quality and less latency. (Anything that mucks with precision hurts quality, and any operation at all hurts latency.)

      --
      It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
    4. Re:The fundamental problem by Anonymous Coward · · Score: 0

      What you describe is a real mess. Depending on the level you look at, ALSA does provice a basic sound API, then the next level is a lib that builds on that basic API, and you have in-kernel drivers that implement the device-specific basic functions. What else do you want?

  18. 10 Years From Now You'll Be Writing The Same Thing by Anonymous Coward · · Score: 1, Insightful

    Except the sound project names will be different.

    The way they fail to match commercial OS sound systems will be somewhat different in detail but equally abysmal.

    There will be the same "Works for me!(tm)" posts.

    The only hope for Linux to get a commercial quality sound system is if one or more major commercial companies with competent grownups take on the task and have people sitting at desks 40 hours a week doing real work.

    The open source "competing teams of bearded GNU freaks taking their sweet time working on competing projects because "choice is good(tm)" in their spare time between bong hits and World of Warcraft raids" isn't something anyone should be waiting around to start finally delivering commercial quality software engineering solutions.

  19. Finger on the pulse by Wowsers · · Score: 1

    I actually like the concept of PulseAudio. For the first time different applications that use the sound system can have their output levels adjusted individually, and most importantly for anyone new to Linux - easily. So there are no more surprises between a quiet application and a loud one.

    As for stability, PulseAudio has been pretty rock solid, it hasn't crashed, but on boot VERY occasionally it decides to re-route all the outputs from the speakers to the USB headset, then you have to spend an age finding all the applications that play audio and set them back to the sound card.

    The one major irritation is not a fault of PulseAudio as such, but with Skype. Being 32bit you have to have some 32bit parts of PulseAudio installed to hear the sounds of events like someone calling you. I un-installed the 32bit PulseAudio stuff, and can no longer hear these Skype events. So it's more of a critique on Skype totally ignoring Linux and 64bit (2 years and counting from the last Skype update for Linux).

    So really, for me PulseAudio is very good, so long as the applications are compiled to use the 64bit sound system, and not just the 32bit like Skype is. For me, 32bit who cares!

    --
    Take Nobody's Word For It.
    1. Re:Finger on the pulse by LingNoi · · Score: 1

      For the first time different applications that use the sound system can have their output levels adjusted individually

      RTFA. According to it, OSSv4 can do this too and many other things.

  20. KISS by MikeFM · · Score: 3, Insightful

    I hate PA. It's a complex mess and half the time it just doesn't want to work right. There is no way your average user could deal with it. Most of the time I have trouble with it not allowing multiple users to have audio at the same time seemingly due to some twisted sense of how security should work. ALSA is better than PA but still doesn't work a lot of the time.

    It sounds like OSS is getting it's act together and just needs someone to hire the lead developer(s) and port all cards missing OSS support over. That sounds like a worthy goal for those selling distros or soundcards. If it works well and is easy for developers then it'll work well for end users. That is what matters. Sound has been my #1 embarrassment when pushing Linux. It has never worked well and it's time we get it fixed.

    --
    At what price learning? At what cost wisdom? The price is a man's peace of mind, and the cost is his life.
    1. Re:KISS by Anonymous Coward · · Score: 0

      It's quite easy, the first thing I do after installing Linux (Ubuntu in my case) is:

      apt-get purge pulseaudio

      and then audio works fine. I can watch flash movies, talk on Skype, and even listen to mp3s all at once.

  21. Fud? Er, no... by mad.frog · · Score: 3, Informative

    Both the Adobe article and the "Sorry State Of Sound" article date from May 2007. The new article reinforces that the state *was* sorry then.

    1. Re:Fud? Er, no... by Randle_Revar · · Score: 1

      No, not that much has changed. The diagram and accompanying complaining was always exaggerated - the problems (and there are problems, then and now) were not as bad as they where made out to be - or in some cases, the stated problems didn't really exist, and the real issues where ignored.

  22. Let Me Speak For Slashdot And Open Source World by Anonymous Coward · · Score: 0, Funny

    "Yes, Linux audio sucks."

    No it doesn't - it works for me. You're an idiot and/or a Microsoft astroturfer.

    "If nothing else, we have three common and incompatible APIs to perform a single tasks,"

    Choice is good. More choice is better. Duh. Don't you read Slashdot?

    "and none of them are definitively better than the others."

    Wrong. Sound system A > B and C. Sound system B > A and C. and Sound system C > A and B. A survey of the comments in this story will clearly back that up.

    "For comparison, FreeBSD..."

    Ok now you've done it. A GNU Strike Team is heading to your location right now.

    1. Re:Let Me Speak For Slashdot And Open Source World by Just+Some+Guy · · Score: 2, Informative

      No it doesn't - it works for me.

      I use an obscure distro called "Ubuntu" that halfway switched to PulseAudio during the latest release, breaking half the audio on my system until I uninstalled it. PA might be a great thing but the current state of it, right now, today, on the most common Linux systems, ain't so hot.

      You're an idiot and/or a Microsoft astroturfer.

      Cute, kid. Run along.

      --
      Dewey, what part of this looks like authorities should be involved?
    2. Re:Let Me Speak For Slashdot And Open Source World by drinkypoo · · Score: 1

      I use an obscure distro called "Ubuntu" that halfway switched to PulseAudio during the latest release, breaking half the audio on my system until I uninstalled it. PA might be a great thing but the current state of it, right now, today, on the most common Linux systems, ain't so hot.

      I use that same obscure distribution. On my system, it did NOT install pulseaudio (I may have installed the day before the release or something) and I had to install it and follow PerfectSetup before audio stream mixing would even work (HP's implementation of snd-hda-intel hw == poop)

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    3. Re:Let Me Speak For Slashdot And Open Source World by Just+Some+Guy · · Score: 1

      I got it "for free" with the dist-upgrade. I didn't really have an opinion on PA before then (and still don't have much of one; Ubuntu making a few mistakes doesn't mean it's inherently bad) and only removed it because its new presence was breaking a lot of previously-working sound on my system.

      --
      Dewey, what part of this looks like authorities should be involved?
    4. Re:Let Me Speak For Slashdot And Open Source World by Gryle · · Score: 1

      It's possible to remove PA in Jaunty? I posted some audio questions to the forums and got replies that summed up to "suck it up and deal", which is quite unusual for the community. Why do so many people seem to gung-ho for PA?

      --
      Only two things are infinite, the universe and human stupidity, and I'm not entirely sure about the universe - Einstein
  23. Oss 4 in fedora? by TheSunborn · · Score: 1

    So does anyone know how to get oss working in Fedora 11?

    I am currently stuck with alsa, and after removing pulse audio, anything is more or less working. And xmms can even do it's own software mixing, but I would like to try oss4 so other applications also could do mixing. Does anyone know if there are ossV4 packages for fedora11 out there?

    ps: I hate the name oss, it always make me think of "open source software" not an audio stack.

    1. Re:Oss 4 in fedora? by joe+155 · · Score: 1

      I don't know, but I would just say congratulations on getting audio to work at all on fedora. I'm still on Fedora 10, but whilst sound used to work perfectly in Fedora Core 5 it seemed to just stop working sometime around fedora 9 and hasn't worked properly since.

      Interestingly the only solutions to my audio problems I read from people online were hacks like "change the sound up and down in alsa and it might start to work...". It's hardly a ringing endorsement of the audio on Linux. The first priority should be to make audio work on all systems that physically have the capacity for it before worrying about the more esoteric configuration options.

      --
      *''I can't believe it's not a hyperlink.''
    2. Re:Oss 4 in fedora? by TheSunborn · · Score: 1

      The solution is to remove pulse audio (Google fedora 11 remove pulse audio, there are enough guides and how to) and then fedora 11 will fall back to alsa which work exactly as in fedora 5/6

    3. Re:Oss 4 in fedora? by dbIII · · Score: 1

      http://terminal-variant.blogspot.com/2009/05/installing-open-sound-system-oss-in.html
      Just installed it as per the instructions on that link, rebooted and ran "mplayer -ao oss movie_filename" to play with good audio. To get vlc and other programs to work I may have to uninstall pulseaudio (annoying thing was making vlc stutter for 10 seconds at the start of every track anyway so I don't think I'll miss pulseaudio).

    4. Re:Oss 4 in fedora? by TheSunborn · · Score: 1

      I installed it and it almost work. I have oss sound in xmms but it did not install the alsa emulation layer, so now I can't use timidity -(

      And what is with the license. People here said that oss V4 were opensource, but the download page say
      "Open Sound System is now free for personal and non-commercial use" and
      "The license key is valid for up to 6 months at a time after which you will need to download and install OSS again"

      And the listed price is for oss "49.99$".

  24. kernel is fine, distros have problems by bcrowell · · Score: 2, Insightful

    TFA says that the way sound is implemented in the kernel is basically okay, but there are problems with how the kernel's facilities are used at higher levels by applications, and with the way the whole thing is integrated by distros. I think he's basically correct.

    As an example of what's not broke about the kernel, and doesn't need to be fixed, it's a good thing that we still have support for OSS. OSS allows you to do sound I/O in exactly the way you would expect to do sound I/O based on the fundamental design principles of unix. You just do open(), ioctl(), read() or write() on devices like /dev/dsp. If you couldn't do that, it would be a failure to do the obvious, straightforward stuff to handle sound in the Unix Way.

    As an example of what is broken at higher levels: I run Ubuntu Jaunty. Sound works fine every time I boot the computer, and I get the bongo sound as the login screen comes up. Then when I log in, master playback is muted, and the volume is down at 1/31. Also, the way the Gnome icon shows me that sound is muted (a tiny red box with a white x in it) is the same as the way the network icon would show me that I'd disconnected my ethernet cable or something; in other words, it makes it look like it's not just muted, but actually broken. Here's my best attempt to characterize the bug: Here's a bug on launchpad that may or may not be the same thing:

  25. Re:10 Years From Now You'll Be Writing The Same Th by jedidiah · · Score: 1

    ...not so much "work for me" but "who cares?".

    I am not an Audio professional. If someone whines about Qsynth taking
    up 100% the CPU on Jaunty, I really can't relate to them. You might
    as well whine at me about Gimp not being any good for making Matte
    Paintings or somesuch.

    --
    A Pirate and a Puritan look the same on a balance sheet.
  26. A sure road to success ..... by demachina · · Score: 5, Insightful

    ... when application developers or users express concern about a problem in your OS is to attack them, call them liars and FUD rakers, accuse them of being stooges for Microsoft or whatever.

    I'm pretty sure the engineer who develops the Flash Linux player is probably on your side, and he was expressing a legitimate concern about a problem with Linux. As best I remember Adobe hired him out of the open source, Linux world. It would probably be more productive to listen to his concerns, and see if maybe, just maybe, there is a problem with audio on Linux. Having tried to write simple audio apps myself using OSS and ALSA I can assure you they have issues, OSS having no mixer at all was a nightmare to make play with more than one audio stream or more than one app at a time, that's why ESD, arts and pulse were created to hide these mixer deficiencies.

    ALSA is a ridiculously overdone, convoluted audio API which makes it very painful for audio driver writers and application developers alike. It simply has too many knobs that can be tweaked and turned most of which never get implemented properly by driver writers and can't be trusted.

    The simple fact that there must be a dozen different audio API's on Linux many of which exist solely to hide applications and users from the deficiencies in OSS and ALSA tells you something right there.

    Rather than attacking this guy maybe you should have the empathy for the guy, he has to deploy an application that is used by probably millions of Linux users, most of whom are ticked off its not open source in the first place and then when it doesn't work perfectly they scream bloody murder. He has to try to make audio work in the face of the fact there are countless barely working or at least buggy ALSA drivers in the world, and there must be about a HUNDRED different ways to configure audio when you count OSS, ALSA, gstreamer, pulse, esd, arts, jack, OpenAL, and a MILLION different configurations when you count all the obscure options you can or in some cases HAVE to set on audio drivers.

    As an end user I've suffered through painful, hard to fix audio bugs, in just about every PC I've owned over the last ten years due to audio driver bugs. Sure I could sift through "supported" hardware lists and try to find that rare new PC or laptop where everything is guaranteed to work on Linux, but I would actually prefer to just buy the hardware I want at the price I want. Of course in all fairness to the Linux developer community it is a total bitch to get working drivers on all the PC hardware being put out especially when the vast majority of hardware developers either just don't support Linux, support Linux badly, or actively obstruct Linux support.

    You all seriously need to realize that if you want broader acceptance of your wonderful operating system:

    A. You need applications and application developers to develop for your system, and not attack them if they point out problems deploying apps on your system. In a perfect world every app would be open source, but there may be some apps which aren't Linux would be better off having as closed source than not having at all.

    B. it will have to actually work for ordinary people who aren't going to spend days/weeks/years fiddling with things to try to make it work right.

    One of the beauties of the Mac is the hardware is tightly controlled. You may view that as confining and depriving you of your freedom, but it also helps insure the damn thing works out of the box, and most of the applications on it work pretty damn well. After years of fighting nagging bugs on Linux I decided it was in my own best interest to just switch to a Mac for my desktop system and I use my Linux box solely to develop code on. Linux on the desktop is a lot better than it was but unfortunately its just not a very good desktop experience by comparison.

    Unless there is a major attitude adjustment in the Linux community that is unlikely to change. Either:

    A. Be content that Linux is a niche OS for hardcore fans a

    --
    @de_machina
    1. Re:A sure road to success ..... by jedidiah · · Score: 1

      This is not a police state. If you express an idea that the community
      might think is bogus, you will hear about it. The responses here are
      quite tame compared to individual project mailing lists (like the
      kernel).

      Although the bulk of the problem here isn't in the comments of the
      original developer but in how they are presented by others. Things
      get easily taken out of context or built into something that they
      really aren't.

      --
      A Pirate and a Puritan look the same on a balance sheet.
    2. Re:A sure road to success ..... by demachina · · Score: 4, Insightful

      "This is not a police state"

      The Linux and Slashdot communities are certainly not police states but sometimes they do degenerate in to "mob rule". In "mob rule" the people who excel at shouting others down and pandering to what the mob wants to hear often win even if they are wrong. I've excelled at it myself here sometimes :)

      I'm not sure if the problem is even in any of the the actual fracking articles no one reads, but more the trollish way things were worded in the submission to Slashdot, which seems designed to provoke a fight. The submission seems crafted to make Adobe look evil and bad, Linux look good, for no actual reason other than its certain to be red meat to the slashdot mob and sure to win acceptance with the /. editors. I hate Adobe and Flash as much as the next guy, maybe more, but from what I read in the blog of the Adobe Linux guy he seems to be a pretty decent guy trying to make good on a tough situation.

      IMHO, and it appears in the opinion of many others posting tonight, audio on Linux is deeply messed up, and its a leading factor in killing Linux acceptance on the desktop. Linus or other Linux kernel leaders seriously need to step up, lead a rational discussion of the problem, throw out all the old biases and misconceptions and come up with a rational fix. Audio on Linux has been bad for 10 years, its not getting any better and ALSA is more the problem than the solution, as are all the hacks like pulse, esd, arts, gstreamer, etc.

      Audio more than any other issue turned me and several others I've read tonight from Linux to Mac for our desktop, and I've been a Linux fan and desktop user for a long time as you can tell from my 5 digit /. user ID so it wasn't a switch I made lightly.

      The original submission makes it sound like audio on Linux is great and its only a bunch of whiners and evil corporations spreading FUD about Linux saying otherwise, which is pure mob rule pandering.

      --
      @de_machina
    3. Re:A sure road to success ..... by cboslin · · Score: 2, Interesting
      A great post, thank you, thank you, thank you. The fact is that Linux is in DIRE need of a good audio solution that is reliable across hardware, across distros, your API idea is spot on. It just seems logical. I wish I had cash and could afford to pay for the development effort. I would settle for a Manager/developer position with a company that is interested in doing this!

      For so many ALSA just works when it is installed, not for me.

      For so many OSS just works when it is installed, not for me.

      For a few, PulseAudio just works when it is installed, not for me.

      The one thing I will fault ALSA and OSS for, is not allowing multiple audio streams to play simultaneously without crashing the system; in all circumstances. The support forums are littered with issues like this. It definitely dos NOT work for everyone. At least handle one and play one, just choose one, but to crash and not play anything, that just sucks. And to force a reboot before working again, well that is a FAIL! This is not from my personal experience, as I have posted, I could not get any of them to work for my scenario, but based on days and weeks of searching through forum posts looking for solutions, I know I am far from alone.

      I read support requests for all three: ALSA, OSS and PulseAudio. So to date, outside of BSD (which I am currently NOT running, but may in the future) Linux + SOUND is a very REAL ISSUE! (see my solution at the end of this post, there is one solid solution, guaranteed to work)

      For any one of these to be the best solution, they must handle additional audio streams, from any source, without crashing the system. For instance, when my VoIP phone rings, and I answer the phone, the Audio Radio stream, CD playing, or Video should pause until I restart it and let me answer the phone and hear the person talking to me.

      Ideally if I want to listen to the music and watch a video at the same time, I should be able to mix in the sound levels and do that. The solution should have a way to handle it. Heck I should be able to hear the radio, video and VoIP phone all at the same time if I wanted this. I should be able to mix the sound levels and it should work.

      Back in the mid 90s I was using a midi keyboard to play a sound track, save it. Then use that same keyboard to play another sound track and save it. I could even convert what I played on the keyboard and make it seem like it was a different musical instrument. An Oboe, a flute, a trumpet, etc. The software (Audio Visual Communications 1.3 running on OS/2 1.2, when the marketeers would have you think only a MacIntosh PC could do this; I was doing it on both IBM PCs and MACs.) would then let me play back all the sound tracks together. I could literally create my own symphony.

      Based on what I read, this was one of the major things PulseAudio was going for that was NOT available in either OSS or ALSA. The fact that OSS had gone proprietary was not helpful either. I think they have both a proprietary and open source OSS solution today, but am not sure.

      And this was over a decade and a half ago. So Linux should have this today. Perhaps an API solution would allow for this, but first, just to handle multiple audio streams in an intelligent way without crashing the system would be HUGE!

      For anyone reading this that wants to avoid these types of issues, there is a solution. If your PC was installed with Linux out of the box, with everything you need: WiFi, 10/100/1000 Ethernet, Sound (audio), Video, Burn CDs, Burn DVDs, plug n play USB support, Ext Monitor support if a netbook or laptop, You should be okay!

      Stop going to any vendor and buying a PC with any other operating system installed on it. Only buy hardware with Linux pre-installed and you avoid allot of issues. Avoid vendor LOCK IN.

      A

    4. Re:A sure road to success ..... by Anonymous Coward · · Score: 0

      Windows has a mass of audio paths, too.

      PulseAudio is improving rapidly. The claims of code bloat, latency are provably false on many systems (1 ms.)

      PA is a monster right now because it's trying to be a swiss army knife for every application and driver every written or imagined. That will boil out over time and code is updated.

      There is a lot of old windows code and binaries that won't tun in their latest systems. Same for Macs.

      4Front and Hannu tried to burn linux with a required, for-pay library. I'm all for making a living with quality software on Linux, but I think end user applications are a much better place to make money--not internals.

    5. Re:A sure road to success ..... by peppepz · · Score: 1

      I really do not understand what you’re talking about, because what I see is that “the mob” is modding +5 whoever posts insightful messages such as “linux audio sucks” and “pulseaudio sucks”, with no argumentation whatsoever.

      You say there is “a community of people shouting others down” (which personally I have *never* seen happening, everyone shouts pretty loud in forums and mailing lists) and after ten lines you’re dismissing 10 years of audio development on Linux as “hacks” and “more the problems than the soultions”. Without suggesting solutions.
      You say you found a trollish tone in the submission, and then you fall into trollescent practices, such as labeling a whole group of different people as a monolithic “community”, pretending to detect a single “attitude” in it, and claiming this has to be “changed”, or spreading FUD such as “linux has a multitude of audio systems” when actually it only has one, and as a developer IF you choose to use one of the nice libraries you mentioned, you don’t even have to care about that, because the library will hide that from you.

    6. Re:A sure road to success ..... by Anonymous Coward · · Score: 0

      People seem to confuse this issue a lot. Gstreamer is NOT a sound daemon like the other pieces of software you listed. It is a framework designed for multimedia streams and most systems use it for encoding and decoding. It then passes the decoded audio and video on to an output sink (i.e. ALSA, PulseAudio, OSS, Jack; various X11 extensions for video etc.) While it could possibly be used to mix audio, that isn't its purpose.

      An example from the GStreamer Wikipedia page:

      The diagram to the right could exemplify playing an MP3 file using GStreamer. The file source reads an MP3 file from a computer's hard-drive and sends it to the MP3 decoder. The decoder decodes the file data and converts it into PCM samples which then pass to the ALSA sound-driver. The ALSA sound-driver sends the PCM sound samples to the computer's speakers.

    7. Re:A sure road to success ..... by Anonymous Coward · · Score: 0

      i think adobe is a pretty cool guy, eh hacks linux and doesn't afraid of anything.

    8. Re:A sure road to success ..... by SpinyNorman · · Score: 2, Informative

      Audio on Linux has been bad for 10 years, its not getting any better and ALSA is more the problem than the solution, as are all the hacks like pulse, esd, arts, gstreamer, etc.

      GStreamer isn't an audio API. It's the Linux version of DirectShow - i.e. a multi-media framework for building decoding/encoding graphs/pipelines.

      e.g.
      Say you want to play a DVD. Your GStreamer-based player invokes GStreamer to build a decoding pipeline that reads the DVD, demuxes it into video and audio streams, decodes each stream in parallel, maybe applies some filters, then outputs them the the chosen sink. In the case of the audio stream the sink (for a player app) would be an audio API.

    9. Re:A sure road to success ..... by Anonymous Coward · · Score: 0

      "I hate Adobe and Flash as much as the next guy, maybe more..."

      No, you don't. You're just trying to fool us, and maybe yourself.

      "I've been a Linux fan and desktop user for a long time as you can tell from my 5 digit /. user ID so it wasn't a switch I made lightly."

      Oh, yeah, when I read this, I knew you were building up to some piece of nonsense, and I wasn't wrong.

      If you want to slag Linux off, just do it. Don't give us the "I love Linux just as much as the next guy but..." drivel.

    10. Re:A sure road to success ..... by Risen888 · · Score: 1

      So what you're saying here is that you not only did not read the article, you didn't even read the summary or any of the comments. If I had modpoints I'd mod you -1 Jerkoff.

      --
      Hey, I finally got my first freak! Took you long enough!
    11. Re:A sure road to success ..... by demachina · · Score: 1

      I love Linux, I've started hating it on the desktop and I explained exactly why, ten years of bullshit with audio support is the leading reason. Didn't say it here but have said it on /. before the bullshit competition between GNOME and KDE is the other reason. GTK just isn't a good basis for a desktop and it shows in GNOME. KDE I can live with but KDE 4.0 was a disaster and I'm starting to doubt Qt is a viable toolkit for Linux on the desktop too, because it appears you can't count on Trolltech, if they are going to completely wreck all existing code that uses Qt when they do a new major version as they did with 4.x. I really just want one good desktop standard all applications use and where all applications behave with reasonable predictability and consistency. If Linux can't do it... well Apple already has. It kinds of sucks paying Apple's price tag and getting locked in, but it some respects than it better than dealing with a bunch of haphazard GUI's in applications.

      I can't fix audio on Linux, not sure who can other than Linus leading the effort, I'm not a leader on the kernel lists, I'm just a frustrated Linux desktop user and I write application code on Linux sometimes. I don't have the cred to say throw out a major part of the Linux kernel and start over. Pulse audio isn't a solution, its just perpetuating the same cluster fuck that was esd and arts.

      Others on here have suggested a fix that sounds pretty reasonable, return to OSS using the newest version which seems to be working great on BSD. I can't say since I haven't tried OSS since the days when it completely sucked. If you want an example of an OS with a really great media framework.... look at BeOS. It had head and shoulders better multimedia support ten years ago than Linux has now.

      The one and only thing I can say is Linus or whomever made a SERIOUS mistake when they accepted ALSA as the new audio API. All he had to do was look at the convoluted mess of an API, and the horrible documentation, and he should have immediately nixed it. For whatever reason he didn't and he set back Linux on the desktop by years.

      --
      @de_machina
    12. Re:A sure road to success ..... by demachina · · Score: 1

      When it came to mob rule I was mostly referring to:

      A. the submission which was designed to pander to the /. crowds lust to hate Adobe and defend Linux even in areas where its not particularly defensible like audio

      B. the previous times I've said pretty much the same thing here on /. about audio and been flamed and modded in to trolldom.

      It actually took me by surprise this time how overwhelming the agreement was that audio does in fact suck on Linux. There finally seems to be a ground swell of people fed up with it. I just hope Linus reads it.....

      --
      @de_machina
    13. Re:A sure road to success ..... by Anonymous Coward · · Score: 0

      I was under the impression that OpenAL was created to have access to sound in a simple and crossplatform manner?

  27. OSS4 by dburkland · · Score: 1

    needs to be integrated into the Linux core and ALSA/PulseAudio need to die kthx

  28. Define 'We' by Anonymous Coward · · Score: 0

    Do you mean GNU nuts as part of 'we' who only care about spreading GNU licensed software and the extinction of all other open source licensed software packages?

    Do you mean BSD type developers who just want to write high quality software for other people to use?

    Do you mean people who want Linux to be an exact Windows clone with the same APIs?

    Do you mean people who want Linux to be an exact OS X clone with the same APIs?

    Do you mean people who still think Linux shouldn't be for the masses and silly stuff like sound is unimportant?

    Do you mean people who just plain suck at computer engineering and coding?

    Every single one of those groups considers themselves part of the Linux 'we' - and each and every one of them is furiously flaming the other groups in comments in this story.

  29. Re:Linux sound may seem complex but... by Anonymous Coward · · Score: 0

    Great post. Can you please help me get my PreSonus FireBox working under freebsd?

    Thanks.

  30. Developer FAIL by coaxial · · Score: 5, Insightful

    Wait. Claiming audio sucks on Linux is FUD because there's not one, not two, but three mutually incompatible and redundant APIs? How the hell is this not a clusterfuck?

    Oh I'm sure there's some reason why someone prefers one to the other, but seriously. You're sending bits to a soundcard. That's it. Just make one API and be done with it. Got a beef with the API? Enhance it, don't just throw it away?

    My god, audio was one of the reasons why I ditched Linux for a mac four years ago after running it as my primary OS for ten years prior. Frankly I got tired of having sound work in some applications, but not others. I got tired of guessing which mixer would adjust the sound, which mixer wouldn't. I got tired of seeing "No ALSA cards detected" in my startup, but someone how having `alsamixer` be the one mixer that worked most consistently.

    This is a mess made by the developer community and developer community has so far failed to show that it is capable of solving it. If only there were a Benevolent Dictator or something...

    1. Re:Developer FAIL by evilviper · · Score: 1

      My god, audio was one of the reasons why I ditched Linux for a mac four years ago

      There's a little thing called BSD. They're all Unixy, and each includes one method of audio output.

      Admittedly, the BSD family is divided between sun and oss methods, but neither is remotely as buggy or as over complicated of a mess as ALSA. And if you want to see REALLY SIMPLE stuff that works, take a look at the development of aucat in OpenBSD and be surprised.

      All too often, Linux development goes the "copy what Windows has"-way rather than the Unix/KISS way.

      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
  31. Basic audio fine, multi-channel out?... by Cerberus7 · · Score: 1

    I've never had trouble getting stereo output on a Linux box. At least, not in the last few years. 5.1 through a digital out, however... that's been a nightmare for me. I haven't tried the latest distributions, but Ubuntu just plain wouldn't do it through the digital out jack. Fedora will, but only outputs 2 channel. EVERYTHING I've tried hasn't worked, and no config file changes have changed my results. I'm going to try the latest Fedora and Ubuntu soon, so we'll see if it's gotten any better.

    --
    I don't know about you, but my servers run on the power of cotton candy and happy thoughts. -Anonymous Coward
  32. Re:Pulse Audio: the best gift the Linux world gave by Ed+Avis · · Score: 4, Informative

    The developer of PulseAudio explains some of the rationale in this interview.

    --
    -- Ed Avis ed@membled.com
  33. Isn't he saying it's still in a sorry state? by Timmmm · · Score: 1

    From reading the (very interesting) article, it sounds like he's still saying it is in a sorry state. Summary for those lazy people.

    OSS3 was a bit crap and removed from the kernel in favour of ALSA
    ALSA is also a bit crap because it does mixing in a stupid place, and sometimes not at all. Also it has an unnecessarily complicated API.
    OSS4 was written, which is much better than ALSA - simpler API, lower latency, better mixing - but isn't included in the mainline kernel.
    PulseAudio is a horrible horrible ugly evil stupid idiotic hack. Did they never use Arts?!?

    So as it stands we have ALSA which is sub-par, being driven by PulseAudio which seems to do its best to cock things up.

  34. Re:Pulse Audio: the best gift the Linux world gave by somenickname · · Score: 1

    When I've installed Ubuntu on other peoples the machines the first thing I do is remove PulseAudio. It offers no benefit for the average user and is the source of many headaches. Imagine being a new user and, when when discovering you can't do anything sound related, have to dive into a nasty tome of a HOWTO like this: http://ubuntuforums.org/showthread.php?t=789578. You'd be looking for your Windows install disk before you even started scrolling down.

  35. PulseAudio by harry666t · · Score: 4, Insightful

    The main reason why PulseAudio isn't a good idea:

    It is just the best possible counterexample of "Just Works(tm)". In other terms: each time I try it, it just "Doesn't Work(tm)". Without it, sound works more often than not; I don't care why or how as long as it does work. Simple observation: "apt-get install pulseaudio" breaks audio, "dpkg --purge pulseaudio" repairs audio.

    Hm. Maybe that's how Linux audio is supposed to be brought to a (relatively) sane state: by breaking it so terribly that rolling everything back to the previous state would almost look like a step forward.

    1. Re:PulseAudio by Anonymous Coward · · Score: 0

      The fact that PulseAudio does not work on your system does not mean it's not a good idea. It just means that it needs more work.

    2. Re:PulseAudio by caluml · · Score: 1

      # dpkg --purge pulseaudio
      dpkg: dependency problems prevent removal of pulseaudio:
      ubuntu-desktop depends on pulseaudio.
      ....

      Grr.

    3. Re:PulseAudio by mR.bRiGhTsId3 · · Score: 1

      I believe you can apt-get remove --purge and it will remove dependencies. ubuntu-desktop is a meta-package that depends on all the "default" desktop stuff.

    4. Re:PulseAudio by Burpmaster · · Score: 1

      You're confusing good/bad idea with good/bad execution. PulseAudio in concept is actually more of a "Just Works" system than ALSA. The implementation just has to catch up, and it's doing just that. Version 0.9.15 works a lot better than the previous releases and doesn't crash so easily.

    5. Re:PulseAudio by LingNoi · · Score: 1

      No mr Anon, it doesn't work on anyone's system. You can polish a turd all you want but it's still a turd.

  36. Alsa to OSS by AaronW · · Score: 2, Interesting

    Over the years I had a lot of prolbems with ALSA, the biggest being the lack of sound mixing with the sound card on my motherboard. To get around it, I went out and bought a different sound card that supported hardware mixing. I still had problems where ALSA would just break periodically and require restarting it. Then at one point it just plain broke and nothing would fix it.

    I had enough and installed OSS. What a difference. Latency is better and it just works. There is no excuse to not providing consistent audio mixing. I should have switched to OSS in the beginning rather than buy an expensive sound card because ALSA couldn't do software mixing.

    A sound API should provide sufficient abstraction so that basic operations do not depend on the underlying hardware. Mixing, sample rate conversion (when needed) and per-application volume settings fall under basic operation as far as I'm concerned.

    --
    This post is encrypted twice with ROT-13. Documenting or attempting to crack this encryption is illegal.
  37. multiple sound cards and braindead applications by caitriona81 · · Score: 2, Interesting

    My chief complaint, both on Windows and Linux is that probably 99% of applications have no concept of anything other than the default sound card, making multiple cards useless for all but a few niche applications. Apps that use sound need to provide a way to specify which device is used in case the user wants to use other than the default, period. None of the solutions for audio so far have really done anything to make this better (or they make it worse in the process) - granted, it's mostly an application issue, but control of device selection in the mixer as well would help.

    1. Re:multiple sound cards and braindead applications by shish · · Score: 1

      I'm pretty sure pulseaudio takes care of this at a lower level; I've never tried it with multiple cards in one system, but it can route sound for different apps via sound cards on different networked PCs...

      --
      I mod down anyone who says "I will be modded down for this", regardless of the rest of their comment
    2. Re:multiple sound cards and braindead applications by cbhacking · · Score: 1

      One interesting change here that Win7 has done is that there are now two default sound devices (for both recording and playback): the usual "Default" and the "Communications" device. These certainly can be the same, but they also allow things like making it so your media player (which would use the Default) goes out your main speakers, while your VoIP goes to a headset. Still, this requires A) the two defaults be configured, B) communication applicaitons identify themselves as such, and C) the audio drivers recognize different outputs (most Windows drivers treat analog headphones and analog speakers as the same device, and don't let you choose which to use - plugging in headphones turns off the speakers, and that's it). If you already have C, have bothered to do B, and your users are capable of A, then it seems that simply having something like Skype's sound configuration (where you can select the device to use for each of several different sound uses) makes a lot of sense. Try to keep the defaults reasonable, of course, but don't *force* us to use them.

      An alternative is to have the audio system do per-application control of the Default. This is probably actually feasible, since Vista and up already support per-application volume control. It would simply be a matter of telling each application, when it wants the open the default audio device, to use a user-specified "default" for that application.

      --
      There's no place I could be, since I've found Serenity...
  38. Graphs by mindstormpt · · Score: 1

    I'm definitely not an authority on either Linux or Windows audio, but I see something wrong with this statement:

    Graphs like these are very misleading. OpenAL, SDL, libao, GStreamer, NAS, Allegro, and more all exist on Windows too. I don't see anyone complaining there.

    http://blogs.adobe.com/penguin.swf/linuxaudio.png
    http://4.bp.blogspot.com/_vLES3KKBdaM/Sjsptq1kkCI/AAAAAAAAAGU/yITp1qKuHOU/s1600-h/windowsaudio.png

    Looking at both graphs, there's a striking difference: I don't see any loops in the Windows one (though, not being complete, there could be some). I don't see any major problems with library diversity, but the fact that there is no apparent hierarchy does confuse me.

    1. Re:Graphs by Anonymous Coward · · Score: 1, Informative

      You’re confused because the Adobe graph was explicitly drawn to confuse you.
      Of course there is hierarchy, but Adobe wanted you to think otherwise.
      Going from bottom to top, we can clearly define three levels:
      - hardware drivers: alsa and OSS, where the latter has been deprecated a long, long time ago and is since unmaintained, so you can (and should) ignore its existence;
      - userspace sound mixers: jack, esd, arts and pulseaudio, where arts and esd are past efforts now being dropped (again you can ignore them), and jack is only interesting for a niche of specialised users who require things such as very low latency;
      - application libraries: libao, sdl, allegro, gstreamer: these are the libraries your program will talk directly to, and as a developer you only have to choose the one that best suits your need.

    2. Re:Graphs by Blakey+Rat · · Score: 1

      Since when is GStreamer or SDL or OpenAL part of Windows?

    3. Re:Graphs by cheesybagel · · Score: 1

      Many games in Windows use OpenAL. Mass Effect to name one.

    4. Re:Graphs by 0ld_d0g · · Score: 0

      It doesn't ship with Windows thats the point. All the other crap in the first graph ships with Linux. AFAICT. Either way, If we start to include all the proprietary or open source audio solutions that each game ships with then we might have to add 200 extra nodes to each graph.

  39. Re:10 Years From Now You'll Be Writing The Same Th by SanityInAnarchy · · Score: 4, Funny

    At least get your zealotry straight.

    The "bearded GNU freaks" wouldn't dare touch World of Warcraft. It's proprietary! It certainly isn't "Free as in Freedom"!

    --
    Don't thank God, thank a doctor!
  40. Re:Pulse Audio: the best gift the Linux world gave by maccallr · · Score: 1

    For me, PulseAudio was a saviour when I got a pair of USB speakers to supplement the headphone out. It does actually just work, but there was a whole Linux Audio Jungle out there for me to hack through (couldn't find a simple explanation of the various options anywhere) before I got it working. When I finally installed the correct GUI packages (ubuntu) it was much easier to use than reconfiguring the output modules of each program (xmms, vlc etc) every time I wanted to use speakers (or headphones). No config files needed editing, it did Just Work.

    It does crash now and again, and there doesn't seem to be a GUI option to restart the server.

    The network capabilities look really cool too (see another post above) but I have no need at the moment.

    Haven't noticed latency problems so far.

  41. Sorry state of web readability... by Anonymous Coward · · Score: 0

    The real sorry state is that guy's ability to write a readable web page. He forgot what bullets are halfway through, or something.

  42. Re:State Of Linux Pretty Fucking Sorry After All by Tanktalus · · Score: 1

    why write good dialogue when it it so much easier to blow something up?

    You've been watching MythBusters, haven't you. :-)

  43. Re:10 Years From Now You'll Be Writing The Same Th by Anonymous Coward · · Score: 5, Funny

    LOL!

    Every 'bearded GNU freak' has two machines:

    1. And ideologically pure Linux machine that he posts +5 Insightful diatribes calling for blood with the smallest hint of GNU copyright infringing stories.

    2. An unspoken Windows box that he plays World of Warcraft and other games on while downloading hundreds of gigs of copyright infringing music on.

  44. Pretty sorry state indeed. by powerslave12r · · Score: 1

    I've spoiled my laptop speakers playing music on ubuntu. It takes elaborate tweaks to the equalizer and sacrificing the frequency range to get non speaker distorting sound. I REALLY wish I knew how to get around this.

    --
    Real men read Slashdot articles at -1, bottom up.
  45. Copyryt & design flaw is why we ditch'd OSS by Anonymous Coward · · Score: 0

    Ever try to have two applications lock the soundcard in ol' /dev/ ? OSS didn't do threaded audio well, and what was it MMIO or directIO or such. ALSA was the true Open Source implementation for every sound device in the market and experimental implementations. 4Front Technologies is nothing more than an extended outfit of chipset manufacturers that would need another what U$50 to U$100? Outside of schools, universities, and such that is quite aggregating for non-commercial use.

  46. Sound in linux=crap by cuby · · Score: 1

    Don't care what anyone might say about this, Every day I have problems with sound over s/pdif and HDMI.

    In EVERY update of ubuntu I had sound glitches. Since day one I hated pulseaudio... how cares about volume per application or sound servers across the network when you have to kill firebox in order to have sound in VLC?... yeah, that happens a lot.

    --
    Math is beautiful... e^(pi*i)+1=0
  47. What about recording "Stereo Mix"? by Looce · · Score: 1

    Even something as simple as recording from the output of the computer doesn't work. I've tried PulseAudio, ALSA and OSS, all with a very simple conclusion: dead silence. It hasn't worked in Ubuntu in the last 3 years; I can't speak for the previous versions.

    Is this ever going to work? And if it's currently working, what am I doing wrong?

    1. Re:What about recording "Stereo Mix"? by Earthquake+Retrofit · · Score: 1

      Even something as simple as recording from the output of the computer doesn't work. I've tried PulseAudio, ALSA and OSS, all with a very simple conclusion: dead silence. It hasn't worked in Ubuntu in the last 3 years; I can't speak for the previous versions.

      Is this ever going to work? And if it's currently working, what am I doing wrong?

      And that is the last remaining issue i have with sound. On windows, Cool Edit records any and all sound from several programs at once. On Linux there's not even a stereo mix control.

      Steve

      --
      Fifty years of Yippie! 1968-2018
    2. Re:What about recording "Stereo Mix"? by peppepz · · Score: 1

      Try this, it works out of the box for me with bare ALSA on a cheap AC'97.
      Start alsamixer, choose the "capture" tab (press TAB), enable "mix" and "capture" (use arrows then press SPACE). Quit alsamixer (press ESC).
      Then you can start recording using your favourite app - for example, you can run
      arecord -f S16_LE -c 2 -V stereo output.wav
      and you get your sound card output on output.wav, with a neat text-based VU meter ;) .
      When you’re finished recording, press CTRL-C to stop arecord.

  48. Works for me! by trickyD1ck · · Score: 0

    (in Vista)

  49. Are you kidding? by Hurricane78 · · Score: 4, Interesting

    App -> libao -> OSS API -> OSS Back-end - Good sound, low latency.
    App -> libao -> OSS API -> ALSA Back-end - Good sound, minor latency.
    App -> libao -> ALSA API -> OSS Back-end - Good sound, low latency.
    App -> libao -> ALSA API -> ALSA Back-end - Bad sound, horrible latency.
    App -> SDL -> OSS API -> OSS Back-end - Good sound, really low latency.
    App -> SDL -> OSS API -> ALSA Back-end - Good sound, minor latency.
    App -> SDL -> ALSA API -> OSS Back-end - Good sound, low latency.
    App -> SDL -> ALSA API -> ALSA Back-end - Good sound, minor latency.
    App -> OpenAL -> OSS API -> OSS Back-end - Great sound, really low latency.
    App -> OpenAL -> OSS API -> ALSA Back-end - Adequate sound, bad latency.
    App -> OpenAL -> ALSA API -> OSS Back-end - Bad sound, bad latency.
    App -> OpenAL -> ALSA API -> ALSA Back-end - Adequate sound, bad latency.
    App -> OSS API -> OSS Back-end - Great sound, really low latency.
    App -> OSS API -> ALSA Back-end - Good sound, minor latency.
    App -> ALSA API -> OSS Back-end - Great sound, low latency.
    App -> ALSA API -> ALSA Back-end - Good sound, bad latency.

    Do you by any chance buy Monster cables, and a wooden volume knob, because it "sounds better"?

    I'm sorry, but without proper ABX tests, I do not believe a single word of this table.
    And about the latency: Please enlighten us, how you actually measured them?

    --
    Any sufficiently advanced intelligence is indistinguishable from stupidity.
    1. Re:Are you kidding? by AaronW · · Score: 2, Informative

      The article is fairly clear on why the latency is better with OSS vs ALSA. ALSA does audio mixing in user space before passing the mixed audio to the kernel. OSS, on the other hand, does everything in kernel space including audio mixing and even resampling. Since the audio is only processed in the kernel the latency can be much lower. With ALSA audio must be buffered in user space for mixing then buffered again in the kernel for the hardware. OSS eliminates this problem by doing it all inside the kernel.

      ALSA only supports kernel-based audio mixing if the sound card supports it which most on-board sound cards do not. OSS also takes advantage of hardware audio mixing when the hardware supports it but also performs software mixing in the kernel when not supported.

      Mixing between multiple applications in user space can add quite a bit of latency.

      As for better audio quality, I have had issues with stuttering and other problems with ALSA under high load conditions, in part due to the user space processing. Also, as the article states, OSS uses more accurate algorithms for audio mixing than ALSA does (and you can select quality vs CPU in OSS).

      --
      This post is encrypted twice with ROT-13. Documenting or attempting to crack this encryption is illegal.
    2. Re:Are you kidding? by F-3582 · · Score: 1

      This guy is one of the authors of ZSNES and since it can use all those shiny wrappers he talked about, just playing a game and roughly measuring the time between a defined action on-screen and the corresponding sound event is probably already sufficient. Add some perception of crackling and stuff and youll get the list he was talking about. By the way: This latency issue is very application-specific. For example, Mednafen has much better latency with ALSA than with OSS.

    3. Re:Are you kidding? by Anonymous Coward · · Score: 0

      And about the latency: Please enlighten us, how you actually measured them?

      playing pirated ROMs on ZSNES I guess

    4. Re:Are you kidding? by Hurricane78 · · Score: 1

      Yes, but did he actually measure this?

      One layer can be slower than two layers, when that one layer is fatter. All that stuff is just guessing from indirect values. You can guess stuff from it. Nothing more. And you also can be totally wrong.

      So sorry, but "can" is not "is", and thereby is not enough.

      Oh, and please do not assume I would take any side on this, because I point out errors. That would be very childish behavior.

      --
      Any sufficiently advanced intelligence is indistinguishable from stupidity.
  50. Too confusing by Alarindris · · Score: 1

    I have a recording studio and I run Linux.

    But not for recording.

    I stumbled around for weeks just trying to figure out what the problem was and gave up. OSS, ALSA, JACK, PulseAudio, WTF?? There should be a mixer and that's it. Ardour looks nice, but if I have to screw around with a bunch of cryptic backend shit just to be able to record something it's not worth my time.

    With Windows you install Cool Edit or Soundforge and off you go.

  51. Someone please fork OSS4 by Ant+P. · · Score: 3, Insightful

    I'm sure from all the rave reviews it's technically superior and all, but right now it's controlled by a paranoid schizo who hasn't got a clue how open source works: after GPLing it and whining that he hasn't suddenly started making money, he now thinks he can dictate what license apps using his API have to be released under.

    1. Re:Someone please fork OSS4 by LingNoi · · Score: 1

      paranoid schizo who hasn't got a clue how open source works: after GPLing it and whining that he hasn't suddenly started making money

      eh no, he's whining because he open sourced it and lost money from previous customers who now aren't paying.

  52. Re:Open Source FAIL episode 24398724389732 by nausea_malvarma · · Score: 1

    cool story, bro.

  53. Re:4Front wasn't code-friendly is why ALSA was mad by Anonymous Coward · · Score: 0
    Like the AC above you, you're confusing the 4front implementation of OSS with the in-kernel implementation of OSS: the two were maintained separately. 4front did not "control" the in-kernel OSS any more than they "control" ALSA.

    you don't need to lock a sound adapter in /dev directory anymore like you did before in 4Front OSS.

    You never had to do that with OSS, but bad applications did it just as they do now with ALSA, and bad OSS drivers that blocked could easily have been fixed. FreeBSD handles multiple open()s of the PCM device just fine, for example. There is absolutely no reason, technical or otherwise, why the Linux OSS implementation could not have added the same functionality.

    You can have more than one application use sound now thanks to ALSA

    We didn't need to rip out OSS just to get software mixing. OSSv4 does mixing just fine. It could easily have been added to the existing in-kernel OSS.

    Application programmers shouldn't mock ALSA as it is tied directly to the Linux platform for flexibility.

    Great. What if I'm not a Linux developer? Oh, then I guess I ignore ALSA. Also have you actually tried to program to the ALSA API? What a fucking nightmare! OSS has a sane API: open the device, issue a couple of ioctls and just write PCM samples to the file descriptor. No hassle. Just the way it should be.

    There is nothing special about the way ALSA is designed that allows it to support multiple sound cards and software mixing for multiple applications, and there is no technical reason why OSSv3 could not have had those features added to it: OSSv4 proves that it was always possible, and would have been far less work than ripping it all up and creating ALSA. That's my point.

  54. Tearing by cortana · · Score: 2, Interesting

    Try using the OpenGL output driver, and make sure 'wait for vertical blank' (vsync) or a similarly-worded option is enabled.

    1. Re:Tearing by WaroDaBeast · · Score: 1

      Yes, I went for the obvious and did it, but it didn't work. Maybe it was just his graphics card, since it's a mobile version.

      --
      "The body may heal, but the mind is not always so resilient." -- Deus Ex: Human Revolution
    2. Re:Tearing by cortana · · Score: 1

      That's very strange. I would guess that either the OpenGL implementation is buggy or configured incorrectly, or VLC is doing some toolkit-specific thing to disable it.

      AFAIK the only way to sync screen updates to vertical blanks in X11 is by using OpenGL, what a pain. :(

  55. Audio on Linux != Good by C_Kode · · Score: 1

    I didn't even read what they said. All I know is as an IT guy with many users that use Linux. It has issues. Adobe Flash causing a shit load of them. (especially peered with Skype)

    I myself don't have many issues, but then again I take extra special care on what hardware I purchase.

    As "Reboot" is the first step in support for Windows. In Linux I've found it's "alsa force-reload".

  56. So, when do we go ALSA -> OSSv4? by X0563511 · · Score: 2, Insightful

    Looking at the charts, and looking in a few other places, it is clear to me that OSSv4 is the way to go.

    So, when does this start to happen? I tried this a few months ago, and I had to patch my kernel and do all sorts of other things that ended up hosing sound completely (since I'm not a developer, asking me to do developer-ly things is trouble).

    When will it be a simple switch in the kernel config, or a simple matter of installing a package in the major distros?

    --
    For large sets, this will be our guide even unto death, for the LORD will work for each type of data it is applied to...
  57. Working drivers. Re:What are we trying to achieve? by sowth · · Score: 2, Informative

    First off, KDE and Gnome != Linux. Last time I checked they both ran on FreeBSD too. They are the real problem. When I first started playing with sound on Linux (probably 1996 or so), OSS was the established standard for the kernel. I think there were some other devices for compatibility, but Linux developers used OSS.

    Then around 2000 or so, ALSA started to show up as a viable project. It supported low latency sound and was more reliable for syncing sound to video. Obviously, you want this for playing video games or watching movies. Quite a few distro maintainers jumped on it and added it to their distro before it was added into the mainline kernel. Eventually it was added, and they kept OSS for backwards compatibility.

    Until recently, yes, Linux didn't support multichannel audio, but now ALSA does, and it does "just work." Most of those daemons were created to patch on support for multichannel and networking. I assume those must be the "incompatible APIs" you were talking about.

    There is one daemon called jack which seems to be good for audio editing--it is a whole routing system for audio, but I doubt one would need to use it for just playing sound since ALSA seems to have all the features, and ALSA was never superseded by anything else like you implied. Jack, esd, pulseaudio, artsd (unless it uses esd), & etc all use ALSA.

  58. simple system equalizer with balance control by rusl · · Score: 1

    I can't seem to find any such thing. My computer/media centre goes into my stereo amp which doesn't have L/R balance. I was hoping for a simple tool to do this in the computer. Couldn't find one. Does anyone have a suggestion?

    Audio in Linux is hard. Audio is such a different direction from the original purpose of server. And part of the hardness is all the different systems Pulse, ALSA, OSS etc which many people (like me) can't understand the difference between. X.org is in way better shape than audio.

    --
    Stupidity is its own reward.
    1. Re:simple system equalizer with balance control by peppepz · · Score: 1

      Launch alsamixer, select the appropriate slider for the output of your sound card that goes to the amp, then use Q and Z to raise/lower the left channel, and E and C to raise/lower the right channel.
      Or, if you’re using KDE, open kmix, select "settings" / "configure channels", then click the "split" checkbox next to the channel you want to tweak. After that, you will get two separate sliders, one for left channel and one for right channel.

    2. Re:simple system equalizer with balance control by rusl · · Score: 1

      thanks, I knew it should be simple but I was having a heck of a time before a party trying to figure it out. It is important for our livingroom when we watch movies because one speaker is closer to people than the other and in order for it to sound reasonable I need to balance them.

      cheers

      --
      Stupidity is its own reward.
  59. Re:10 Years From Now You'll Be Writing The Same Th by Anonymous Coward · · Score: 0

    You care enough to troll, apparently.

  60. Problem with PulseAudio? by Anonymous Coward · · Score: 0

    All I want to know is, what the hell is wrong with PulseAudio. I've been using PulseAudio since fedora began shipping with it. I have yet to have an issue with it. ALL my players of choice work with it (mplayer, rhythmbox, totem, vlc, elisa, exaile). ALL games I play don't care whether it is PulseAudio or not what's on the background. The OS doesn't care either, my sound card still works. Personally, I like the network transparency a-la Xorg and the fact that I can redirect audio streams at will.

    So, here's the question: WHAT IS THE FSCKING PROBLEM?!?

    If you have an issue with it, then you are doing it wrong.

    1. Re:Problem with PulseAudio? by AaronW · · Score: 4, Interesting

      I agree. I think it has more to do with some kernel developers who refuse to consider OSS after OSS3.

      The OSS kernel interface is simple and the audio mixing is performed in the kernel (if needed) where it should be. All an app needs to do is open /dev/dsp and perform a few ioctl calls and they're ready to go. They don't need to care whether some other application is also playing audio or not.

      It's much cleaner than ALSA, which is a mess IMO. I've had a lot of problems with ALSA until I finally dumped it for OSS4 which solved the constant clicking, stuttering and lack of audio mixing. ALSA would often need to be restarted and it finally got to the point after a kernel upgrade where ALSA just plain refused to work at all.

      With OSS I can basically choose the format of the audio, the sample rate and the volume and just set it and go. If the hardware doesn't support multi-stream mixing and volume then OSS does it in software. Similarly, if the hardware doesn't support the sample rate (i.e. 44100) then OSS will resample it to match the hardware, thus abstracting the hardware from the software, which is the way it should be.

      --
      This post is encrypted twice with ROT-13. Documenting or attempting to crack this encryption is illegal.
    2. Re:Problem with PulseAudio? by Anonymous Coward · · Score: 0

      The problem is, PulseAudio still gives you that node in /dev/dsp for applications that go looking for it. I have a few of them in my system. The main fault I found in OSS (don't know if it ever got fixed) was that if an application locked /dev/dsp other apps could not use it and therefore were muted.

    3. Re:Problem with PulseAudio? by Anonymous Coward · · Score: 0

      So far, I have no idea how to tell an application to play on S/PDIF with OSS. Not to mention if the application wasn't even designed to use anything but the default output. With ALSA, I just point pcm.!default to where I want the sound to come out from, without configuring each and every application on the system. Do I want an analog mic input with a digital spdif output? Create a simple composite device (not for the feint of heart though) and point pcm.!default to it. No extra configs needed in the applications. Does OSS do Dolby Digital and DTS passthrough? S/PDIF? How about HDMI sound?To me OSS is a child's toy. It's simpler than it's ought to be.

      I hate PulseAudio because it makes a habit out of eating my sound, and since killing it restores my sound, that's my solution for now.

      You hate ALSA because it's complicated. Sorry dude, there's no VB planned for it. ALSA works for me (when the developers don't break the drivers, which doesn't happen that often anyway) so I stick to it. All who want to include OSS again should be kicked in the nuts.

    4. Re:Problem with PulseAudio? by Anonymous Coward · · Score: 0

      Exactly! OSS4 is an amazing sound system.

      It only has two problems:

      1) USB support for USB audio devices especially mics are broken
      2) No bluetooth support at all

      If someone would PLEASE step up and fix this, I could remove ALSA forever. I desperately need my USB mic though (it's not a cheap one).

      I really loathe ALSA and just want to get back to OSS4. Please help me. I don't have the skills to do this though :(

  61. Re:10 Years From Now You'll Be Writing The Same Th by jedidiah · · Score: 1

    I like to correct the Lemming driven mis-perception that "it's all broken".

    Some people genuinely have bad luck with whatever configuration they happen to have.

    Many others just like to spread completely bogus nonsense.

    --
    A Pirate and a Puritan look the same on a balance sheet.
  62. Re:10 Years From Now You'll Be Writing The Same Th by Ilgaz · · Score: 1

    What if Linux/BSD people did something completely opportunistic and implemented very same calls to API which will produce exact same results?

    Something like ALSA 2/WINE hybrid but proper documentation, very same calls/usage. For example "Core Audio" of OS X?

    I follow AVID guys and others and I don't think they are insane to leave all that work on writing software for 2 different operating systems having nothing to do with each other (except quicktime which helps a lot) and add "Linux" to the supported list. I am not a audio guy but I know their needs are way beyond "if it plays that mp3", to give a clue, one of the first parts of OS X to move to 64bit was sound system, Core Audio. The MIDI etc. are way beyond the Atari 1040 ST "plug the mini and it records, great" ages. Musicians do mad things now, connecting a lot of things together, add realtime effects etc.

    Funny is, Audio is always under rated on computers. That is why Creative lives nightmare because of "integrated sound" while NVidia and ATI are enjoying even more profit since gamers really hated the integrated graphics system. Look to Apple and search for "Core Audio" which is said to be "state of the art" by industry. How many results? Now look for "Core Graphics" :) I bet it is same deal on Microsoft side regarding direct3d vs directsound.

    Issue here is, people can't understand what professional audio guys needs. For them, "playing that mp3" or even (if exists) "6 channel game" is enough. For Pro audio, it is just the beginning.

  63. Re:So, when do we go ALSA - OSSv4? by DeathCarrot · · Score: 1

    On Gentoo I just had to disable CONFIG_SOUND in the kernel and install the package from a repo, and that was last year (I think just as 2.6.28 came out, not entirely sure). I don't see why you'd need to patch your kernel as all you need should be in the modules.

  64. if Alsa sucks.. by ShawnX · · Score: 1

    What are we going to replace with? I want to hear what Linus and others have to say. Maybe it's time to really look at audio in Linux. We've had lots of framework overhauls in Linux. Alsa2 anyone?

    --
    Everyone wants a Tux in their life.
  65. more fundamental than that by Anonymous Coward · · Score: 0

    i remember being on irc in a linux channel in the mid/late 90s with some guy who worked at redhat.

    he was emphatically angry, ranting about 'why would anyone want to play two sounds at once'? this was in a discussion about how you can have the system 'beep' to notify you of things while you are playing a game.

    this is the type of person that has been controlling linux development.. i.e. people who just dont 'get it'. people who simply do not care what ordinary users want. and in fact, ordinary users do not really have a say in linux development, it has been taken over by big corporations, who are the major funders of the kernel hackers... stuffing it full of crap like massive parallelism and kernel integrated httpd (god that was dumb) instead of basic things like 'does audio work'.

    and it has been over TEN YEARS since that 'conversation'. entire operating systems , nay, computer systems have been born, matured, and gone to pasture in equivalent time frames.

    the problem is psychological and social and political, not just technical.

  66. wow, that was relevant by Anonymous Coward · · Score: 0

    we are talking about getting one sound card to work, at all... im trying to figure out what possible relevance your complaint could have to this entire conversation. you might as well just blurt out 'i dont like navel oranges, only valencia'.

    this is the problem... people cannot focus on what is important.. ie, getting basic sound to work. instead they go off on these tangents of irrelevant nonsense and here we are, 10 years later... still no basic sound support.

    reminds me of the afghanistan war. your name isn't Rumsfeld is it?

  67. PulseAudio can be fast by marc.andrysco · · Score: 2, Insightful

    I have to wonder what program you are using to output the audio. On my desktop, there are settings that allow the audio to be routed immediately to output without processing in PulseAudio or anything.

    But, more to the point, your latency relies on the program itself much more. I've been doing quite a bit of low-latency audio programming using both ALSA and PulseAudio, and they both get extremely small if you know what you're doing. With ALSA, I've gotten to around 1ms, while I can easily get PulseAudio to approximately 5ms. Using a PC that has two cores, I've gotten the numbers cut down to around 0.5ms and 2ms, respectively.

    If you're having a real touchy time getting response that low, you likely have to bump up priority of the process. Using ALSA, simply setting the application to realtime scheduling will do it. With PulseAudio, you're going to need to set the audio server itself to realtime as well as the application (I haven't done too much testing with that, but that seems to be the consensus online). As a parent suggested, you probably want to look at using JACK. It does most of the dirty work for you.

    I learned most of this working on a low-latency audio application. Just yesterday I got the thing to route a guitar at low latency using ALSA, and I'm looking to finish up the Pulse portion this next week or so.

  68. Re:10 Years From Now You'll Be Writing The Same Th by lawpoop · · Score: 1

    s/and World of Warcraft raids/Nethack amulet retrievals

    There you go.

    --
    Computers are useless. They can only give you answers.
    -- Pablo Picasso
  69. ALSA is rouge and OSS is violet? by phoebe · · Score: 1

    If the user really needs to have a program output sound right until Linux goes into suspend mode, and then continues where it left off when resuming, then ALSA is (currently) the only option. I personally don't find this to be a problem, and furthermore I doubt it's a large percentage of users that even use suspend in Linux. Suspend in general in Linux isn't great, due to some rouge piece of hardware like a network or video card which screws it up.

    So we should be using OSS because the author doesn't use suspend on his computer?

    The article is just a big rant about how difficult he finds ALSA to develop for, how he doesn't understand the benefits of a user-space audio stack as found in Windows Vista and with PulseAudio empowering Ubuntu and other distributions.

    1. Re:ALSA is rouge and OSS is violet? by peppepz · · Score: 1

      I agree.
      And I would like to add that most people who have problems with ALSA, would experience the same problems with whatever thing could replace ALSA.
      The quality of drivers and the attitude of hardware vendors towards open source would remain the same.
      And, in the scenario of adopting OSSv4 and dropping PulseAudio, we would lose the undeniable advantages of a usermode audio manager.

    2. Re:ALSA is rouge and OSS is violet? by ReedYoung · · Score: 1

      OSS should get suspend support and anything else it lacks in comparison to ALSA even if insignificant. Here's a hint, why doesn't Ubuntu hire the OSS author and get it more friendly in these last few cases for the end user?

      It doesn't look to me like he is saying "we should be using OSS because the author doesn't use suspend on his computer," he's saying OSSv4 is better audio software, and should be made to work with features like suspend because OSS has the best potential to be a general solution for audio engineers, video gamers and casual users who just want to listen to .flac audio while we code, and be able to catch up on the day's news afterwards (Flash/swfdec/etc). ALSA does fine for me, in the latter use case, but if I find OSS automagically installed and working as well or better after the next time I apt-get dist-upgrade, that's okay. And if that solves problems for other users, why not? Just because ALSA is good enough for me doesn't mean I object to something being adopted that's better for others, and no worse for me. I haven't used PulseAudio myself, but it looks like his case is not that none of its features have merit but that it is a performance reducer, so its good features would be more useful in conjunction with a more efficient stack, which he obviously wants to be based on OSSv4.

      Problems should be fixed directly, not in a roundabout matter (sic) as is done with PulseAudio, that garbage needs to go. If users need remote sound (and few do), one should just be easily able to map /dev/dsp over NFS, and output everything to OSS that way, achieving network transparency on the file level as UNIX was designed for (everything is a file), instead of all these non UNIX hacks in place today in regards to sound.

      I do know enough about Linux programming to know that makes good sense. And he gives credit to PulseAudio where he feels credit is due, as a high quality mixer.

      As you can see, ALSA's API can also output to PulseAudio, meaning programs written using ALSA's API can output to PulseAudio and use PulseAudio's higher quality sound mixer seamlessly without requiring the modification of old programs. PulseAudio is also able to send sound to another PulseAudio server on the network to output sound remotely. PulseAudio's stack is something like this: [very complex, low-performance-looking diagram]

      It seemed more like a balanced analysis than a rant to me, especially if the things he says about sound quality and latency are true.

      --
      "I can't imagine how things could get any worse!" (some guy) "That could just be failure of imaginatioÂn on your p
  70. Why do esd, arTs, pulse, etc. even still exist? by drew · · Score: 1

    This is something that has been bothering me for a while now. It's been a couple years since sound servers were in any way necessary. The sole purpose of ESD was to work around the fact that only one application could open /dev/dsp at a time. It was a horrible, nasty hack that was unfortunately necessary at one point in our history. Nobody really wanted it to be a long term solution, we just wanted something that would work until the people ho wrote the sound drivers got their sh*t together.

    Yet here we are, years later, and not only have we never tried to phase out these horrid abominations, we keep adding new and more complicated ones. I have no words for how absurd this is. Why is it that we can't just fix the issues in the drivers where they belong rather than piling heap after steaming heap on top of them? And even when they do actually fix the issues, nobody ever tries to dig us back out of the pile...

    --
    If I don't put anything here, will anyone recognize me anymore?
    1. Re:Why do esd, arTs, pulse, etc. even still exist? by ReedYoung · · Score: 1

      Backwards compatibility. Doesn't mean anything, I just like saying that.

      --
      "I can't imagine how things could get any worse!" (some guy) "That could just be failure of imaginatioÂn on your p
  71. ossalsa by Thermionix · · Score: 1

    I can't say I'm impressed with alsa, oss4 on the other hand is godlike ... simple fast and working

  72. Adobe don't know Jack ... by Anonymous Coward · · Score: 0

    Just proves Adobe don't know Jack, or Jack Control, or JackEQ, or Jackbeat, or Jack Rack ...

  73. not a chance by adamgolding · · Score: 1

    The reality is this: it is already a difficult compromise choosing audio software to work with on PC or Mac platforms. Only people who aren't serious about their work really have time to worry about linux solutions here. Composers are only just now beginning to see anything like a move towards a merger of sequencers and notation programs, with Sibelius and Finale adding limited audio support and Cubase adding better support for orchestral articulations and some improved notation capabilities. Protools added some code taken from Sibelius but it's still rudimentary. Competition in terms of features is very tight between these various alternatives, and it's not like OpenOfficeâ'it can't just do 'more or less, the main tasks we need'. The open source software has to actually be *better* than the existing options. Whenever I wonder again about this I just compare the 'new' features in the most recent version of Cubase or Sibelius to the most recent features in the open source alternatives and I can only laugh...

  74. Re:10 Years From Now You'll Be Writing The Same Th by savuporo · · Score: 1

    Um, why would a bearded GNU freak ever work on Linux ? Its not idealogically pure at all. They'd sit on Hurd/Debian

    --
    http://validator.w3.org/check?uri=http%3A%2F%2Fwww.slashdot.org Errors found while checking this document as HTML5!
  75. Re:So, when do we go ALSA - OSSv4? by peppepz · · Score: 2, Interesting

    If we switch to OSSv4, people will start whining because we will have three sound systems instead of two. A gift for all Linux FUD spreaders. Drivers quality will not improve in the switch from ALSA to OSS (why should it?) so people will keep complaining about cracks and pops and out-of-the-box hardware support, and new bugs will inevitably crawl in during the process of converting existing drivers from ALSA to OSS.
    Of course, developers will have to support ALSA for a long time (dropping ALSA altogether would break nearly ALL the current linux applications, not just flash player) so the support burden for distributions maintainers would become even heavier.
    All of this - because ALSA does not match the pipe dream about sound systems of TFA writer. In the end, the features offered to the end user by a OSSv4 stack would be less than those provided by a working ALSA + PulseAudio stack, as even the writer itself states (about hybernation support).
    Not to mention the fact that nowadays many applications will make use of high level libraries that hide the details of the sound system from them, so they couldn’t care less about ALSA or OSS.
    So no, thank you! Please report bugs, do complain as loud as you can, but yet another fork is the last thing we need now.

  76. Re:10 Years From Now You'll Be Writing The Same Th by Anonymous Coward · · Score: 0

    How could endless free labour produce the same quality as commercial products?!
    That's like expecting wikipedia to succeed over MS Encarta, or US Products made in China.

    Luckily there are paid developers working full time on those open source sound systems, oh and of course those "bearded GNU freaks" that work for free.

  77. And the situation on Windows? by Anonymous Coward · · Score: 0

    Do you use Miles? Or DirectAutio? Or whatever the replacement from MS of DirectAudio (to fit in with DRM requirements) is? EAX? Or EAX2?

    Incompatible standards.

    And, though MS push the OS builtin, Miles seems to be very very popular, saying something for DirectAudio's worthiness...

  78. Sorry old chap by Anonymous Coward · · Score: 0

    Sorry old chap, but he was right. There is a degree of FUD in your post.

    I use nothing but Linux on all my machines. I do multi track recording using Ardour and Rose Garden and while the single solution Mac software looks slicker, and involves less configuration, the results are not easier to obtain, and no better in quality. In fact on Linux I am spoilt for formats and alternatives.

    If I had one request for the Linux people it would be to make a default configuration for a set of default audio applications so that I don't have to search around scratching my head every time I need to set up a new machine.

    The software is there, but the default setup is not.

    You're one of those "I love Linux and open source but..." types who really couldn't care less about Linux and open source. If Linux became closed source clone of the Mac OS, but free as in money, you'd be there using it. You're not fooling anyone.

  79. ikus060 by Anonymous Coward · · Score: 0

    To all people who post a comment, is there any one working with the Linux community to improve the situation ? I guess not. So plz, continue bashing the Pulse and Alsa.

    1. Re:ikus060 by Anonymous Coward · · Score: 0

      Actually, the situation is pretty much solved.

      The typical Slash-Think, though is:
      A: About three years out of date.
      B: Mostly completely wrong about both the problems and their solutions.

      This whole discussion reminds me of one of those situations where you read a report in the paper of an incident you saw in real life. It resembles the real situation somewhat, but never really tells you what really happened.

  80. Re:Pulse Audio: the best gift the Linux world gave by Randle_Revar · · Score: 1

    I like PA. I had to set it up myself, since I use Debian, but since I got it working (not too hard),it has been great. It fixed the "Flash locking the sound card" issues I had been having, and everything else continued working fine, and I got sound mixing out of it. That said, from everything I have found out about OSSv4, I would like to see it replace alsa and most of PA, but it seems unlikely.

  81. Re:10 Years From Now You'll Be Writing The Same Th by Anonymous Coward · · Score: 0

    We "bearded GNU freaks" do not know of this "copyright" doctrine. We are well versed in the dark and arcane rituals of "Copyleft", on the other hand.

  82. Jokosher! by emblemparade · · Score: 1

    Actually, the world of free software has Jokosher, which is inspired by GarageBand, and to me seems as easy to use. Still at an early stage, but I recommend taking note of it! Note that it's actually not JACK-based, which would make it so much easier for new users (the crowd usually drawn to GarageBand) to get into. Perhaps in the not-too-distant future, Jokosher could be bundled into free operating system distributions, making them a nice alternative to Apple computers.

    I also recommend Qtractor, which is more full-featured, but still not as intimidating as a full-blown DAW.

    But, I must say, being a heavy user, that I feel that Ardour has come a long way in usability in that last two years, and these days it's almost as easy to use as all the above. It's not hard to get productive with it fairly quickly. If you gotta learn a piece of software in order to produce music, I would recommend Ardour right now. It can start you small, and take you very high up in features. Ardour's huge problem right now (if you ask me) is it's outdated and paltry documentation.

    That said -- I fully agree with your statement that audio production on free software is not ready for self-congratulation. It's immensely powerful (there's nothing quite like JACK in the proprietary world, and there are some truly astounding LADSPA effects) but it's hardly rock solid, and definitely a mess.

  83. Re:10 Years From Now You'll Be Writing The Same Th by TheLink · · Score: 1

    Creative lives in a nightmare of their own making.

    They produced lots of expensive crap that's worse than "integrated crap".

    A friend of mine had an Audigy that caused crashes very often. When I saw what happened to him, I did some searches on the web and the results convinced me to not bother considering Creative for audio, even "consumer grade audio". FWIW I didn't have complaints about my SB Pro, but the industry has moved on since then.

    On one computer we have onboard realtek sound and a creative labs "Live!" plugged into it, and guess what, the onboard sound has better sensitivity and lower noise when recording than the piece of shit Creative hardware that costs about the third of the price of the entire motherboard with the onboard sound. And the output latency is crap, ASIO is hard with it.

    Do professional audio guys actually use Creative?

    --
  84. Re:10 Years From Now You'll Be Writing The Same Th by Ilgaz · · Score: 1

    Some external models were good for semi professionals or pros without too much money in hand but no, Audigy etc. aren't suited for professional recording as far as I followed.

    Whole marked seems to move to M-Audio which does have its own problems but at least, coming from same company making pro-tools (AVID) so they understand professional support requests. Of course, Mac is fully supported unlike Creative.

    I mean, people doesn't tend to care for audio as long as it plays their mp3/movies. It is not the same deal as the GPU.

    I moved to Mac long time ago and I know the SB Pro, AWE64, early Live were great cards but wasted with their horrible drivers and support policy.

  85. They did it for Thin Clients by Anonymous Coward · · Score: 0

    No. Sadly, pulseaudio exists simply to copy Vista. Vista introduced per-application mixers and apparently this is a Cool New Feature that everybody supposedly wants, even if it's a shitty implementation that slows down what was a perfectly working sound system.

    One of the hosted Ubuntu derivatives needed PulseAudio for its network code, to make their LTSP stuff work. Then Ubuntu unnecessarily started installing it by default, one version after they packaged it.

  86. Re:So, when do we go ALSA - OSSv4? by cheesybagel · · Score: 1

    Like Linus would care about what other people think. He doesn't and has proven it time and again.

  87. Re:Pulse Audio: the best gift the Linux world gave by Anonymous Coward · · Score: 0

    You call it the "saviour" and yet here is what you say..

    When I finally installed the correct GUI packages

    and

    It does crash now and again, and there doesn't seem to be a GUI option to restart the server.

  88. The bottom line by petrus4 · · Score: 1

    OSS is tolerable, if you've got a card that it has drivers for.

    ALSA, on the other hand is overcomplex, unstable crap...and unfortunately, denial ain't just a river in Egypt.

  89. Re:Pulse Audio: the best gift the Linux world gave by maccallr · · Score: 1

    C'est la vie Anonymous coward.

    I'm sure it will get more robust with time, but the crashes are rare enough not to be too much of a pain, and the convenience of switching outputs on the fly (or simultaneous output) outweighs that anyway.

  90. Here is something I found helpful. by Larryish · · Score: 1

    My wife's laptop runs Ubuntu 7.10 and setting up Pulseaudio took a bit of work.

    The recipe at https://wiki.ubuntu.com/PulseAudio was a big help.

  91. Re:So, when do we go ALSA - OSSv4? by LingNoi · · Score: 1

    dropping ALSA altogether would break nearly ALL the current linux applications, ...

    nowadays many applications will make use of high level libraries that hide the details of the sound system from them

    So which is it? Nevermind don't answer, I already know that no one uses that piece of shit ALSA API.

  92. Re:Pulse Audio: the best gift the Linux world gave by grantdh · · Score: 1

    Following an upgrade from Ubuntu v8, I'm running Ubuntu v9.04 (Jackalope) on an EEE PC and sound was completely fraked. After doing some research, I uninstalled PulseAudio from my system and now it all works fine. Still a few tweaks required, but dang, it works.

    Why the hell does PulseAudio exist if it's such a piece of crap? Why is it in Ubuntu by default?

    Maybe it has great potential and could be a wonderful thing, but until "it just works" it should be an optional extra, not installed by default.

    --

    I left my body to science, but I'm afraid they've turned it down...
  93. Re:10 Years From Now You'll Be Writing The Same Th by hackus · · Score: 1

    Well....to be more precise, I duel boot partitions, I do not have seperate machines.

    Oh dear....please do not tell anyone.

    -Hack

    --
    Got Geometrodynamics? Awe, too hard to figure out? Too bad.
  94. Microsoft Fanboys have new ammo! by Anonymous Coward · · Score: 0

    Windows 7 rulz!!11! (http://www.google.com/search?q=windows+7+rulz)

  95. linux development by t3chn0n3rd · · Score: 0

    I think linux has a lot of great open source developers.

  96. better article about state of Linux sound API's by valentt · · Score: 1

    A really insightful article regarding this topic is this: http://0pointer.de/blog/projects/guide-to-sound-apis.html And this is what Lennart Poettering (Linux audio guru) had to say about this article: Nah, this is a complete and utter bullshit story. Slashdot just proved again that it is full of nonsense. Gah. Disgusting. I don't think that this deserves a real response. I mean really, this smells more like a astroturfing from 4front, with all that OSS4 fanboyism. This guys is just some lame fud blogger, not a technical guy who does any real the work, knows the technical details, works with the community and gets his stuff into the kernel or the distributions. Would be good if Slashdot would verify that the folks whose story they post actually know what they are talking about. Because this dude obviously hasn't. But I guess Slashdot is not the New York Times and asking some actual respected Linux developers or even just linux-audio-devel before publishing such FUD stories would be asking for too much. That famous Adobe jungle picture that was posted 2007 was grossly misleading already, and it still is. At least arts, nas, esd, oss were obsolete back then already, and mentioning almost unknown niche system such as Allegro or ClanLib doesn't make it any better. What I have to say about the situation of Linux audio APIs I posted here: http://0pointer.de/blog/projects/guide-to-sound-apis.html If you care enough about slashdot, then try to get them to bring a story about that blog story, even if it is already frm last year. As a change from their usual stories this one, as I dare to say, would be written by someone who has at least a bit insight into what's really going on. ;-) Lennart