Skip to main content

Using Evolutionary Algorithms to Find the Melody of a Musical Piece

  • Conference paper
  • First Online:
Advances in Artificial Intelligence (CAEPIA 2016)

Part of the book series: Lecture Notes in Computer Science ((LNAI,volume 9868))

Included in the following conference series:

  • 1606 Accesses

Abstract

The melody of a piece of music contains the essence of that piece. Its study has been done for centuries, evolving side by side with other concepts and notions of music. However, musical analysis techniques are known to be analyst dependent (i.e., subjective), thus we propose a mathematical approach for characterizing the melody by fitting a curve to the pitch contour. This melody fitting will be calculated by an evolutionary algorithm, and we will use a wide set of musical pieces of many different styles to ground our claims. As a conclusion, we not only compute melodies out of a piece of music, but we also offer a new way of encapsulating components of this melody, what could lead to future applications in music composition and understanding.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    For audio samples please refer to http://neo.lcc.uma.es/staff/acamero.

References

  1. ANSI, ASA: Acoustics: ANSI/ASA S1 (2013)

    Google Scholar 

  2. Bergh, J., Lofstrom, J.: Interpolation Spaces: An Introduction. Grundlehren der mathematischen Wissenschaften. Springer, Heidelberg (2012)

    MATH  Google Scholar 

  3. Centre for Digital Music, Queen Mary, University of London: Sonic Annotator: A Batch Tool for Audio Feature Extraction. http://www.vamp-plugins.org/

  4. Cook, N.: A Guide to Musical Analysis. Oxford University Press, Oxford (1994)

    Google Scholar 

  5. DeGroot, M.H., Schervish, M.J.: Probability and Statistics. Pearson, Upper Saddle River (2011)

    Google Scholar 

  6. Eubank, R.L., Speckman, P.: Curve fitting by polynomial-trigonometric regression. Biometrika 77(1), 1–9 (1990)

    Article  MathSciNet  MATH  Google Scholar 

  7. Gu, H.Y., Jiang, K.W.: A pitch-contour generation method combining ANN, global variance, and real-contour selection. In: 2015 International Conference on Machine Learning and Cybernetics, pp. 396–402. IEEE, Guangzhou (2015)

    Google Scholar 

  8. Lin, C.Y., Wang, H.C.: Language identification using pitch contour information. In: Proceedings of International Conference on Acoustics, Speech and Signal Processing I, pp. 601–604 (2005)

    Google Scholar 

  9. Mattheson, J.: Kern Melodischer Wissenschafft (Nachdruck der Ausgabe Hamburg) (1976). (Original work published 1737)

    Google Scholar 

  10. Meredith, D.: Computational Music Analysis. Springer, Heidelberg (2015)

    Google Scholar 

  11. Neuhaus, C., Knösche, T.R., Friederici, A.D.: Effects of musical expertise and boundary markers on phrase perception in music. J. Cogn. Neurosci. 18(3), 472–493 (2006)

    Article  Google Scholar 

  12. Poliner, G.E., Ellis, D.P.W., Ehmann, F., Gómez, E., Steich, S., Ong, B.: Melody transcription from music audio: approaches and evaluation. IEEE Trans. Audio Speech Lang. Process. 15(4), 1247–1256 (2007)

    Article  Google Scholar 

  13. Salamon, J., Gomez, E.: Melody extraction from polyphonic music signals using pitch contour characteristics. IEEE Trans. Audio Speech Lang. Process. 20(6), 1759–1770 (2012)

    Article  Google Scholar 

  14. Salamon, J., Gomez, E., Ellis, D.P.W., Richard, G.: Melody extraction from polyphonic music signals: approaches, applications, and challenges. IEEE Signal Process. Mag. 31, 118–134 (2014)

    Article  Google Scholar 

  15. Thom, B., Spevak, C., Höthker, K.: Melodic segmentation: evaluating the performance of algorithms and musical experts. In: Proceedings of the International Computer Music Conference, 2002(12), pp. 65–72 (2002)

    Google Scholar 

  16. Tzanetakis, G., Cook, P.: Musical genre classification of audio signals. IEEE Trans. Speech Audio Process. 10(5), 293–302 (2002)

    Article  Google Scholar 

Download references

Acknowledgments

This work has been partially funded by the Spanish MINECO and FEDER project TIN2014-57341-R (http://moveon.lcc.uma.es).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Andrés Camero .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2016 Springer International Publishing Switzerland

About this paper

Cite this paper

Alba, E., Camero, A. (2016). Using Evolutionary Algorithms to Find the Melody of a Musical Piece. In: Luaces , O., et al. Advances in Artificial Intelligence. CAEPIA 2016. Lecture Notes in Computer Science(), vol 9868. Springer, Cham. https://doi.org/10.1007/978-3-319-44636-3_30

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-44636-3_30

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-44635-6

  • Online ISBN: 978-3-319-44636-3

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics