First you need to decide what kind of musical application you want to write. The most common musical application would be an audio player. So let's talk about audio player first. For writing an audio player, you don't need to worry about MIDI or sequencer, all you need to consider is the playback mechanism. Say if you're gonna write such thing on Android, the first thing you need to do is search the keywords "audio", "playback", "audio playback" on the official website of Android development. Alternatively, Google is always there for you to gather essential information. Try to google "Android, audio, playback", and the useful stuff is there!
One thing really important is the sample code. If you got some sample code similar to what you want to achieve, then you're almost done. Or, if the sample code contains some very critical functions that is difficult to implement, you're very lucky because you don't need to worry about those functions any more. With the help of sample code, you don't have to start everything from scratch. What's more, sample code also trains your style of coding, to make you become a better programmer. Therefore I advise you to also search for one more keyword: "sample code".
The same things holds true for writing other applications such as those involve MIDI, such as a mobile piano. Since it involves MIDI manipulation, you need to know how MIDI is manipulated within the given mobile platform. Say if you're gonna write a simple piano for iOS. So you should google: "iOS, MIDI", or you can go to iOS developer library and search "MIDI". Don't forget about the "sample code". Except for MIDI, such application also involves a so called "virtual instrument". On iOS, this can be implemented using a type of file called "AUPreset". So search for this! Through some iterations, you can eventually arrive the same destination as all others did.
Usually, you can gain a clear picture of how to implement the functionality of the application relatively quickly. Then you sit down and write the code, use a week or two to debug. And then you realize that the real problem is not about the functionality, but the user interface design! Trust me! Until then you realize value of those design people!
tangkk
***************
Google Translate:
谷歌翻译:
***************
本文不提供您如何编写这样的应用程序,但高层次的决策和想法等问题。
首先,你需要决定你想要写什么样的音乐应用。最常见的音乐应用程序将是一个音频播放器。因此,让我们先说说音频播放器。为了写一个音频播放器,你不需要担心MIDI或音序器,所有你需要考虑的是播放装置。说,如果你会写这样的东西在Android上,你需要做的第一件事是搜索关键字“音频”,“播放”,“音频播放”Android开发的官方网站上。另外,谷歌总是在那里为你收集必要的信息。尝试谷歌的“Android,音频播放,和有用的东西是存在的!
真的很重要的一件事是示例代码。如果你得到了你想要实现一些类似的示例代码,那么你几乎可以做。或者,如果示例代码包含了一些非常关键的功能,是难以实现的,你很幸运,因为你不必担心这些功能。示例代码的帮助下,你不必一切从头开始。更重要的是,示例代码还训练你的风格编码,让你成为一个更好的程序员。因此,我建议你搜索一个关键字:“示例代码”。
成立同样的东西用于记录其他应用,如那些涉及MIDI,诸如移动钢琴。因为它涉及到MIDI操作,你需要知道的,MIDI是如何在给定的移动平台操纵。说,如果你要去写一个简单的钢琴为iOS。所以,你应该谷歌:“iOS上,MIDI”,或者你可以去iOS开发库和搜索的“MIDI”。不要忘了“示例代码”。除了MIDI等应用也涉及到所谓的“虚拟仪器”。在iOS上,这是可以使用的文件类型称为“AUPreset”。所以搜索!您可以通过某些迭代,最终到达相同的目的地别人做。
通常,你可以清楚地了解如何实现该功能的应用程序相对迅速。然后,你坐下,写得了代码,使用一个或两个星期调试。然后你意识到,真正的问题是没有的功能,但用户界面的设计!相信我!在那之前,你意识到这些设计的人的价值!
tangkk
No comments:
Post a Comment