什么是好的音乐软件编程​​语言?

发布于 2024-08-13 08:35:24 字数 1431 浏览 8 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(7

谁的新欢旧爱 2024-08-20 08:35:24

使用计算机音乐dsp专用语言,否则您将重新发明轮子。

Use a language specialised for computer music and dsp, otherwise you'll be reinventing the wheel.

横笛休吹塞上声 2024-08-20 08:35:24

最好的语言很可能是您最了解的语言,只要它是一种良好的多用途语言,可以轻松访问音频(麦克风/扬声器)硬件。 Visual Basic、C#、C++、Java 都可以快速且轻松地编写,并且可以让您轻松访问硬件等。

但最终,音频处理非常简单,并且录制/播放 API 非常常见 - 因此最好的语言可能是您最有信心使用的一种。您始终可以从基本实验开始(录制并播放一些音频) - 如果您对实验结果感到满意,那么任何语言的音频处理方面都将大致相同。

The best language is most likely the one you know best, as long as it's a good multipurpose language that provides easy access to audio (microphone/speaker) hardware. Visual Basic, C#, C++, Java are all quick and easy to write, and give you great access to hardware etc.

But ultimately, audio processing is very straightforward, and recording/playback APIs are very commonplace - so the best language is probably the one you feel most confident in using. You can always start with a basic experiment (record and play back some audio) - if you're happy with how that goes, the audio processing side of it will be much the same in any language.

携余温的黄昏 2024-08-20 08:35:24

我假设您正在尝试实时或近实时地执行上述操作?在这种情况下,您肯定会考虑编译语言而不是解释脚本语言,因为此类分析所需的数学很可能需要解释语言的太多处理能力。

大多数处理此类信号处理的软件往往是用相当低级的语言(如 C)编写的。您甚至可能会发现有一些库可用于您的特定平台的此类处理。这当然是我首先要开始寻找的地方,除非你想出于求知欲来实现这些算法。根据您找到的库,您可以找到一种可以使用它们的编程语言,这可能会也可能不会引导您回到 C 系列语言(即 C、C++、Objective-C,具体取决于您的平台) 。

I'm assuming that you're trying to do the above in real time or near-realtime? In that case you're looking definitely looking at compiled languages and not interpreted scripting languages as the maths required for this sort of analysis would most likely require too much processing power in an interpreted language.

Most software dealing with this sort of signal processing tends to be written in quite low-level languages like C. You might even find that there are libraries available for this sort of processing for your specific platform. That is certainly where I'd start looking first unless you want to implement these algorithms out of intellectual curiosity. Based on what libraries you find, you can then go and find a programming language that can use them, which might or might not lead you back to the C family of languages (ie, C, C++, Objective-C depending on your platform).

猫烠⑼条掵仅有一顆心 2024-08-20 08:35:24

您似乎不需要编写复杂的效果和数字声音处理功能...因此您不需要像 C++ 这样的低级语言。我认为你应该最关注用户界面和可用性。我看到有人建议使用Java。即使 Java 很容易使用,但 Java 用户界面编程并不是很实用。我宁愿选择 Python、C# 或 Java 等非常高级的语言,并使用更实用的工具包。例如,您可以将 WPF 或 Winforms 与 C# 结合使用。或者用于 Python 的 Qt 或 Gtk(甚至还有 Java 绑定......但我不确定它的状态。)。无论如何,使用一些可以让你轻松编码的东西,这样你就可以专注于可用性和其他东西。

It doesn't seem that you need to code complex effects and Digital Sound Processing functionalities... So you don't need low level languages like C++. I think you should focus most on User Interface and Usability. I see that Java has been suggested. Even if Java is easy to use, Java user interface programming is something that's not really very practical. I'd rather go for a very high level language like Python, C# or Java and use a more practical toolkit. For example you can use WPF or Winforms with C#. Or Qt or Gtk for Python (there are even Java bindings... but I'm not sure about the state of it.). Anyway use something that lets you code easily so that you may concentrate on usability and stuff.

苦行僧 2024-08-20 08:35:24

我建议Java。

它有自己的声音处理 API,并且相当容易学习。

http://java.sun.com/products/java-media/sound/< /a>

'Tux Guitar'(开源)是用 Java 编写的,并说明了可能性:

http:// /tuxguitar.herac.com.ar/

I'd suggest Java.

It has its own API for sound processing and is fairly easy to learn.

http://java.sun.com/products/java-media/sound/

'Tux Guitar' (open source) is written in Java, and illustrates what is possible:

http://tuxguitar.herac.com.ar/

远山浅 2024-08-20 08:35:24

我用德尔福。它结合了以上所有功能,它经过编译,拥有强大的音频处理库(BASS),并具有精彩的用户界面功能。我用它编写了一个混音器、一个命令行播放器、一个频谱分析器、一个声音和静音搜索器以及一个音乐比较器。

I use Delphi. It combines all the features above, it is compiled, it has a powerful audio processing library (BASS), and has wonderful user interface capabilities. With it, I have written a mixer, a command line player, an spectrum analizer, a sound and silence searcher, and a music comparer.

℡Ms空城旧梦 2024-08-20 08:35:24

如果您在学校熟悉 Pascal 语言,那么我建议您选择 Delphi。它基于 Object Pascal,它具有 C++ 的大部分功能(如果不是更多),而且它使您远离大多数高级编程概念。你可以用很少的知识取得很多成就。

前面提到的音频库(Bass、Fmod 等)都有 Pascal 接口。在 GUI 构建方面,VCL 是一个易于使用的解决方案,如果您想要跨平台,则可以使用 FMX。

Delphi、FMX​​ 和 Bass 的组合对于初学者或经验不足的程序员(如我)来说是最强大的音频编码设置。事实上,其他一切都意味着需要更多的努力或更多的专业知识。

If you are familiar with Pascal language from school, then I'd suggest to go for Delphi. It's based on Object Pascal which has most of the capabilities of C++ (if not more) plus it keeps you away from most of the advanced programming concepts. You can achieve a lot with knowing very little.

The aforementioned audio libraries (Bass, Fmod etc.) all have Pascal interfaces. In regards to GUI building, VCL is an easy-to-use solution, FMX if you want to go multi-platform.

The combination of Delphi, FMX and Bass is the most powerful audio coding setup for beginners or programmers with little experience (like me). Virtually everything else means more effort or more expertise required.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文