Capo 2.0 one of the few apps to leverage OpenCL

Jump to First Reply
Posted:
in Mac Software edited January 2014
I just noticed that the music app Capo (which slows down music yet keeps the proper pitch) has moved to 2.0 and the developer says Capo 2.0 must be Snow Leopard only because it leverages OpenCL 2.0.



His blog posting on the subject.



http://www.supermegaultragroovy.com/...ing-in-opencl/



He's got a pretty extensive posting on OpenCL and multitasking which is a good read. Here's the beginning.



Quote:
Originally Posted by SuperMegaGroovy


Please excuse the vague post, as I don?t have anything specific I?d like to share just yet. However, what I?d like to do here is call attention to my new favorite part of Mac OS X 10.6 Snow Leopard?OpenCL.



I?m working on some incredible technology for Capo lately, but it?s pretty heavyweight stuff. I?m processing audio data to produce a fancy visualization of its spectral content (not using the FFT). Unfortunately, running this operation is quite slow, so I?ve been trying to parallelize, and optimize it as best as I can.



In practice, I don?t intend to run the processing on entire audio files, but I?ve been using that as a worst-case example to test the throughput of a few approaches I?ve been working on. The input file for the tests below is a 45-second wave file, and the tool I built produces a detailed image file containing a time-vs-frequency view of the entire file.



All the test results were collected on my 8-core Mac Pro. I realize this isn?t representative of users? machines, but it allows me to verify that all the system?s computing resources are being utilized?it?s not trivial to peg 8 cores. And, seeing how this is where computers are heading in the near future, this seems like a smart thing to focus on?



Pegging 8 cores. Nice. The Spectrogram is fantastic.

Comments

  • Reply 1 of 1
    The developer went from 492 seconds to 14.1 seconds using Vectors in OpenCL. He is not going to be hired by Microsoft anytime soon.



    Do we have good coding websites for Cocoa? Not looking for the learning part, but for the discussions part like what was in this blog.
     0Likes 0Dislikes 0Informatives
Sign In or Register to comment.