Flexatone HFP
Icon
  • System Detail

System: Speedy Composer

Authors

Description

During my studies in the Department of Computer Science of The Academic College of Tel-Aviv-Yaffo, I did a project called Speedy Composer - an Artificial Neural Network Melody Composer. this project had also a research part, because this area has not been researched much before. The project's target is to write a program that will compose music, that is based on parameters & chords given by the user. The final target is letting a user select parameters, chords & possibly the beginning of a melody, and then the program will compose a new melody for the user. Artificial Neural Networks are a new area in computer science. This area is called like this, because in a way, it imitates the human brain. An Artificial Neural Network is a set of simple processing units ("neurons"), that are connected to each other in a parallel network. Each unit ("neuron") implements a simple mathematic function, but the global structure of the network makes the network able to to perform complex calculations. This processing method is similar to the method used in the human brain, that is consisted of billions of neurons, and with a very complicated connectionism is able to perform actions like seeing, hearing, motorical coordination, intuition, thinking, understanding, memory etc. Although Artificial Neural Networks contain a much smaller number of "neurons" (usually, not more than a few tens), they already have some ability to learn & generalize. for example, if we have a list of events that can be numerically measured, and there is some regularity among them - it is possible to train an Artificial Neural Network to try to predict the next event, when receiving the few previous events as input. Artificial Neural Networks can also be trained to identify specific patterns (visual, vocal or other patterns), and implement programs that identify these patterns by using the trained networks. Artificial Neural Networks are used, for example, to identify pictures, and especially human faces, handwriting, and printing. In this project, I used Artificial Neural Networks to compose melodies, using this method: a network is trained on well-known melodies, while for each note - the network is given all previous notes as an input, and is trained to predict the next note. A network like this is trained until the prediction success percents are as high as possible (about 55% success. The network structure does not let it reach 100% success). Then, the network is given some basic input, and we start composing note by note. Each note is selected randomly, with probabilities based on the network output (The reason for selecting the notes randomly, is adding more interest to the melody, and composing a new melody each time). After each note is composed, it is added to the network input and the network is used again in order to select the next note. And so on, until we compose the entire melody. At first, I trained each network on an input representing the notes alone. As a result, the composed melodies lacked global structure. But, after talking to composers, I learned that most human composers usually compose according to a given progress of chords. I decided to implement it with the network, and added chords to the network input. It was then necessary to select a progress of chords before composing, and the network composes a melody based on these chords. As a result, the melodies were more interesting and with global structure. Although, a program like Speedy Composer can't compete with professional composers, but it can definitely compose nice & interesting melodies. If we compare, for example, the composing ability of the program to my own personal composing ability - I think the program's ability is better and more diverse. Here, like in chess, for example - a good computer program is not better than every human, but it can definitely compete with some people. Of course, in this area there is still place for a lot of research and improvement, and I believe that in this area too we will reach better results in the future, and the program's performances will be able to compete with the ability of many people. Now, we can ask, is there no place for human composers any more? Well, of course there is still place for humans - currently, humans are still more creative than computers, and are still better than them in many areas. But, the more we advance in technology, and especially in the area of computer science - the ability of computers improves, and becomes closer to the ability of the people who created them. And, in some areas (for example, complex mathematical calculations), the computers' ability has long ago become better than the ability of any person. It appears that this machine has already become better than its creator. Philosophically, some people claim, that there is no meaning to the words "composing" (or "creating" in general), if the composer does not have feelings, and expresses his or her feelings in the composition. But, in my opinion, the melody in itself does not contain feelings - it's just a progress of notes that makes us feel something when listening to it. And, in my opinion, the quality of the composer (if we don't have a previous opinion about him) does not influence the emotions we feel when we listen to music, read a book or see a movie - what counts is the quality of the composition itself. As we know, every book, article, melody or picture can be represented by computers as files, made of a set of bits which are 0 or 1. And, in my opinion, everything that can be represented by computers, can in theory be created by computers too. There is no theoretic reason, for example, why computers will not be able to compose symphonies like Mozart's or Beethoven's, write novels like Shakespear's, or create pictures that seem real, even if they have no connection to reality. But, it's clear that we still need to progress in this area a lot, before we will enjoy reading a book, watching a movie or listening to symphonies created by computers. You are welcome to listen to the melodies composed by Speedy Composer. Please tell me what you think about the composed melodies - I'm interested in your opinion. The current program version is a trial version, so it's not possible yet to compose melodies yourself. But, I'm going to implement it in the future.

“Composers are now able, as never before, to satisfy the dictates of that inner ear of the imagination. They are also lucky so far in not being hampered by esthetic codification -- at least not yet! But I am afraid it will not be long before some musical mortician begins embalming electronic music in rules.”

(Full citation)

“... and the hope of an extraordinary aesthetic success based on extraordinary technology is a cruel deceit.”

(Full citation)

“With the development of electronic and computer music, multidemnsionality of sound representation turned out to be both natural and useful. But music goes beyond multidimensionality -- it is even more complex.”

(Full citation)

“The danger is great of letting oneself be trapped by the tools and of becoming stuck in the sands of technology that has come like an intruder into the relatively calm waters of the thought in instrumental music.”

(Full citation)

“... but beware, technique can submerge the user: We must defend ourselves; it is good to use techniques, but we have to dominate them, to stay alert.”

(Full citation)

“... the individual and the society are deprived of the formidable power of free imagination that musical composition offers them. We are able to tear down this iron curtain, thanks to the technology of computers...”

(Full citation)

“The computing machine is a marvelous invention and seems almost superhuman. But in reality it is as limited as the mind of the individual who feeds it material. Like the computer, the machines we use for making music can only give back what we put into them.”

(Full citation)

“Music is then no longer primarily conceived as a guide for premeditated emotions, but as the density of the possible relationships which first become actuality during production under the influence of chance, and which during performance are presented to the listener as sounds beyond any environmental associatiations, independent of bodily actions required to produce sounds...”

(Full citation)

“The use of computers is the logical outcome of a historical development. It by no means heralds a new musical epoch; it simply offers a fast, reliable and versatile means of solving problems that already demanded solution. The person who writes the computer programme must bear the development of musical language up to the present in mind, and try to advance a stage further.”

(Full citation)

“... the use of numerical machines no longer stands in need of justification. It is not a mystery. If there is a mystery, it is in the mental structures of music and not in the computers, which are only tools, extensions of the hand and the slide rule.”

(Full citation)

“The characteristics of every sound depend on the way in which the sound was produced. Each art-form exploits its special production methods in order to endow the phenomena with unmistakable characteristics. Artistic economy demands that the means be appropriate to the end, and that the exploitation of the means be an end in itself.”

(Full citation)