A Kind of Bio-inspired Learning of mUsic stylE

  • Roberto De Prisco
  • Delfina Malandrino
  • Gianluca Zaccagnino
  • Rocco ZaccagninoEmail author
  • Rosalba Zizza
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 10198)


In the field of Computer Music, computational intelligence approaches are very relevant for music information retrieval applications. A challenging task in this area is the automatic recognition of musical styles. The style of a music performer is the result of the combination of several factors such as experience, personality, preferences, especially in music genres where the improvisation plays an important role.

In this paper we propose a new approach for both recognition and automatic composition of music of a specific performer’s style. Such a system exploits: (1) a one-class machine learning classifier to learn a specific music performer’s style, (2) a music splicing system to compose melodic lines in the learned style, and (3) a LSTM network to predict patterns coherent with the learned style and used to guide the splicing system during the composition.

To assess the effectiveness of our system we performed several tests using transcriptions of solos of popular Jazz musicians. Specifically, with regard to the recognition process, tests were performed to analyze the capability of the system to recognize a style. Also, we show that performances of our classifier are comparable to that of traditional two-class SVM, and that it is able to achieve an accuracy of \(97\%\). With regard to the composition process, tests were performed to verify whether the produced melodies were able to catch the most significant music aspects of the learned style.


Music Note Musical Genre Music Information Retrieval Musical Style Splice System 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


  1. 1.
    Pampalk, E., Dixon, S., Widmer, G.: Exploring music collections by browsing different views. In: Proceedings of the Fourth International Conference on Music Information Retrieval, Baltimore (2003)Google Scholar
  2. 2.
    Whitman, B., Flake, G., Lawrence, S.: Artist detection in music with minnowmatch. In: Proceedings of the 2001 IEEE Signal Processing Society Workshop Neural Networks for Signal Processing XI, pp. 559–568. IEEE (2001)Google Scholar
  3. 3.
    Soltau, H., Schultz, T., Westphal, M., Waibel, A.: Recognition of music types. In: Proceedings of the IEEE International Conference on Acoustics, Speech, and Signal Processing (1998)Google Scholar
  4. 4.
    Pachet, F., Westermann, G., Laigre, D.: Musical data mining for electronic music distribution. In: First International Conference on WEB Delivering of Music (WEDELMUSIC 2001), Florence, Italy, November 23–24, 2001, pp. 101–106 (2001)Google Scholar
  5. 5.
    Dannenberg, R.B., Thom, B., Watson, D.: A machine learning approach to musical style recognition. In: International Computer Music Conference, pp. 344–347 (1997)Google Scholar
  6. 6.
    Tzanetakis, G., Ermolinskyi, A., Cook, P.: Pitch histograms in audio and symbolic music information retrieval. In: Fingerhut, M. (ed.) Third International Conference on Music Information Retrieval: ISMIR 2002, pp. 31–38 (2002)Google Scholar
  7. 7.
    Miranda, E.: Composing Music with Computers. Focal Press, Oxford (2001)Google Scholar
  8. 8.
    Felice, C., Prisco, R., Malandrino, D., Zaccagnino, G., Zaccagnino, R., Zizza, R.: Chorale music splicing system: an algorithmic music composer inspired by molecular splicing. In: Johnson, C., Carballal, A., Correia, J. (eds.) EvoMUSART 2015. LNCS, vol. 9027, pp. 50–61. Springer, Cham (2015). doi: 10.1007/978-3-319-16498-4_5 Google Scholar
  9. 9.
    Ebcioglu, K.: An expert system for harmonizing four-part chorales. In: Machine Models of Music, pp. 385–401 (1992)Google Scholar
  10. 10.
    Sundberg, J., Askenfelt, A., Frydén, L.: Musical performance: a synthesis-by-rule approach. Comput. Music J. 7(1), 37–43 (1983)CrossRefGoogle Scholar
  11. 11.
    Friberg, A.: Generative rules for music performance: a formal description of a rule system. Comput. Music J. 15(2), 56–71 (1991)CrossRefGoogle Scholar
  12. 12.
    Cope, D.: Experiments in Musical Intelligence. Computer Music and Digital Audio Series, A-R Editions (1996)Google Scholar
  13. 13.
    Lehmann, D.: Harmonizing melodies in real-time: the connectionist approach. In: Proceedings of the International Computer Music Association, pp. 27–31 (1997)Google Scholar
  14. 14.
    Wiggins, G., Papadopoulos, G., Amnuaisuk, S., Tuson, A.: Evolutionary methods for musical composition. In: CASYS 1998 (1998)Google Scholar
  15. 15.
    Horner, A., Goldberg, D.: Genetic algorithms and computer assisted music composition. Technical report, University of Illinois (1991)Google Scholar
  16. 16.
    Biles, J.A.: GenJam: a genetic algorithm for generating jazz solos. In: International Computer Music Conference, pp. 131–137 (1994)Google Scholar
  17. 17.
    Horner, A., Ayers, L.: Harmonization of musical progression with genetic algorithms. In: International Computer Music Conference, pp. 483–484 (1995)Google Scholar
  18. 18.
    Biles, J.A.: GenJam in perspective: a tentative taxonomy for GA music and art systems. Leonardo 36(1), 43–45 (2003)CrossRefGoogle Scholar
  19. 19.
    Prisco, R., Zaccagnino, R.: An evolutionary music composer algorithm for bass harmonization. In: Giacobini, M., Brabazon, A., Cagnoni, S., Caro, G.A., Ekárt, A., Esparcia-Alcázar, A.I., Farooq, M., Fink, A., Machado, P. (eds.) EvoWorkshops 2009. LNCS, vol. 5484, pp. 567–572. Springer, Heidelberg (2009). doi: 10.1007/978-3-642-01129-0_63 CrossRefGoogle Scholar
  20. 20.
    De Prisco, R., Zaccagnino, G., Zaccagnino, R.: Evobasscomposer: a multi-objective genetic algorithm for 4-voice compositions. In: Genetic and Evolutionary Computation Conference, GECCO 2010, Portland, Oregon, USA, July 7–11, pp. 817–818 (2010)Google Scholar
  21. 21.
    De Felice, C., De Prisco, R., Malandrino, D., Zaccagnino, G., Zaccagnino, R., Zizza, R.: Splicing music composition. Inf. Sci. 385—-386, 196–212 (2017)CrossRefGoogle Scholar
  22. 22.
    Levine, M.: The jazz theory book. Curci (2009)Google Scholar
  23. 23.
    Head, T.: Formal language theory and DNA: an analysis of the generative capacity of specific recombinant behaviours. Bull. Math. Biol. 49, 737–759 (1987)MathSciNetCrossRefzbMATHGoogle Scholar
  24. 24.
    Hopcroft, J.E., Motwani, R., Ullman, J.D.: Introduction to Automata Theory, Languages, and Computation, 3rd edn. Addison-Wesley, Reading (2006)zbMATHGoogle Scholar
  25. 25.
    Păun, G.: On the splicing operation. Discrete Appl. Math. 70, 57–79 (1996)MathSciNetCrossRefzbMATHGoogle Scholar
  26. 26.
    Schölkopf, B., Platt, J.C., Shawe-Taylor, J.C., Smola, A.J., Williamson, R.C.: Estimating the support of a high-dimensional distribution. Neural Comput. 13(7), 1443–1471 (2001)CrossRefzbMATHGoogle Scholar
  27. 27.
    Bishop, C.M.: Pattern Recognition and Machine Learning (Information Science and Statistics). Springer-Verlag New York, Inc., Secaucus (2006)zbMATHGoogle Scholar
  28. 28.
    Todd, P.M.: A connectionist approach to algorithmic composition. In: Todd, P.M., Loy, D.G. (eds.) Music and Connectionism, pp. 173–194. MIT Press/Bradford Books, Cambridge (1991)Google Scholar
  29. 29.
    Bharucha, J.J., Todd, P.M.: Modeling the perception of tonal structure with neural nets. Comput. Music J. 13(4), 44–53 (1989)CrossRefGoogle Scholar
  30. 30.
    Mozer, M.: Neural network music composition by prediction: exploring the benefits of psychoacoustic constraints and multi-scale processing. In: Connection Science, pp. 247–280 (1994)Google Scholar
  31. 31.
    Eck, D., Schmidhuber, J.: A First Look at Music Composition Using LSTM Recurrent Neural Networks. Technical report (2002)Google Scholar
  32. 32.
    Gers, F.A., Schmidhuber, J.: Recurrent nets that time and count. In: Proceedings of the IJCNN 2000, International Joint Conference on Neural Networks, Como, Italy (2000)Google Scholar
  33. 33.
    Hsiao, C.H., Cafarella, M., Narayanasamy, S.: Using web corpus statistics for program analysis. In: OOPSLA. ACM (2014)Google Scholar
  34. 34.
    Muller, K.R., Mika, S., Rt, G., Tsuda, K., Schlkopf, B.: An introduction to kernel-based learning algorithms. IEEE Trans. Neural Networks 12(2), 181–201 (2001)CrossRefGoogle Scholar

Copyright information

© Springer International Publishing AG 2017

Authors and Affiliations

  • Roberto De Prisco
    • 1
  • Delfina Malandrino
    • 1
  • Gianluca Zaccagnino
    • 1
  • Rocco Zaccagnino
    • 1
    Email author
  • Rosalba Zizza
    • 1
  1. 1.Dipartimento di InformaticaUniversità di SalernoFiscianoItaly

Personalised recommendations