English 中文(简体)
Real-time audio visualisation in Cocoa? [closed]
原标题:

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 4 years ago.

Are there any frameworks or open-source code that would simplify the process of implementing a real-time oscilloscope (time-domain audio visualisation) in OSX?

Ideally, I want to display a simple animated view representing the audio signal being input by the microphone input.

问题回答

The easiest way to do this is to use a QCView. It s pretty easy to find QC compositions that display a bar graph display of the audio output.

Look at a language called Pd (Pure Data). It s the free version of Max/MSP. It s the easiest way to do anything with audio. One of the classes is in fact an oscilloscope. Simply draw a line from the output of your sound source (it can be your mic, a sound file, or a live oscillator) to the oscilloscope and bathe in the visual output glory!

http://puredata.info/

the SurfaceVertexProgram example is a nice demonstration of how to do an oscilloscope using OpenGL. the example is a bit out-dated (you have to build up a new xcode project), but functions and demonstrates very useful techniques.





相关问题
Playing a Sound With Monotouch

No matter what I try (build -> content, NSUrl, filename) I get a null exception : file not found when I try to play a .caf sound file in monotouch. //var path = NSBundle.MainBundle.PathForResource("...

将音频Clips从Peter改为服务器

我不禁要问,那里是否有任何实例表明从Peit向服务器发送音响。 I m不关心电话或SIP风格的解决办法,只是一个简单的袖珍流程......

Play sound in iPhone web app with Javascript?

I m currently creating an iPhone web application for piano chords, and I wanted to add an option that would let the user press a Play button and play the selected chord. However, I m not sure how to ...

热门标签