我在这里看到了几个关于音乐制作算法的问题。但它们都涉及复杂组合的算法以及不同的样式和方法。
我正致力于一个程序,以创造简单的旋律从C主要规模。我设计了一个简单的算法来实现,但有点卡住了。
我想知道我正在设计的这个算法,对于完成这类事情来说,是否是一个很好的“大方向”。你觉得那个怎么样?这是一种正确的思维方式,还是您推荐的另一种方法?
我现在的方法是一个只有16个四音符的旋律,分为四个音符(这会很无聊,因为它没有音符。)只是作为一个开始)。它的工作原理:
这产生的旋律不一定听起来很好,但听起来并不特别“坏”。所以从某种意义上说,它是有效的。
但正如我所说,我想知道是否有一个更好的方法来创造一个简单的旋律制作算法,以及我目前的方法是否有任何问题(当然,除了没有任何温度多样性)。
谢谢
发布于 2014-01-11 23:48:14
这并不是一个糟糕的开端,但请考虑以下的批评和建议:
评论:
建议:
- You oughtn't to choose any old random 4 triads, unless you want your melody to sound very experimental (read: bad). One of the simplest and safest chord progressions, as you may know, is I, IV, V, I; this is known as a tonic expansion. Each of these chords has one or more conventional substitutes; for example, the V chord can be substituted with the vii diminished, producing I, IV, viiDim, I. You'll notice that the V chord of C Major is G B D and the vii diminished is B D F - they share two of the same notes (B D); therefore the ear usually accepts them as substitutes for each other. I would pseudo-randomly choose my four chords based on the tonic expansion, allowing for substitutes to I, IV, V, I.
- At the very least, you should almost certainly begin the melody on tonic, end on tonic, and have the dominant (the fifth note) as the penultimate note. 99% of Western music follows these "rules."
我不知道你知道多少音乐理论,但我研究了一下,如果你愿意的话,我很乐意指出一些更详细的相关要点;不过,我认为我在这里包含的内容已经足够一个好的开始了。
发布于 2014-01-13 16:11:25
在这方面已经做了大量的研究,一般称为算法组合。在维基百科页面上有一个合理的概述。这类系统被分为几种不同的类型,取决于您是否正在从一套规则合成音乐,或者您是否分析了大量的源材料,以便生成编码下一个音符的可能性的马尔可夫模型,考虑到之前的音符是什么。
我建议阅读许多现有的文件,以便更多地了解这个问题。他们中的大多数都会参考经典作品,Lerdahl和Jackendoff的调性音乐的生成理论
https://stackoverflow.com/questions/21068960
复制相似问题