学习在 C++ 中处理音频

Learning to work with audio in C++(学习在 C++ 中处理音频)
本文介绍了学习在 C++ 中处理音频的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

问题描述

限时送ChatGPT账号..

我的学位是音频工程,但我对编程还很陌生.我想学习如何在编程环境中使用音频,部分原因是我可以通过有趣的项目更好地学习 C++.

My degree was in audio engineering, but I'm fairly new to programming. I'd like to learn how to work with audio in a programming environment, partly so I can learn C++ better through interesting projects.

首先,C++ 是适合这个的语言吗?有什么理由我不应该使用它吗?我听说过 Soundfile 和其他一些库 - 你会推荐什么?

First off, is C++ the right language for this? Is there any reason I shouldn't be using it? I've heard of Soundfile and some other libraries - what would you recommend?

最后,有没有人知道这方面的任何好的教程?我已经学习了 DSP 的基础知识 - 我只是想对它进行编程!

Finally, does anyone know of any good tutorials in this subject? I've learnt the basics of DSP - I just want to program it!

我使用 Windows.我想玩实时的东西,有点像 Max/MSP,但有更多的控制.

I use Windows. I'd like to play about with real-time stuff, a bit like Max/MSP but with more control.

推荐答案

这真的取决于你想做什么样的音频工作,如果你想为游戏实现音频,C++ 肯定是正确的语言.周围有很多库,OpenAL 很棒,免费且多平台.我还成功地使用了 DirectSound 和 Fmod.检查一下,这完全取决于您的需求.

It really depends on what kind of audio work you want to do, If you want to implement audio for a game, C++ is sure the right language. There are many libraries around, OpenAL is great, free and multiplatform. I also used DirectSound and Fmod with great sucess. Check them out, it all depends on your needs.

这篇关于学习在 C++ 中处理音频的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

相关文档推荐

OpenGL transforming objects with multiple rotations of Different axis(OpenGL 变换不同轴多次旋转的对象)
GLFW first responder error(GLFW 第一响应者错误)
SOIL not linking correctly(SOIL 连接不正确)
Core profile vs version string? Only getting GLSL 1.3/OGL 3.0 in mesa 10.0.1(核心配置文件与版本字符串?在 mesa 10.0.1 中只获得 GLSL 1.3/OGL 3.0)
What is the range of OpenGL texture ID?(OpenGL 纹理 ID 的范围是多少?)
How taxing are OpenGL glDrawElements() calls compared to basic logic code?(与基本逻辑代码相比,OpenGL glDrawElements() 调用的繁重程度如何?)