Skip to main content

ETHNOS_APP

Home • Search • Journals • List 0

Sonic Visualiser

Visualisation, Analysis, and Annotation of Music Audio Recordings

Bibliographic Data

ID21288599
AuthorsMarc R Thompson (0000-0003-0662-1812, corresponding author)
Year2021
Volume74
Issue3
Pages701-714
Publication date2021-12-01
Open AccessNo
TypeARTICLE
VenueJournal of the American Musicological Society (JOURNAL)
Journal identifiersISSN: 0003-0139 • E-ISSN: 1547-3848
PublisherUniversity of California Press (PUBLISHER • US)
DOI10.1525/jams.2021.74.3.701
OpenAlexW4210704680
LanguageEN
Citations received1

Music recordings have become increasingly important tools for music analysis and many forms of musicological research.1 Compared to music analysis using notation, a recording allows the researcher to investigate music from the performer’s perspective. Much can be learned by exploring the expressive choices a musician makes to elevate the written score. Additionally, recordings are advantageous when analyzing musical styles that might not lend themselves comfortably to standard notational systems (such as some forms of electronic, pop/rock, or folk music).The analysis of music via recording need not be a highly sophisticated process. Insightful investigation can be carried out using a pencil, paper, and stopwatch to track temporal characteristics such as tempo changes and loudness dynamics. However, the process is greatly enriched by using software that displays audio waveform and spectrum visualizations. Waveforms allow one to observe temporal characteristics at a glance, while spectrum displays the music’s frequency components. Significantly, an analysis of music based on waveform and spectrum enables one to investigate music’s acoustical properties outside of a theoretical context, potentially making it possible to analyze a wider variety of musical forms and styles using the same analytical framework and tools.For over a decade, Sonic Visualiser (SV) has provided users with the ability to truly see the music. Designed for musicologists, archivists, and signal-processing researchers alike, SV is a graphical user interface for computational music analyses that would otherwise require experience in digital signal processing and music information research. Upon installing the software, users can load audio files, or make their own recordings, and quickly begin exploring the sonic characteristics and features through an array of visualization and annotation tools.SV’s main modes of viewing sound are the waveform and the spectrogram. Figure 1 shows a spectrogram of the classic John Coltrane recording of “Blue Train.”2 In the image, annotations have been made to indicate the start of each instrument’s solo. With time displayed on the horizontal axis and frequency on the vertical, the image is read as a heat map whereby the presence of frequencies is represented by color variation and intensity. This variation enables rapid identification of the various sections of the recording. For example, one can easily see the stark contrast in colors between the saxophone solo (displaying a wide range of middle frequencies) and bass solo (narrow range of low frequencies).SV was developed in the mid-2000s by researchers at the Centre for Digital Music at Queen Mary (University of London) in collaboration with the AHRC Researcher Centre for the History and Analysis of Recorded Music (CHARM). A conference proceedings article, which the developers suggest researchers use to reference the software in publications, has been cited hundreds of times and indicates the extent to which SV has been used in music-related research.3 SV is free to download across main platforms (Windows, Mac, and Ubuntu), and is distributed through the GNU open public license. Compared with other freely available analysis tools, SV is one of the few that is a graphical user interface (GUI). Others are distributed as toolboxes, which require scripting knowledge in MATLAB or Python to be used properly.So, what is SV exactly? It is many things, but perhaps most of all, it is not a DAW (digital audio workstation), at least not in the traditional sense. Recording is possible, although this is not SV’s primary purpose. In fact, once you record something it is impossible to edit the audio. This is a fact that often disappoints and confuses new users. What then is it for? many new users ask. SV is a tool for exploring sound, and for extracting and analyzing music’s multidimensional features. The SV website provides excellent background information, videos, tutorials, and links to past and current projects. The material is extensive, especially if one begins to explore the resources listed on the documentation page, which leads to the CHARM website.4 The tutorial “A Musicologist’s Guide to Sonic Visualiser” is particularly instructive for new users,5 as is Leech-Wilkinson’s free online book The Changing Sound of Music.6 The unique extended documentation gives the SV user much more than an overview of features—it provides an entire theoretical framework from which to draw research questions and methods.SV was designed as a community project. Third parties can contribute by developing so-called Vamp plug-ins, which are software add-ons incorporated into SV. The Vamp download page lists about thirty plug-ins with features such as automatic melody extraction, beat finding, chord analysis, and computation of common audio descriptors such as spectral flux (measure of how quickly the frequency spectrum changes) and spectral centroid (a characteristic of sound spectrum analogous to tone brightness). The plug-ins greatly enhance SV’s appeal, although many users will find the native features adequate for most tasks. Interestingly, the plug-ins page has not been updated for some time, which might indicate that development has slowed in recent years. SV itself continues to be updated regularly, albeit with incremental improvements. At the time of writing, Sonic Visualiser v4.3, released on January 18, 2021, is the most recent version.This review begins with a survey of SV’s main features, followed by demonstrations of possible applications for musicological research and teaching. The last section discusses how SV stacks up against other computational music analysis tools.SV’s interface centers on the concept of panes and layers. A pane is a section of the screen that displays graphical information such as the audio waveform or its spectrogram. For new users with experience of regular DAWs the pane might seem like an audio track. But a pane is different from a track in that multiple panes can show information related to the same audio file. When an audio file is loaded, a Waveform Pane is created displaying the audio file in waveform representation. From the Pane menu, the user can create a new pane to display a spectrogram or spectrum. As mentioned above, the spectrogram shows the audio file in its entirety with frequency on the vertical axis and time on the horizontal. The spectrum is a frequency analysis for the audio file’s current point in time. When playback is activated, the spectrum changes to match the changes occurring in the audio file.The layer allows the user to conceptually stack pieces of information onto a single pane. There are numerous layers to choose from for annotating the panes, such as time instants, spectrograms, text, boxes, and images. There is also the Note Layer, which enables the user to add pitched sounds onto the spectrogram. The notes can be added to match the location of frequencies on the vertical axis. This is very useful for analyzing recordings in which the singer is slightly off key, or for annotating sound recordings with nondistinct pitches, like those of songbirds.Each layer type has its set of display properties, which can be altered in the panel that shows up on the right side of the window when a new layer is created. The user navigates the layers by clicking on labeled tabs at the top of the Display Properties box. The editable properties include color schemes for all types of layers, and for spectrogram layers users can change window and overlap sizes. The spectrogram is calculated by segmenting the audio file into windows and performing a series of fast Fourier transforms to obtain the frequency components present in the audio stream, and the overlap refers to the number of overlapped samples between windows. These properties might be confusing for nontechnical users but are adequately explained in the documentation. In any case, a deep understanding of fast Fourier transform is not required for the use of SV. As far as the nontechnical user is concerned, these parameters function as image modifiers, and allow the user to edit the spectrogram’s sharpness or smoothness.Keyboard shortcuts are intuitive and easy to learn. New users are advised to memorize them as they enable quick navigation throughout the interface, which requires quite a bit of switching between modes (e.g., scrolling, selection, editing). Zooming in and out of the image can be done with scrolling wheels or via mouse/trackpad gestures. Lastly, a very simple yet valuable feature is the variable playback speed, which by default will not alter the sound’s pitch. This alone would make SV a useful tool for someone simply needing to make transcriptions of recorded music or the spoken word.On a personal note, I have used SV for about a decade and have found it to be a valuable resource for small and large projects alike. Some personal pet peeves nonetheless persist. For one, SV can become confusing to use when multiple audio files are loaded into a single session. In a regular DAW, when the user imports audio to a new track, there is an option to name the new track. Strangely, SV lacks this kind of option. Although the software automatically assigns a new color for each new waveform loaded, this simply does not replace naming the waveform. This became evident when I once had sixteen performances of the same piece open in a single session. Through experience, I have realized that a work-around is to add a Text Layer upon loading new audio and annotating the name of the file onto the audio display.Another issue pertains to navigating between the layers. It can be difficult to keep track of which layer is active. Each layer is identified by number (signifying the order in which it was created) and icon (signifying the type of layer) on the right side of the screen. A layer is activated when one clicks on its icon, but it takes some time to remember what each icon refers to. So the user is left having to click on a few of the icons before accessing the desired layer. Interestingly, the default numbers given to layers can be changed to a name of the user’s choice (not the case for waveforms). Finally, labeling time instants can be confusing for new users. Most of the edits for timing instants are found in the Edit menu. But it would surely be intuitive to have access to these properties (such as the ability to rename time instants) through the Time Instant’s Property Box on the right side of the main window.Minor gripes aside, SV remains a great tool. Ease of use is something that comes with practice and new users should not be discouraged. The next section examines how SV has been used in music-related research.The research field most often affiliated with SV is Music Information Research/Retrieval (MIR). This wide-ranging field focuses on the computational analysis of music and sound, including the design of algorithms for extracting meaningful features from audio signals, and then indexing those features for search and retrieval schemes.7 Such features can include perceivable and nonperceivable dimensions of music. An example of a perceivable dimension would be observing the time onsets of notes to determine how a performer executes a tempo rubato section in Chopin’s Nocturne op. 9, no. 2. This can be done using a stopwatch. However, if one wished to analyze how the choice of tempo varies across hundreds of recordings of the piece, one could program a computer to construct tempo curves for each recording, and then calculate descriptive statistics (e.g., mean, standard deviation) to form an idea of the most likely approach to the piece. Examples of nonperceivable features might be those characteristics that describe music’s frequency spectrum. One spectral feature, for example, is centroid, which indicates the frequency at which a spectrum’s energy is centered. Unlike tempo, spectral features require computational methods in order to be calculated. However, many of these features do have perceptual analogues—centroid is commonly associated with a sound’s brightness. MIR is interested in cataloging musical features on a grand scale and building recommendation systems. Programs like Apple Music and Spotify make use of MIR to recommend music to listeners on the basis of their previous listening patterns, and popular apps like Shazam use MIR to identify songs playing close to the user’s phone.As mentioned above, SV has been cited in hundreds of journal articles, conference proceedings, and books since 2010. I have picked out a number of publications from the literature to see how SV has been used, and notice that many of the studies merely mention it in passing. This is often the case in articles introducing analytical toolboxes.8 When articles feature SV as part of the reported research, it is mostly used for event onset detection at the data preprocessing phase.9 Onset detection is carried out either manually by the researchers and/or assistants, or automatically using various Vamp plug-ins that can detect onsets and/or beats.In some cases, SV was part of the experimental design, and human annotators were asked to segment musical excerpts to establish a ground truth that could be incorporated into an analysis.10 SV is well suited to this kind of data collection because it is relatively easy to learn to use for manual event detection and annotation, such that training the participants to complete the task should not take too much time. Onset detection can be achieved by adding time points in the Edit mode or by playing the track and tapping in time points on the computer keyboard as the audio plays. The spectrogram visualization is ideal for checking the accuracy of one’s tapping as the onsets of notes are clearly visible, especially if the recording is of a single instrument. Altering the audio playback speed also helps the user ensure that the onset appears at the correct spot.11In my own research, SV has been employed in music performance studies where musicians performed the same piece multiple times using different performance intentions (deadpan, normal, exaggerated).12 In these studies, SV was used to annotate note onsets in each performance. The onsets were exported from SV into MATLAB, where they were used as timing models to temporally align the recording’s corresponding motion capture data.Recently, however, my primary use of SV has been as a pedagogical tool for teaching, particularly in undergraduate Musicology courses. The next section provides a brief overview of how SV can be used in teaching situations.For the past five years, I have used SV as a teaching tool in courses on music analysis and music technology aimed primarily at first year Musicology students. The Music Department at the University of Jyväskylä focuses on systematic musicology, an interdisciplinary branch of musicology whose topics are broad and extend to aesthetics, psychology, sociology, neuropsychology, and psychoacoustics. Although most students in the program consider themselves musicians, proficiency in an instrument or in music theory is not required. This creates an interesting dilemma for the teacher, who must design exercises that will engage students without overwhelming those who are not familiar with the basic musical rudiments. Another challenge is to pick a tool or software with an intuitive and gentle learning curve so that students can complete the first assignments without getting bogged down in technical issues.The first examples of SV presented in class tend to be different types of sounds and musical styles. For example, a tone with a number of is a useful of how to read a spectrogram as the image has For musical I like to display of music to how SV is used to a and Figure shows the spectrogram for with annotations from a analysis by The spectrogram is as it displays the variety in and the piece. sounds of human and clearly show which are present in the while sounds that the range of The of the piece shows a that not in loudness but across the frequency first for students to complete in class the concept of and them practice recording their own into SV. Figure what an of the might The students are given a of either or sounds (e.g., and The first is to record the followed by each main sound, into SV. It is at this point that students that although audio can be recorded into the recorded audio be This gives them to practice recording as it will take takes to the the are students can see the audio display of their recording. the recording, they create a new layer a The visualization for this layer allow students to change the spectrogram’s colors and the image by with the and parameters on the right side of the screen. As the image students become that the recorded different frequency components because the the have unique then add a pane to display the spectrum of their recording. The Pane displays how the recording’s frequency components change as the recording plays. Finally, students practice annotation by adding a Text Layer, which allows them to different of their recording. the recordings are students can with a and to see if the at For with frequencies the as in will see a at and The can then on to a about more learning to use SV tools with a small music performance are given recordings of of a piece The piece was as part of an in which participants musical excerpts for and The piece used in the class had been the most highly for The given to students were recordings from a on which I have in which a performed the piece different and The students are not that the melody with and in a has been as a piece. The students must first annotate the note onsets of each and then investigate the questions about the in which the performances in of and are then asked to each performance for and The a music that how expressive intentions to music. In this I have that the as a main on For all the for are than for or The students can then their in teaching examples how SV can be used in a where the is to learn about musicological research, as to learning about For this SV is an excellent its For MIR research, more tools One tool developed by my research is the which its first of can detect information, onset and and The is that in MATLAB and is to analyze large data at SV at one audio file at a time. requires the knowledge of scripting in order to be used which is not difficult to learn but has a learning curve than on SV. It should be that there are Python that allow to use SV for large data as but to my knowledge these have not had the same as over a tool like has been its on musicologists, more useful for researchers interested in topics like music projects might these main is on a new which is a for music In 2021, a first to at which its to analysis of musical features and musical to the music were The are intuitive and are aimed at nontechnical although SV was developed over a decade and has through it continues to be a useful tool for music research and teaching. are that it is free to download and use and it has a relatively learning curve for with nontechnical For research, its has been the with which one can and annotate time This feature has been used for in music studies example, participants annotate performances into meaningful or as a data preprocessing for extracting event onsets for In teaching SV allows students to learn and as an point for learning basic of MIR (such as spectral feature The learning that SV is a for more technical courses on SV is a to consider music analysis that music. It is particularly for analyzing music as a between performances can be as one can access the expressive parameters of and it SV is because it allows one to see music as a truly multidimensional

Art · Citation · Dance · Icon · Music Information Retrieval · Musical · Musical analysis · Musicology · Visual arts · World Wide Web · Computer Science · Diverse Musicological Studies · Music and Audio Processing · Music Technology and Sound Studies

  • Resounding Yorùbá narratives

    Open Access•Joseph Kunnuji, Matildie Wium•Critical African Studies•2026

Citations per year1
Citation span2026 - 2026 (1)
Highly citedNo

Tools

Open DOIOpen Access
Ethnos_APP • Open Source Project • MIT License • Frontend v2.0.0 • Privacy and Cookies • API Documentation: api.ethnos.app/docs • API Source Code: GitHub • DOI: 10.5281/zenodo.17049435 • Frontend Source Code: GitHub • DOI: 10.5281/zenodo.17050053 • cruz.rio.br • Expectantes Misericordiae