Slashdot Mirror


Audio Processing on Your Graphics Card?

edsarkiss writes "BionicFX has announced Audio Video EXchange (AVEX), a technology that transforms real-time audio into video and performs audio effect processing on the GPU of your NVIDIA 3D video card, the latest of which are apparently capable of more than 40 gigaflops of processing power compared to less than 6 gigaflops on Intel and AMD CPUs." Another reader points out a story on Tom's Hardware.

34 of 335 comments (clear)

  1. Makes perfect sense... by WIAKywbfatw · · Score: 4, Interesting

    The amount of silicon on an average GPU overtook the amount of silicon on the average CPU some time ago.

    Having all that processing power available to do more than just shift pixels makes perfect sense. I'm just surprised that nobody thought of doing it sooner.

    --

    "Accept that some days you are the pigeon, and some days you are the statue." - David Brent, Wernham Hogg
    1. Re:Makes perfect sense... by SoTuA · · Score: 5, Informative
      Nobody thought of it sooner?

      Emmm, what about this, for example?

    2. Re:Makes perfect sense... by Anonymous Coward · · Score: 3, Informative

      I'm just surprised that nobody thought of doing it sooner.

      It's easy to be surprised when you're wrong: BrookGPU: General Purpose Programming on GPUs December 2003.

    3. Re:Makes perfect sense... by ahsile · · Score: 4, Informative

      I believe slashdot has already covered stories about using the programmable pipeline on mondern gpus for non-graphics functions. They're built to crunch vectors/math. Why not?

    4. Re:Makes perfect sense... by thpr · · Score: 5, Informative
      The amount of silicon on an average GPU overtook the amount of silicon on the average CPU some time ago.

      And another post:

      How can the price range be so slow when the processing power is claimed to be so many times faster than Intel chips?

      First, silicon area doesn't necessarily mean performance. The whole reason that IBM, AMD and Intel are building multi-core chips is that so much of the area in a moden microprocessor is spent in workarounds for different structural hazards rather than in real work. The GPUs are huge because they are parallel mathematical computation engines. On a FLOP per sq. mm basis, they are a LOT more efficient than a single core CPU could hope to be.

      As WIAKywbfatw points out, GPUs became more powerful than CPUs (on a FLOP basis) a decade or more ago. This was the whole reason Intel created the AGP port - to prevent the GPU from becoming the center of the the computer (it was a huge threat to their business).

      Today, silicon is more and more about customization... on a FLOP basis, the chips in HD digital TVs have nearly the performance of the latest P4 - but at MUCH less cost... because they are less flexible (a LOT less flexible). Their design is to optimize single precision floating point performance... You can't use that CPU power for a long-running simulation ("scientific computing") - only for graphics; where single precision is still orders of magnitude more precise than the monitor can display.

    5. Re:Makes perfect sense... by Dizzle · · Score: 3, Funny

      So... what are you trying to say, precisely?

      --
      -Dizzle
      "I most likely AM so interested in myself."
    6. Re:Makes perfect sense... by hazem · · Score: 5, Interesting

      And the idea of using a specialized processor for a different purpose is not new.

      Back in 386 days, one of our professors was working on liquifaction (the ground sometimes behaves like a liquid during earthquakes). The models were very trig-intensive and took forever on a desktop. So, he wrote the simulations in Postscript and sent them to the printer where its processor could do the work much faster.

    7. Re:Makes perfect sense... by hazem · · Score: 3, Informative

      I think that's why he sent the jobs to the printer to be processed. He wrote the "program" in postscript, and the printer, with its specialized processor did all the work of generating the graphics and calculating the force and motion vectors. Postscript is great for doing math on vectors and it can output vectors to be drawn, or just output their parameters as text values. He could get the printer to process a simulation in 30 minutes that would take a day running on his local box.

      The printers had the best processors available for his work. Of course, he was the first of our profs to have a linux box on his desktop, and the first to do parallel processing on the several sun sparc 2 workstations we had.

      He was always pretty clever at using the computing resources at hand!

  2. Great for audio workstations... by MP3Chuck · · Score: 3, Interesting

    While most audio workstations may not have great video cards at the current time, I'd go spend $500 on a video card that'd take 90% of the workload off my processor while mixing ... it's cheaper than a lot of equipment out there.

    And the ability to get a few frags in while the band is taking a break isn't too bad either! ;)

    1. Re:Great for audio workstations... by Midnight+Thunder · · Score: 3, Insightful

      Add to the mix the PCI-X architecture and you are no longer limited to one graphics card, as you are with AGP. So at this point you could have two or more graphics cards doing audio processing.

      --
      Jumpstart the tartan drive.
    2. Re:Great for audio workstations... by javaxman · · Score: 4, Interesting
      From the Tom's Hardware article:
      So far Cann cannot take as much performance away from the GPU as he would like. "Right now, getting the data back from the video card is very slow, so the overall performance isn't even close to the theoretical max of the card. I am hoping that the PCI Express architecture will resolve this. This will mean more instances of effects running at higher sample rates," he said.

      so it appears that there may really be a problem here... a GPU will normally do a bunch of calculations, then the raster goes *out* to the monitor, not *back* to the bus... I can see how getting data back out to the bus might be an issue. A "real" DSP/audio card would certainly be better, and they aren't *all* as expensive as the original article would have you believe... a quick google found at least one decent-looking DSP card for ~$500 out there, and I'm sure there are others, probably for cheaper ( the quoted price is for a card *and* a stack of software ), if you looked around a bit... if you're considering plunking down the cash for a PCI-X machine and a good GPU, you probably have a ~$500 for a good DSP card, too, and a special-purpose solution *designed* for the purpose at hand is almost always going to be better than repurposing a *different* special-purpose product.

      Did that make sense? What I'm trying to say is that you'd be much better off buying an actual DSP audio card than buying two GPUs. That'd just be silly. This repurposed GPU stuff is just for folks unwilling to buy an extra card, but who have a nice GPU already.

  3. Excellent generall purpose coprocessor by ron_ivi · · Score: 3, Insightful
    I love this. It's like the old NeXT Computers that had a general-purpose coprocessor for it's audio (a DSP wasn't it). Moving away from the 'triangle-only' acceleration will be a great advance for all sorts of computing needs.

    Personally, I'd like to see search algorithms (perhaps data-search, perhaps even video search) move to suchc a co-processor.

  4. Hmmm by Neil+Blender · · Score: 5, Funny

    Pretty soon my graphics card is going to do more, cost more, heat up more, be louder and use more electricity than the rest of my computer combined.

  5. switch GPU and CPU by hoggoth · · Score: 3, Funny

    It sounds like we should buy a computer with a GPU on the motherboard and plug in an expansion card with a CPU on it.

    --
    - For the complete works of Shakespeare: cat /dev/random (may take some time)
    1. Re:switch GPU and CPU by keiferb · · Score: 3, Insightful

      Unfortunately, it's not quite that simple. While the GPU can do many more operations per second than a CPU, think of the two as doctors.

      <analogy accuracy="flawed at best">
      The CPU's a generalist and can treat most patients in a fair amount of time. The GPU is a specialist, however. If you know any of these in real life, you know that they can do one thing, and one thing only. In this case, it's graphics. You ask them to do something else, like gardening, and they look at you like you're from outer space.
      </analogy>

    2. Re:switch GPU and CPU by hoggoth · · Score: 4, Funny

      > A processor to make saving files effeicent,
      > A processor to sort out and verify that Network activity is correct.
      > A processor to adjust Audio properly
      > A processor for Graphics

      I think you meant:

      One processor for the audio kings playing their song
      One for the graphics-lords under their rainbows
      One for network men, pushing bits along
      One for the dark lord through his dark windows

      One processor to rule them all, One processor to discover them
      One processor to bring them all and on the bus bind them...

      --
      - For the complete works of Shakespeare: cat /dev/random (may take some time)
  6. Sounds like an acid trip by cephyn · · Score: 4, Funny

    dude...the sound man...i can SEE it...sound and sight man, its all the same....far out man....

    --
    Moo.
  7. Wanted: 2 AGP slots by mustangdavis · · Score: 4, Funny



    Now I'm going to have to find a motherboard that I could use to play Doom3 on that supported 2 video cards ....

    (one for video, one for sound) :)

    These innovations are getting pricey!!! :)

  8. GPGPU.org by thatguymike · · Score: 3, Informative

    This kind of stuff has been talked about and done in the research community for quite some time now. See http://www.gpgpu.org. While audio is an interesting idea, FFT's and Genomics are already running on GPUs Yes, GPU's can be fast, but they can also be a pain to program. Take a look at the Stanford Brook for GPU's project for a nice elegant way to program for GPUs. http://brook.sourceforce.net

  9. Great. by Power+Everywhere · · Score: 5, Funny

    Now let's see some video rendering on our audio cards.

  10. Re:Price range of $200 to $800... by SmittyTheBold · · Score: 3, Interesting

    A GPU is much faster, but only when doing certain very specific types of operations. If you tried to write a word processor for the GeForce, it would at best run terribly slow, and at worst be an impossible task.

    GPUs are not really all that powerful compared to a CPU, but they're working with a totally different set of constraints.

    --
    ± 29 dB
  11. Re:Price range of $200 to $800... by shufler · · Score: 3, Funny

    Of course it can. A price range can be slow, a processing power can be sfast, and the distance can be measured in smetres.

  12. Jesus by iamdrscience · · Score: 3, Informative

    Anytime there is an article talking about the power of your graphics card's GPU or the phenomenal processing power of DSPs, the discussion is always inundated with people asking "Hey why aren't we using these instead of our regular slow processors!", thinking they've come up with some sort of brilliant idea. For the thousandth time, people, things just don't work that way. DSPs achieve their high processing speeds by being very good at a few select things, but not really being general purpose devices. If you want to know more of the specific details, do a google search, there's a ton of information about DSPs on the web and I'm sure there are plenty of pages that explicitly address the difference between CPUS, GPUs and DSPs.

  13. GFX cards are streaming supercomputers by carcosa30 · · Score: 5, Informative

    People are doing extremely interesting things with modern graphics hardware, including fluid dynamics simulation, cloud simulation and multiplication of large matrices.

    A good site for information on it is www.gpgpu.org, where there are perhaps 200 different projects related to general purpose GFX card use.

    As the capabilities of graphics cards expand and become more esoteric, perhaps game developers will begin to eschew the use of certain graphics featuers in favor of using those parts of the pipeline to perform generic calculations, such as physics.

    Perhaps there are also ways of performing such calculations and using the results as decorative graphics, ie when we're showing decorative ripples on water, perhaps those ripples are artifacts of some calculation that is being used elsewhere in the game.

    --
    Intolerance for ambiguity is the mark of the authoritarian personality.
  14. Drop LSD? by milktoastman · · Score: 3, Funny

    I hear if you drop LSD, your brain can do the same audio to video conversion much faster than even the Nvidia graphics card can. But that's just what I heard.

  15. Goes to show... by JediDan · · Score: 3, Interesting

    what dedicated hardware can do. It's an proven fact and anyone that works with embeded systems can testify to the performance. We need to stop flaunting 3+ gigahertz processors using archaic instruction sets and focus on routing data to hardware that can handle the task.

    If the CPU was nothing but a router and directed data to dedicated hardware (network cards, GPU with integrated physics engine, harddisk controller, etc) we can get away from inefficient execution tied up in an architecture that 99% of the market depends on.

    Computers were built with modularity in mind. We need to get back to those roots as it's not only a good idea, but the only way we're going to get past some performance barriers.

    --
    - Dan
  16. This is old by michaelmalak · · Score: 4, Informative

    Tom Rokicki computed the Game of Life using Amiga's Blitter. March 17, 1987 UseNet post.

  17. Short Memory... by Duncan3 · · Score: 3, Insightful

    *chuckles* I love this, people are saying how old this tech is by talking about projects from a year ago.

    The concept of using a CPU to do I/O and other "OS stuff" for a vector processor is a wee bit older then that.

    Maybe you remember the Cray 1? Or all those i860's we used to use on cards back in the 286 days?

    Those who forget history are doomed to post on /. about how cool their "new" toys are.

    --
    - Adam L. Beberg - The Cosm Project - http://www.mithral.com/
  18. Nintendo 64 did this - new HW expands old tricks by adisakp · · Score: 5, Informative

    I work in the video games industry. Using graphics processor for audio is not new. The Nintendo 64 had a "Reality-Engine" graphics coprocessor that also processed sound by uploading new microcode.

    If you think about it, things like bilinear/trilinear filtering are perfect for resampling, graphic blendops like add/subtract/modulate are great for audio mixing and can be done with even older fixed function hardware and bit of programming effort. The programmability of new hardware with pixel and vertex shaders improves the generic applications of the GPU by orders of magnitude and allows significantly more non-graphic algorithms to be implemented.

  19. Overclocking: by Beardo+the+Bearded · · Score: 3, Funny

    If you overclock it, does that mean your mp3s all start to sound ike Alvin and the Chipmunks?

    Wait - what happens to the Chipmunk mp3s?

    --

    ---
    ECHELON is a government program to find words like bomb, jihad, plutonium, assassinate, and anarchy.
  20. Re:Price range of $200 to $800... by dasmegabyte · · Score: 4, Insightful

    Some functions of a word processor (grammar checking, for one) would be well suited to a GPU...the algorithm is relatively small, the processing per byte of data relatively high, and the result need not be immediate.

    That's what GPUs are designed for -- performing massively iterative algorithms on sets of data and returning the processed dataset. There are lots of algorithms that might benefit from this: encoding better digital video, searching for patterns, crunching numbers for encryption, etc. There are also lots of algorithms that would be NO GOOD -- SQL select statements, for example, or rendering web pages. Basically, any time processing is low and I/O is high, the GPU is a bad idea.

    Think of the GPU as a tiny little distributed computing network on your own computer. And thank the video game industry for finally making signal co-processors commercially viable.

    --
    Hey freaks: now you're ju
  21. Re:Code coprocessor by dillon_rinker · · Score: 4, Insightful

    And THEN we'll finally have our Amigas back!

  22. Latency? by Shawn+Parr · · Score: 3, Insightful
    With the conversions happening outside the GPU/Card to convert audio to video data and back, one important question has not been addressed . . .

    What kind of latency does this pose?

    There are currently lesser expensive audio DSP cards on the market (UAD 1 by Universal Audio/Kind of Loud, and the TC Powercore, and nowadays they don't cost much more than a GPU. However on both of those cards the latency is pretty harsh. Many audio system will compensate for the latency in some instances, although some can't/don't compensate for bussed effects, which is unfortunate as reverb is the greatest reason to use a card like this, and it is a bus effect typically, and the extra delay incurred acts to set a huge, usually inappropriate predelay.

    Of course there will always be those willing to work around the potential latency issues, however that defeats the purpose that they state on their site (no more freezing/bouncing/yelling at the machine).

    This is exactly why Protools TDM systems are still in vogue for higher end studios and producers. The TDM hardware does just about everything as offloaded DSP, therefore the latency is extremely low, fixed, and documented. You can look up (command-click on the track volume display actually) to find out the amount of latency on a track in samples, and if there is a need to compensate than you can figure it out. Although typically one doesn't need to compensate for only 20 samples of latency as that is less than you might find in a analog studio using digital effects.

  23. 40gflops?! how well does it crack dnet keys? by Narcocide · · Score: 3, Interesting

    i mean seriously... what would you ever need that much audio processing power for? distributed key cracking however....