Skip to main content

Four-Part Harmonization: Comparison of a Bayesian Network and a Recurrent Neural Network

  • Conference paper
  • First Online:
  • 983 Accesses

Part of the book series: Lecture Notes in Computer Science ((LNISA,volume 11265))

Abstract

In this paper, we compare four-part harmonization produced using two different machine learning models: a Bayesian network (BN) and a recurrent neural network (RNN). Four-part harmonization is widely known as a fundamental problem in harmonization, and various methods, especially based on probabilistic models such as a hidden Markov model, a weighted finite-state transducer, and a BN, have been proposed. Recently, a method using an RNN has also been proposed. In this paper, we conducted an experiment on four-part harmonization using the same data with both a BN and RNN and investigated the differences in the results between the models. The results show that these models have different tendencies. For example, the BN’s harmonies have less dissonance but especially the bass melodies are monotonous, while the RNN’s harmonies have more dissonance but especially bass melodies are smoother.

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

Buying options

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

Learn about institutional subscriptions

References

  1. Allan, M., Williams, C.K.I.: Harmonising chorales by probabilistic inference. In: Advances in Neural Information Processing Systems, vol. 17, pp. 25–31 (2005)

    Google Scholar 

  2. Bahdanau, D., Cho, K., Bengio, Y.: Neural machine translation by jointly learning to align and translate. In: IEEE International Conference on Learning Representations (2015). http://arxiv.org/pdf/1409.0473v6.pdf

  3. Buys, J., Merwe, B.V.D.: Chorale harmonization with weighted finite-state transducers. In: Twenty-Third Annual Symposium of the Pattern Recognition Association of South Africa, pp. 95–101 (2012)

    Google Scholar 

  4. Ebcioglu, K.: An expert system for harmonizing chorales in the style of J. S. Bach. J. Log. Program. 8(1–2), 145–185 (1990)

    Article  MathSciNet  Google Scholar 

  5. Elman, J.L.: Finding structure in time. Cogn. Sci. 14(2), 179–211 (1990). http://doi.wiley.com/10.1207/s15516709cog1402_1

    Article  Google Scholar 

  6. Gers, F.A., Schmidhuber, J.: Recurrent nets that time and count. In: Proceedings of the IEEE-INNS-ENNS International Joint Conference on Neural Networks, vol. 3, pp. 189–194 (2000)

    Google Scholar 

  7. Hadjeres, G., Pachet, F.: DeepBach: a steerable model for Bach chorales generation. arXiv:1612.01010 [cs.AI], pp. 1–20 (2016)

  8. Hild, H.: HARMONET: a neural net for harmonizing chorales in the style of J. S. Bach. In: Advances in Neural Information Processing 4, pp. 267–274 (1992)

    Google Scholar 

  9. Johnson, M., et al.: Google’s multilingual neural machine translation system: enabling zero-shot translation. arXiv preprint arXiv:1611.04558, pp. 1–16 (2016)

  10. Kingma, D., Ba, J.: Adam: a method for stochastic optimization. In: International Conference on Learning Representations, December 2015. http://arxiv.org/abs/1412.6980

  11. Mikolov, T., Yih, W.t., Zweig, G.: Linguistic regularities in continuous space word representations. In: Proceedings of NAACL-HLT 2013, pp. 746–751. Association for Computational Linguistics, Atlanta (2013)

    Google Scholar 

  12. Pachet, F., Roy, P.: Formulating constraint satisfaction problems on part-whole relations: the case of automatic musical harmonization. In: Workshop at European Conference on Artificial Intelligence 1998. Constraint Techniques for Artistic Applications (1998)

    Google Scholar 

  13. Phon-Amnuaisuk, S., Wiggins, G.A.: The four-part harmonisation problem: a comparison between genetic algorithms and a rule-based system. In: Proceedings of the AISB 1999 Symposium on Musical Creativity, pp. 28–34 (1999)

    Google Scholar 

  14. Phone-Amnuaisuk, S., Smaill, A., Wiggins, G.: Chorale harmonization: a view from a search control perspective. J. New Music. Res. 35, 279–305 (2006)

    Article  Google Scholar 

  15. Raczynski, S., Fukayama, S., Vincent, E.: Melody harmonisation with interpolated probabilistic models. Project-Team METISS (Research Report N 8110), France (2012)

    Google Scholar 

  16. Sutskever, I., Vinyals, O., Le, V.Q.: Sequence to sequence learning with neural networks. In: Neural Information Processing Systems 2014 (NIPS 2014) (2014)

    Google Scholar 

  17. Suzuki, S., Kitahara, T.: Four-part harmonization using Bayesian networks: pros and cons of introducing chord nodes. J. New Music. Res. 43(3), 331–353 (2014). https://doi.org/10.1080/09298215.2014.911917

    Article  Google Scholar 

  18. United Church of Christ in Japan Hymn Committee (ed.): Hymn: Hymn the second edition Tomoni Utaou. The Board of Publications The United of Church of Christ, Tokyo (1982). (in Japan)

    Google Scholar 

  19. Yi, L., Goldsmith, J.: Automatic generation of four-part harmony. In: Conference on Uncertainty in Artificial Intelligence- Applications Workshop, vol. 268 (2007)

    Google Scholar 

Download references

Acknowledgments

This work has been supported by MEXT Grant-in-Aid (No. 16H05878, 16K16180, 16H01744, 26280089, 26240025, 16KT0136, 17H00749).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Tetsuya Ogata .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2018 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Yamada, T., Kitahara, T., Arie, H., Ogata, T. (2018). Four-Part Harmonization: Comparison of a Bayesian Network and a Recurrent Neural Network. In: Aramaki, M., Davies , M., Kronland-Martinet, R., Ystad, S. (eds) Music Technology with Swing. CMMR 2017. Lecture Notes in Computer Science(), vol 11265. Springer, Cham. https://doi.org/10.1007/978-3-030-01692-0_15

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-01692-0_15

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-01691-3

  • Online ISBN: 978-3-030-01692-0

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics