Working With Localities and Location Tags

My previous blogpost addressed two ways of classifying music in the digital age: on the one hand, subgenre taxonomies proposed by industry vendors; on the other hand, user-defined collaborative tagging systems or folksonomies, which are more suitable for exploring niche music genres and to delve into the intricacies of an ever-evolving musical landscape. The Bandcamp Dance Librarian project takes into account both classification systems, using the taxonomy of industry vendor Beatport to detect stylistic tendencies or repertoires within the Bandcamp libraries of grassroots electronic dance music labels. This is performed by identifying clusters within a Bandcamp library based on Beatport’s subgenre labels. For instance, a cluster from the library of Samurai Music is identifed as an amalgam of Drum&Bass, Leftfield Bass, and to a lesser extent Trap-Hip-Hop-R&B. The dimension of this cluster (i.e., the number of tracks) is then displayed on a timeline among other clusters.

Bandcamp is a reputable publishing platform aimed towards independent musicians that encourages the use of tags (folksonomies) by its users — accordingly, the Librarian takes into account the artist/label tags added to the Bandcamp pages. It is therefore possible to compare the industry taxonomy of Beatport with artist folksonomies, as long as such tags are provided on Bandcamp or further investigation around particular folksonomies is performed. For instance, a representative track from the cluster identified above is described, among others, as homemade weaponry by the eponymous artist:

homemade weaponry
homemade weaponry

Bandcamp link: https://homemadeweapons.bandcamp.com/track/hawkeye

A few more (technical) details about the project: The classifier is based on the methodology of Caparrini et al. (2020), using 92 audio features extracted from electronic dance music tracks within Beatport’s Top-100 lists in various subgenres. Bandcamp offers freely available full-length (low-bitrate) streams as track previews, which are suitable for musical feature extraction and analysis. Complete Bandcamp libraries are processed, and each track’s class (subgenre) probabilities are determined by the classifier, which forms the basis for the clustering algorithm. The number of clusters can be set in advance or calculated automatically. Results are provided in a PDF file with links to up to three representative Bandcamp tracks (if possible, from different artists) in each group and their attached tags (folksonomies).

The remainder of this post presents two use cases focused on localities and location tags (signifying cities, countries and sometimes nationalities). Such tags help putting local music scenes on the map; in the case of particularly prolific or creative cities they can be connected to specific genres too. Most commonly, they identify the city or country where the music label or the artist is based. Electronic music production requires relatively accessible tools and is usually carried out entirely by the producer; prominent artists are often running record labels that are integral to promoting music and structuring scenes. These aspects contribute to the burgeoning of independent music communities across the globe.

Our first example draws on features extracted from 36 Bandcamp label libraries. The libraries are taken from a piece of music journalism (https://cdm.link/2020/05/underground-techno-labels-a-bandcamp-guide/) addressing some of Bandcamp’s “underground” techno labels that “have a sense of community, even [as] a small collective of a few friends unlikely to catch larger attention”. Such specialist music press is characterized by Canadian sociologist Sarah Thorton as niche media, which is particularly efficient in categorizing social groups, classifying sounds, defining cultural distinctions and baptizing genres. The list of labels offered in the CDM article is suitable for our current aim: a blink into the sound of “underground” techno labels based on their Bandcamp location tags.

The collection includes 14.200 tracks analyzed by the Librarian. A total of 97.334 tags are attached to the tracks, as illustrated by the word cloud below:

A total of 97.334 tags are attached to the tracks
A total of 97.334 tags are attached to the tracks

In total, 12000 tags refer to locations or nationalities. The majority of the location tags designate cities — more often than not, these are where the labels are based:

Location Tags
Location Tags

The following table shows the total number of tags pertaining to each location (city), and the number of labels that tagged these cities at least once within their Bandcamp library:

Tags per city
Tags per city

(Note: United Kingdom has been conflated with London for the purposes of this illustration.)

In one way or another, the relative relevance of these cities within the global techno circuit can be inferred from these numbers.

By instructing the Librarian to treat as a single cluster all tracks that are tagged with the same city label, an attempt can be made to delineate an overall — although not the only — sound that can be comfortably identified with a location. Berlin, for instance, can be classified as follows:

Berlin Classification
Berlin Classification

Bandcamp links:

The United Kingdom is another noteworthy example:

United Kingdom Classification
United Kingdom Classification

Bandcamp links:

Of course, defining a single cluster will not account for the sonic variety of such influential cities.

As expected, the detected subgenres are concentrated on the various flavours of techno. For more stylistic variety, we can use the Librarian with different music styles and datasets.

Slovakia Case Study

The following example concerns artists that are somehow appear to be connected with Slovakia. Our goal was to focus on Slovakian artists on Spotify that have Bandcamp presence too, and use the Librarian as support for the recommendations. A sample of 82 such artists was selected; their Bandcamp libraries included 2379 tracks. In total, 17.881 tags were attached to these tracks, among which 550 were unique. The tag frequencies are illustrated below:

Tag Frequencies
Tag Frequencies

As the word cloud also suggests, the tracks cover a variety of genres. Accordingly, our classifier should be more general in scope than in the case of the techno labels. A suitable option is the MSD-MusiCNN TensorFlow auto-tagging model supplied with the Essentia library, which predicts LastFm’s top-50 music classification tags (a selection of 24 tags referring to music genres or styles were predicted for the purposes of this demonstration).

One can get a first feel of the stylistic tendencies within the sample by looking at the classification tags with the highest mean probability values:

  • rock 0.169777

  • Hip-Hop 0.141943

  • electronic 0.136527

  • alternative 0.079971

  • pop 0.066009

Accordingly, the five most representative genres or styles in our collection are rock, hip-hop, electronic, alternative and pop.

A more refined perspective is gained after clustering the tracks based on their tag probability values. The algorithm proposes three clusters by default, crystallized around the rock (alternative/pop), hip-hop, and electronic (ambient/dance) genres:

Listen Local Clusters
Listen Local Clusters

Bandcamp links:

Hip-hop Cluster
Hip-hop Cluster

Bandcamp links:

Electronic (ambient/dance) Cluster
Electronic (ambient/dance) Cluster

Bandcamp links:

The track examples provide the closest matches with the identified subgenres, and the complete clusters are not restricted to these styles. However, by increasing the cluster number it is possible to further refine the results. By increasing it to five groups, for example, a rock/electronic/pop fusion group is also identified, and metal appears as a new determining genre:

Rock/Electronic/Pop fusion group Cluster
Rock/Electronic/Pop fusion group Cluster

Bandcamp links:

Metal Cluster
Metal Cluster

Bandcamp links:

References

Alonso-Jiménez, Pablo, Dmitry Bogdanov, Jordi Pons and Xavier Serra. 2020. TensorFlow Audio Models in Essentia. arXiv:2003.07393.

Besseny, Amelia. 2020. Lost in spotify: folksonomy and wayfinding functions in spotify’s interface and companion apps. Popular Communication. no. 18 (1): 1–17.

Caparrini, Antonio, Javier Arroyo, Laura Pérez-Molina and Jaime Sánchez-Hernández. 2020. “Automatic subgenre classification in an electronic dance music taxonomy.” Journal of New Music Research 49(12):1–16.

Charles, Christopher. 2019. “Part of the Tribe: Crews, Residence, and Affiliation in Underground Dance Music Scenes”. IASPM Journal, no. (9) 2: 55–74.

Thornton, Sarah. 1996. Club Cultures: Music, Media, and Subcultural Capital. Hanover: University Press of New England.