Archive | Technology RSS for this section

Further Experiments in Agent-based Musical Composition

Photo by whistler1984 @Flickr.

Editor’s Note:  WARNING: THE FOLLOWING POST IS INTERACTIVE!!!  This week’s post is especially designed by one of our regulars, Andreas Duus Pape, to spark conversation and provoke debate on its comment page.  I  have directly solicited feedback and commentary from several top sound studies scholars, thinkers, artists, and musicians, who will be posting at various times throughout the day and the week–responding to Andreas, responding to each other, and responding to your comments.  Look for commentary by Bill Bahng Boyer (NYU), Maile Colbert(Binaural/Nodar, Faculdade de Belas Artes da Universidade do Porto), Adriana Knouf(Cornell University), Primus Luta (AvantUrb, Concrète Sound System), Alejandro L. Madrid (University of Illinois at Chicago), Tara Rodgers (University of Maryland), Jonathan Skinner (ecopoetics),  Jonathan Sterne (McGill University), Aaron Trammell (Rutgers University, Sounding Out!) and yours truly (Binghamton University, Sounding Out!).  Full bios of our special respondents follow the post. We wholeheartedly wish to entice you this Monday to play. . .and listen. . .and then share your thoughts via the comment page. . .and play again. . .listen again. . .read the comments. . .and share more thoughts. . .yeah, just go ahead and loop that.  –JSA, Editor-in-Chief

I’m a musician and an economist. Sometimes you will find me playing acoustic folk rock and blues on guitar, harmonica and voice. And at other times I will be at work, where I apply my expertise in game theory to the computer modeling of social phenomena. I create simulations of people interacting – such as how people decide which way to vote on an issue such as a tax levy, or how people learn to sort objects given to them in an experiment. In these simulations, the user can set up characteristics of the environment, such as the number of people and their individual goals. After things are set up, users watch these interactions unfold. The simulation is a little story, and one need only tweak the inputs to see how the story changes.

As a musician, I was curious if a program that generates social stories could be refashioned to generate musical pieces. I wanted to build a music-generation engine that the listener could tweak in order to get a different piece each time. But not just any tune – a piece with some flow, some story. I like that tension between randomness and structure. On one hand, I want every song to vary in unpredictable ways; on the other hand, I want to create music and not structureless noise.

I created a basic story of predators and prey, whimsically naming the prey “Peters,” represented by rabbits, and the predators “Wolves.” My simulation depicts a plain in the savannah with a green oasis. The prey seek the oasis and the predators seek the prey. Each character has its own goals and the closer they are to achieving them, the happier they are. Both predators and prey want to have stomachs full of food, so naturally they want to be close to their target (be it prey or oasis). As they travel through the savannah, they learn what choices (directions of movement) make them happier, and use this experience to guide them.

Photo by bantam10 @Flickr

So how does this story become music? To this question there are two answers: a technical one and an intuitive one. The intuitive answer is that in real life the story of predators and prey plays out geographically on the savannah, but musically this is a story that plays out over a sonic landscape. To elaborate, I abstracted the movement of the prey and predator on the geography of the plain into the musical geometry of a sonic landscape. The farther north an agent travels, the higher the pitch. And, the farther east an agent travels the longer the duration. In other words, as an agent travels to the northwest, she makes longer-lasting tones that are higher pitched. I also mapped happiness to volume, so that happy agents make louder tones. Finally, so that each agent would have a distinct voice as they traveled through this space, I chose different instruments for each agent.

In the video below I assigned the “church organ” sound to prey, and the “brass section” sound to predators.

Ultimately, there are some things that I like about this piece and others that I do not.

As a harmonica player, I improvise by creating and resolving tension. I think this piece does that well. The predator will pursue the prey into a quiet, low-pitch corner, creating a distant, rumbling sound – only to watch prey escape to the densely polyphonic northwest corner. There is an ebb and flow to this chase that I recognize from blues harmonica solos. In contrast to my experience as a harmonica player, however, I have found that some of the most compelling parts of the dynamics come from the layering of notes. The addition of notes yields a rich sonic texture, much like adding notes to a chord on an organ.

Unfortunately, for largely technical reasons, there is a lack of coherent rhythm and pacing. The programming platform (agent-based modeling software called NetLogo) is not designed to have the interface proceed in real-time. Basically, the overall speed of the piece can change as the processing load increases or decreases. I found that as agents learnt more about their surroundings (and more system resources are allocated to this “memory”), they became slower and slower. To fix this, I capped the size of their memory banks so that they would forget their oldest memories. The closest I have come to a rhythmic structure is by ordering the way that the agents play. This technique makes the piece have a call-and-response feel. If only the piece to had a coherent rhythm,  then I could imagine playing harmonica along with it.

One last comment on pitch: while an earlier version of this piece mapped each step in space to a semitone, things sounded too mechanical. Even though this was the easiest and most intuitive decision from a technical standpoint, it was aesthetically lacking, so I have now integrated traditional musical scales. The minor scale, in my opinion, is the most interesting as it makes the predator/prey dynamic sound appropriately foreboding.

Photo by deivorytower @Flickr.

You can play this piece yourself. Simply go to this link with Java enabled in your browser (recommended: Google Chrome). Pressing “Setup” then “Go” will create your own run of the piece. As it is running, you can adjust the slider above the graphic window to change the speed. Press “Go” again to stop the model, adjust any parameters you wish and press “Setup” and “Go” again to see how the piece changes. Here are some parameters to try: instA and instB to change the instruments associated with prey and predators; PlayEveryXSteps to change the pace of the piece (higher results in a slower paced piece); Num-PackAs and Num-PackBs changes the number of prey and predators; the vertical PeterVol and WolfVol adjust the overall volume of prey and predators.

In regards to my version of “Peter and the Wolf,” I have a number of things that I’m curious about.

First, how does this relate to what you think of as music? Do you like listening to it? Which elements do you like and which do you dislike? For example, what do you think about about the tension and rhythm – do you agree the first works and that the second could be improved? Would you listen to this for enjoyments’ sake, and what would it take for this to be more than a novelty? What do you think about the narrative that drives the piece? I chose the predator and prey narrative, admittedly, on a whim. Do you think there might be some other narrative or agent specific goals that might better drive this piece? Is there any metaphor that might better describe this piece? As a listener do you enjoy the experience of being able to customize and configure the piece? What would you like to have control over that is missing here? Would you like more interaction with the piece or less interaction?

Finally, and perhaps most importantly, what do you think of the premise? Can simple electronic agents (albeit ones which interact socially) aspire to create music? Is there something promising in this act of simulation? Is music-making necessarily a human activity and is this kind of work destined to be artificial and uncanny?

Thanks for listening. I look forward to your thoughts.

“The Birth of Electronic Man.” Photo by xdxd_vs_xdxd @Flickr.

– – –

Andreas Duus Pape is an economist and a musician. As an economist, he studies microeconomic theory and game theory–that is, the analysis of strategy and the construction of models to understand social phenomena–and the theory of individual choice, including how to forecast the behavior of agents who construct models of social phenomena. As a musician, he plays folk in the tradition of Dylan and Guthrie, blues in the tradition of Williamson and McTell, and country in the tradition of Nelson and Cash. Pape is an assistant Professor in the department of Economics at Binghamton University and is a faculty member of the Collective Dynamics of Complex Systems (CoCo) Research Group.

– – –

Guest Respondents on the Comment Page (in alphabetical order)

Bill Bahng Boyer is a doctoral candidate in music at New York University who is completing a dissertation on public listening in the New York City subway system.

Maile Colbert  is an intermedia artist with a concentration in sound and video, living and working between New York and Portugal. She is an associated artist at Binaural/Nodar.

N. Adriana Knouf is a Ph.D. candidate in information science at Cornell University.

Primus Luta is a writer and an artist exploring the intersection of technology and art; he maintains his own AvantUrb site and is a founding member of the live electronic music collective Concrète Sound System.

Alejandro L. Madrid is Associate Professor of Latin American and Latino Studies at the University of Illinois at Chicago and a cultural theorist and music scholar whose research focuses on the intersection of modernity, tradition, globalization, and ethnic identity in popular and art music, dance, and expressive culture from Mexico, the U.S.-Mexico border, and the circum-Caribbean.

Tara Rodgers is an Assistant Professor of Women’s Studies and a faculty fellow in the Digital Cultures & Creativity program at the University of Maryland. As Analog Tara, she has released electronic music on compilations such as the Le Tigre 12″ and Source Records/Germany, and exhibited sound art at venues including Eyebeam (NYC) and the Museum of Contemporary Canadian Art (Toronto).

Jonathan Skinner founded and edits the journal ecopoetics, which features creative-critical intersections between writing and ecology. Skinner also writes ecocriticism on contemporary poetry and poetics.

Jonathan Sterne teaches in the Department of Art History and Communication Studies and the History and Philosophy of Science Program at McGill University. His latest book, Mp3 The Meaning of a Format comes out this fall from Duke University Press.

Jennifer Stoever-Ackerman is co-founder, Editor-in-Chief and Guest Posts Editor for Sounding Out! She is also Assistant Professor of English at Binghamton University and a former Fellow at the Society for the Humanities at Cornell University (2011-2012).

Aaron Trammell is Multimedia Editor of Sounding Out! and a Ph.D. Candidate in Media and Communications at Rutgers University.

I Can’t Hear You Now, I’m Too Busy Listening: Social Conventions and Isolated Listening

Editor’s Note: I hate to interrupt our busy readers, but I just wanted to mention that today’s post by Osvaldo Oyola marks our last entry in SO!‘s July Forum on Listening.  For the full introduction to the World Listening Month! series click here.  To peep the previous posts, click here.  Also, look for our #Blog-O-Versary 3.0 post coming up on July 27th, a multimedia celebration of three years of Sounding Out! awesomeness (complete with a free, downloadable soundtrack compiled by our editors and writers for your listening pleasure). Now for some pure, uninterrupted reading (we hope!).–JSA

—-

In calling attention to listening as an activity, July 18th’s World Listening Day made me think about our social conventions around listening. While it is not uncommon for folks to pay lip service to listening’s value, this ignores the variety of ways that listening is actually socially prioritized (and the multiple meanings housed in the term “listening”).  Case in point, the officiant at my recent wedding exhorted my about-to-be-wife and me to listen to each other:  “listen for what is consistent and familiar, but also for what is new, emergent, even sweetly radical in your partner.”  When used in this sense, listening refers to a focused attention to the meaning of sound, particularly language. His words suggest that our relationship would be strengthened by listening’s ability to convey interpersonal knowledge.

While listening is certainly crucial to social bonds, my own experience as a careful and engaged listener of music suggests that some of the most crucial listening we do happens as an isolated–and isolating experience–especially when listening involves recorded sound. However, its importance to our individual well being often seems directly inverse to the (lack of) seriousness other people seem to give it. Not my now-wife, of course, but uninterrupted musical listening was not an official part of our vows, either.  There is an inherent tension between social and isolated forms of listening.

Sign o’ the Times,  still my fave 25 years later.

As a teenager, for example, whatever my arguments with my mom might have really been about, a frequent instigator of a blow-up was her reaction to my annoyance when she’d interrupt my listening at her whim. I’d be sitting in my room listening in anticipation for what I have often called my favorite recorded human sound–that moment in Prince’s “Adore” on Sign o’ the Times around 2:55 (music nerd correction: on the album version it is actually at 2:48) when Prince makes a little moan before the second time he sings “crucial”–and mom would burst into the room to ask me a question, giving no heed to the stereo. I often responded to this in the same way: “If I were reading or watching TV, you’d say ‘excuse me,’ to get my attention, just like you always taught me a polite person should do. But when it is music you just go ahead and interrupt as if I weren’t doing anything, but I am doing something. I’m listening to music. It’s an activity.” (Of course, you have to imagine that response laden with all the snottiness only a teenager could muster). You would’ve thought she’d understand, since my obsessive love of music was influenced in no small part by her huge collection of salsa records, but my mom’s listening is mostly predicated on embodying the music through dance. This kind of listening is not so much about close attention to the details of the sound, but rather on a visceral reception of its physicality. Again, like listening to speech, the form of listening given to dance commonly reinforces social bonds—between dance partners, among dancers in a crowd, between dancers and DJ or band.

The kind of listening I am describing cuts us off from the immediate social world. It requires that people who want your attention must rudely interrupt your listening pleasure or ask forgiveness for the interruption. Theoretically, they could wait patiently, but this rarely happens, so the listener often feels forced to downplay the annoyance that comes along with interruption, lest they break a social bond and/or belie how important this kind of listening really is to them.

“Tuning Out” by Flickr User CarbonNYC

Of course, the ubiquity of headphones suggests that there are many people who want to be focused enough on their listening as to avoid interruption. (Though, that may be a chicken-and-the-egg situation, as I can’t help but wonder to what degree the headphones become an excuse for social disengagement.) Either way, it is noteworthy that the wearing of headphones become a visual clue for a desire to be isolated in the listening practice, even when in an otherwise public environment. If you are going to ask a stranger on subway for directions, you are less likely to choose the person with headphones on, and if you do choose to ask them, the headphones direct the form of social action required to get their attention and ask. It calls for a visual signal, like a gesture to remove the headphones, or even polite physical contact, like a tap on the shoulder—but you certainly would not pull the headphones off their ears and just start talking at them, as you might talk at someone listening to music through speakers if you happen to walk into the room. The invention of things like the Doffing Headphone handle, which allows headphone listeners to greet others by “doffing” their headphones like one used to do with a hat, arises from the need for isolated listeners to interact with the social world  even while enmeshed in their portable bubble of personal space. However, be that as it may, the handles have not exactly caught on.

Doffing Headphones

Perhaps headphones are the just the logical evolution of crafting a listening space. They are certainly much more feasible than the ‘Yogi Enclosure’ Kier Keightley discusses in his article “’Turn It down!’ She Shrieked: Gender, Domestic Space, and High Fidelity, 1948-59.”  The “Yogi enclosure” was High Fidelity magazine’s tongue-in-cheek (and highly gendered) 1954 solution to a man’s inability to enjoy his hi-fi in a space where he is likely, the article suggests,  to be harangued by his wife and annoyed by his children.  This masculinizing of listening speaks to the social contours of what is ostensibly an individual practice. In the case of my teenaged self and my mother, I wanted my 1000th listen to Dark Side of the Moon to dictate her behavior in the way that other individual activities in a shared space dictate behavior through social conventions.  Looking back, I was also trying to claim space in her home.  I never considered how as a mom she was expected to always be available, never free from interruption no matter what she was doing.  Keightley’s article demonstrates this through explaining the construction of listening technologies as a domain of men that requires women and children to be quiet in order to allow him the pleasure of his equipment.  I could imagine my right to be uninterrupted, for my listening to be taken seriously, considered a productive activity, by virtue of my gender and my youth.   While, now that I think of it, even the majority of my mom’s record-listening and salsa dancing  accompanied household chores that fierce adherence to gender roles demanded time she might have preferred to dedicate to listening alone.

Listening by Flickr User Alessandra Luvisotto

While gender politics have changed significantly since 1954, careful music listeners of any gender still seek to define the use of space through the use of sound, intentionally or unintentionally. There is a satisfaction that comes with filling a space with sound that I feel cannot be matched by even the highest quality noise-canceling headphones. Sound emerging from speakers and moving through the air creates a presence. It demands attention. It dictates behavior.  It is a kind of power.

Image by Flickr user Ken Schwatz

Another case in point: I can remember my college roommate and I (the same fellow who’d end up being the officiant at my wedding, coincidentally enough) traveling from store to store to try out different stereo speakers, carrying a CD copy of This Mortal Coil’s Filigree & Shadow and getting salesmen to play the soft sounds on tracks like “Thias (II),” as a test. These were the days before online comparison shopping, so in order to achieve this idealized listening experience–which for us meant the loudest and softest sounds were equally clear–we had to annoy salesmen with our self-important discussion of miniscule differences in sound quality and failure to actually purchase the costly speakers we were trying.

.

What I am trying to convey with this anecdote is that, while the idealized listening experience we imagined was an isolated one (probably something involving staring at the glow-in-the-dark star stickers on the ceiling of our darkened dorm room), it was born of the sociality and power I mentioned above. We were exercising a form of privilege (or at least practicing for an imagined future masculine power over the domestic sphere).  This imagined idealized listening not only required a developed understanding of what we were listening for, but a shared sense of the ideal circumstances for those focused, uninterrupted, close listening sessions.  And those ideal circumstances required a freedom from the responsibilities of social bonds, that we, as young men, never doubted we could access.   There is no part of listening (as opposed to merely hearing) that isn’t social, and both isolated and more explicitly interpersonal forms of listening feed each other, but only when both are valued, nurtured, and made possible.

I thought by exploring these isolated listening experiences that I might come closer to understanding the primacy of the visual in the social etiquette of interruption, but I am no closer. Instead, I am left to consider the dynamics of power that (dis)allow that space for close listening. All I have learned about the matter since those teenaged arguments with my mom is that, if I plan to do some real listening, I either need to be alone in the house or that the onus is on me, the listener, to make an announcement: “I will be listening to music now.” Still, more often than not, I put on my headphones.   The fact remains that without the visual signals that let others know that listening is occurring–headphones, dancing–listening as a solo activity is so often devalued and interrupted. Sound alone is not enough.

Now if you’ll excuse me, I just got Jonathan Lethem’s book on Fear of Music, and I plan on closely listening to each track of the Talking Heads’ record before and after the associated chapter in Lethem’s book. Let’s hope I won’t be interrupted.

Osvaldo Oyola is a regular contributor to Sounding Out! and ABD in English at Binghamton University.