开发者

Real-time audio visualisation in Cocoa? [closed]

开发者 https://www.devze.com 2022-12-12 02:21 出处:网络
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

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 3 years ago.

Improve this question

Are there any frameworks or open-source code that would simplify the process of implementing a r开发者_StackOverflow中文版eal-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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号