Skip to main content

midiVERTO: A Web Application to Visualize Tonality in Real Time

  • Conference paper
  • First Online:
Mathematics and Computation in Music (MCM 2022)

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

Included in the following conference series:

Abstract

This paper presents a web application for visualizing the tonality of a piece of music—the organization of its chords and scales—at a high level of abstraction and with coordinated playback. The application applies the discrete Fourier transform to the pitch-class domain of a user-specified segmentation of a MIDI file and visualizes the Fourier coefficients’ trajectories. Since the coefficients indicate different musical properties, such as triadicity and diatonicity, the application isolates aspects of a piece’s tonality and shows their development in time. The aim of the application is to bridge a gap between mathematical music theory, musicology, and the general public by making the discrete Fourier transform as applied to the pitch-class domain accessible without requiring advanced mathematical knowledge or programming skills up front.

This research project has received funding from the UNIL-EPFL dhCenter, an interdisciplinary research platform set up between Université de Lausanne (UNIL) and École Polytechnique Fédérale de Lausanne (EPFL), Switzerland. The project was also supported in part by the University of Amsterdam Data Science Centre.

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

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

Notes

  1. 1.

    The app is accessible at https://dcmlab.github.io/midiVERTO.

  2. 2.

    Source code available at https://github.com/DCMLab/midiVERTO.

  3. 3.

    MIDI file taken from https://bitmidi.com/uploads/6508.mid.

References

  1. Amiot, E.: David Lewin and maximally even sets. J. Math. Music 1(3), 157–172 (2007). https://doi.org/10.1080/17459730701654990

    Article  Google Scholar 

  2. Amiot, E.: Music Through Fourier Space: Discrete Fourier Transform in Music Theory. Computational Music Science, Springer International Publishing (2016). https://doi.org/10.1007/978-3-319-45581-5

  3. Amiot, E.: Entropy of fourier coefficients of periodic musical objects. J. Math. Music 15(3), 235–246 (2021). https://doi.org/10.1080/17459737.2020.1777592

    Article  Google Scholar 

  4. Harasim, D., Noll, T., Rohrmeier, M.: Distant neighbors and interscalar contiguities. In: Montiel, M., Gomez-Martin, F., Agustín-Aquino, O.A. (eds.) MCM 2019. LNCS (LNAI), vol. 11502, pp. 172–184. Springer, Cham (2019). https://doi.org/10.1007/978-3-030-21392-3_14

    Chapter  Google Scholar 

  5. Harding, J.D.: Computer-aided analysis across the tonal divide: cross-stylistic applications of the discrete fourier transform. In: Music Encoding Conference 2020 (2020)

    Google Scholar 

  6. Lieck, R., Rohrmeier, M.: Modelling hierarchical key structure with pitch scapes. In: Proceedings of the 21st International Society for Music Information Retrieval Conference, Montréal, pp. 811–818 (2020). https://doi.org/10.5281/zenodo.4245558

  7. Milne, A.J., Bulger, D., Herff, S.A.: Exploring the space of perfectly balanced rhythms and scales. J. Math. Music 11(2–3), 101–133 (2017). https://doi.org/10.1080/17459737.2017.1395915

    Article  Google Scholar 

  8. Noll, T.: Insiders’ choice: studying pitch class sets through their discrete fourier transformations. In: Montiel, M., Gomez-Martin, F., Agustín-Aquino, O.A. (eds.) MCM 2019. LNCS (LNAI), vol. 11502, pp. 371–378. Springer, Cham (2019). https://doi.org/10.1007/978-3-030-21392-3_32

    Chapter  Google Scholar 

  9. Sapp, C.S.: Visual hierarchical key analysis. Comput. Entertainment 3(4), 1–19 (2005). https://doi.org/10.1145/1095534.1095544

    Article  Google Scholar 

  10. Tymoczko, D., Yust, J.: Fourier phase and pitch-class sum. In: Montiel, M., Gomez-Martin, F., Agustín-Aquino, O.A. (eds.) MCM 2019. LNCS (LNAI), vol. 11502, pp. 46–58. Springer, Cham (2019). https://doi.org/10.1007/978-3-030-21392-3_4

    Chapter  Google Scholar 

  11. Viaccoz, C., Harasim, D., Moss, F.C., Rohrmeier, M.: Wavescapes: a visual hierarchical analysis of tonality using the discrete fourier transform. Musicae Scientiae (in press). https://doi.org/10.1177/10298649211034906

  12. Yust, J.: Schubert’s harmonic language and fourier phase space. J. Music Theor. 59(1), 121–181 (2015). https://doi.org/10.1215/00222909-2863409

    Article  Google Scholar 

  13. Yust, J.: Stylistic information in pitch-class distributions. J. New Music Res. 48(3), 217–231 (2019). https://doi.org/10.1080/09298215.2019.1606833

    Article  Google Scholar 

Download references

Acknowledgments

We thank Martin Rohrmeier for his support and guidance as well as Jason Yust and Cédric Viaccoz for their valuable comments in the development process of the web application.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Daniel Harasim .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Harasim, D., Affatato, G., Moss, F.C. (2022). midiVERTO: A Web Application to Visualize Tonality in Real Time. In: Montiel, M., Agustín-Aquino, O.A., Gómez, F., Kastine, J., Lluis-Puebla, E., Milam, B. (eds) Mathematics and Computation in Music. MCM 2022. Lecture Notes in Computer Science(), vol 13267. Springer, Cham. https://doi.org/10.1007/978-3-031-07015-0_31

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-07015-0_31

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-07014-3

  • Online ISBN: 978-3-031-07015-0

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics