Skip to main content

An AI Red Light

For over a year the roadworks near our house have been a riot of signage, inspiring me and my daughter to make silly songs using their words for lyrics as we walked to school. 

Then she got the idea that we should make a "proper" song. So I downloaded n-Track and we hacked together a techno instrumental over a few evenings. Unfortunately, recording decent quality vocals at home without much equipment is non-trvial and then real life intervened anyway so the project stopped.

A few months later I came aross Suno, an AI song generator, and had a lightbulb moment. Suno exposes a prompt for musical style and a prompt for lyrics so we had it make a song, When Red Light Shows, based on the signs. I think it was my daughter that suggested we should make a video too, so we did, with a non-AI tool, CapCut.

The lyrics came from signs, the music came from AI, and we made the images yet I feel that we were creative across all of those areas. Reflecting on our experience, the interesting aspects for me are the capabilities that the different kinds of tools afforded us and the roles we took relative to them. This blog post gets some thoughts down about that.

But first here's the song and video:

The initial act of creativity was noticing the opportunity to be creative and finding a way to take it. This was all on us. Go humans!

Choosing to make the lyrics from the road signs could be seen as an abdication of creativity. I don't think of it that way; there are traditions in art that recycle and reinvent for commentary, or to recontexualise, or simply to provoke unexpected and novel perspectives, as famously used by David Bowie. I don't want to intellectualise our efforts so I'd say that we were building from the material around us, for our own amusement. That's what we humans do.

But on a more practical note, simply having a collection of photos of signs does not make a song. Effort and judgement is required to take the raw words and organise them into something that sounds compelling.


Of course, given that Suno "wrote" and "performed" the music, there's clearly no creativity in it, right? Well, in some sense that's correct: we didn't compose or play a note. But we had the vision and we drove the tooling. In particular, prompt engineering and review of the outcomes was a significant part of the process. 

This is the style prompt we ended up using:

80s minimal hip hop with primitive scratching, fast 808 beats, dirty bass, male and female rap vocal

and these are some of the variations we tried along the way:

minimal hip hop with primitive scratching, funky bass, screaming sirens and new york rapper vocal
80s minimal hip hop no instruments just beats and bass, primitive scratching, 808s beats fast tempo new york
80s minimal hip hop, primitive scratching, raw beats, fast tempo, roadworks sound effects, two rappers trading lines
80s minimal hip hop primitive scratching, 808s beats fast tempo new york swagger
80s minimal hip hop with primitive scratching, heavy bass, 808s beats and new york rapper vocal
80s minimal hip hop with primitive scratching, fast 808 beats, dirty bass, rap vocal
80s minimal hip hop with primitive scratching, fast 808 beats, dirty bass, twin rap vocals
80s minimal hip hop with primitive scratching, fast 808 beats, massive dirty jungle bass drops, male and female rap  

In all honesty I don't know whether I'd say that the sound of our song is what I'd imagine given the prompt but it is a sound that we liked a lot.

While iterating the prompt, we were also tweaking the lyrics to encourge Suno to render them in a way that appealed to us. For example, we found that metatags helped some but were not very reliable, strings of digits such as phone numbers were handled badly, and longer lines tended to get garbled. 

This is the start of the final lyrics we used and even here the initial chorus was completely ignored and part of the verse was repeated, but again we liked the rest of the track so we went with it:

[Chorus]
When red light shows wait here
When red light shows wait here
When red light shows wait here
Wait here, when red light shows 

[Verse]
Bus Stop Is Now Open
Cycle Lane closed
Cyclists dismount here
To Be Marshalled Through Works
Cyclists / Pedestrians
Please Wait Here
Temp Bus Stop
Beware of increased traffic levels
Access to shops
Crossing not in use
Pedestrians

For each prompt we'd request four or six tracks (they come in pairs), listen to them, see whether they fitted the vibe that we were looking for and then either generate more variants or tweak the prompt or lyrics, or both, and go again. 

Intuitively, we wanted to be having a ChatGPT-like conversation about the music with Suno through the prompt, but requests like "add funky melody and make the vocals clearer" were not successful. Whatever context there is does not appear to carry across generation attempts.

Once we found a track that we liked, we could choose to "extend" it, which creates another track, musically closely related to the first, that could later be glued on. For each extension we repeated the generate-and-test process keeping the prompt static but adding more lyrics and our final song is several tracks stitched together. 

Each iteration took around a minute to render so the feedback cycle is not fast and I guess we generated over 100 tracks in total. We didn't like the outro that Suno generated so a final step after downloading the MP3 was to use Audacity to crop it at four minutes.

The video is more obviously a creative work driven by human hands. We used a tool that was new to us, CapCut, to realise a relatively simple concept: a film that shows the roadworks from beginning to end, compressed to fit into the four minutes of the song, with the road signs cut into it as they are sung. We already had photos of the signs, so I walked the whole length of Milton Road, filming on my phone to generate around 25 minutes of footage.

If you know what you are doing, CapCut is probably quite straightforward and, to be honest, even as a newbie I found its interface pretty friendly and intuitive. Having said that, it's a whole lot more complex than typing a request into a box and waiting a minute for completed work to pop out.

Not knowing what many of the features did meant that we experimented quite a lot to look for effects that we liked. While we might have had the strategic vision, we didn't have a strong idea of the tactics we'd use to realise it.

In that respect, there was a very similar loop to our use of Suno. We'd edit a piece, play it back, change some factor like the visual effects we'd used, or the timing of the effects, or the zoom on the sign, and play again. Generate and test. generate and test, generate, test, generate, test, generate ...

At times, as in any creative process, there was synchronicity that we could take advantage of. For example, there's a beat at 2:20 that fit almost perfectly with a short static image of a traffic light in the video, so we synched them.


This wasn't intended, and if we'd taken a different path it might never have even appeared to us as an option. Should we credit the humans here, or the tool, or luck, or something else?

Comparing our activities with the different materials and applications has been interesting. At a high level I don't see much difference between using CapCut and using Suno: they are both tools that take our input and produce output that we can use in ways that suit us. At lower levels, though, they have strengths and weaknesses along various dimensions such as:

Generativity: Suno can create something from literally no input. Even two empty prompts will create a song that you can iterate on. CapCut is nothing without source material and some direction from the user. 

Precision and control: Suno gives no precise control, no guarantee of repeatability, no chance to edit some small aspect of a track. CapCut gives all the control, with numerous parameters for behaviour at all sorts of granularities and it's straightforward to copy a pattern and reapply it in other places.

Startup costs: Suno is trivial to use immediately. CapCut takes effort and time to get into.

Hidden costs: Although there are tricks that can be learned to try to direct Suno more in the direction you want, I'd guess you can't become expert in Suno in the sense that, given a brief, you can know exactly how to realise it. You will likely always pay the "I didn't want that" cost of generate-and-test and you might need to, as we did, post-process the output. I wouldn't expect an investment in learning CapCut to have this problem.

Synchronicity: Both tools offer the chance of happy accidents. The user needs to take more control of the experiments in CapCut but there is enough variability that unexpected outcomes are not hard to come by.

I'm very aware that, in return for the advantages of Suno, we risk falling into Harry Collins's RAT trap where we assign the software unwarranted capability, accept compromises easily, and overlook shortcomings in its functionality and usability. Also, the stakes are extremely low here: no-one dies if Suno messes up the lyrics to our song.

In this scenario particularly, but also to some extent in an analogous project at work where we're building a testing tool that exploits the relative unpredictability of an LLM to help us explore, it is clear to me that the trade-offs are not just technical but also egotistical and social: to what extent is a creation "mine" when I've used tools with a high generativity on it? What do I think about that? What credit do others give me for that?

I think we were pragmatic in our choice of tools. Where our vision required control (video) we used a tool that gave us that control. Where we were happy to cede some control in exchange for output at a quality we could not produce ourselves (vocals) we used a different tool. 

I didn't set out to do some kind of AI experiment. Instead I set out to have some fun with my daughter and found tools that enabled us to produce something, some art, that we're proud of and I'm happy is our work. For sure, we were sometimes more creators and sometimes more curators, but at no point were we ever mere spectators.

Comments

Popular posts from this blog

Meet Me Halfway?

  The Association for Software Testing is crowd-sourcing a book,  Navigating the World as a Context-Driven Tester , which aims to provide  responses to common questions and statements about testing from a  context-driven perspective . It's being edited by  Lee Hawkins  who is  posing questions on  Twitter ,   LinkedIn , Mastodon , Slack , and the AST  mailing list  and then collating the replies, focusing on practice over theory. I've decided to  contribute  by answering briefly, and without a lot of editing or crafting, by imagining that I'm speaking to someone in software development who's acting in good faith, cares about their work and mine, but doesn't have much visibility of what testing can be. Perhaps you'd like to join me?   --00-- "Stop answering my questions with questions." Sure, I can do that. In return, please stop asking me questions so open to interpretation that any answ...

Can Code, Can't Code, Is Useful

The Association for Software Testing is crowd-sourcing a book,  Navigating the World as a Context-Driven Tester , which aims to provide  responses to common questions and statements about testing from a  context-driven perspective . It's being edited by  Lee Hawkins  who is  posing questions on  Twitter ,   LinkedIn , Mastodon , Slack , and the AST  mailing list  and then collating the replies, focusing on practice over theory. I've decided to  contribute  by answering briefly, and without a lot of editing or crafting, by imagining that I'm speaking to someone in software development who's acting in good faith, cares about their work and mine, but doesn't have much visibility of what testing can be. Perhaps you'd like to join me?   --00-- "If testers can’t code, they’re of no use to us" My first reaction is to wonder what you expect from your testers. I am immediately interested ...

The Best Programmer Dan Knows

  I was pairing with my friend Vernon at work last week, on a tool I've been developing. He was smiling broadly as I talked him through what I'd done because we've been here before. The tool facilitates a task that's time-consuming, inefficient, error-prone, tiresome, and important to get right. Vern knows that those kinds of factors trigger me to change or build something, and that's why he was struggling not to laugh out loud. He held himself together and asked a bunch of sensible questions about the need, the desired outcome, and the approach I'd taken. Then he mentioned a talk by Daniel Terhorst-North, called The Best Programmer I Know, and said that much of it paralleled what he sees me doing. It was my turn to laugh then, because I am not a good programmer, and I thought he knew that already. What I do accept, though, is that I am focussed on the value that programs can give, and getting some of that value as early as possible. He sent me a link to the ta...

Beginning Sketchnoting

In September 2017 I attended  Ian Johnson 's visual note-taking workshop at  DDD East Anglia . For the rest of the day I made sketchnotes, including during Karo Stoltzenburg 's talk on exploratory testing for developers  (sketch below), and since then I've been doing it on a regular basis. Karo recently asked whether I'd do a Team Eating (the Linguamatics brown bag lunch thing) on sketchnoting. I did, and this post captures some of what I said. Beginning sketchnoting, then. There's two sides to that: I still regard myself as a beginner at it, and today I'll give you some encouragement and some tips based on my experience, to begin sketchnoting for yourselves. I spend an enormous amount of time in situations where I find it helpful to take notes: testing, talking to colleagues about a problem, reading, 1-1 meetings, project meetings, workshops, conferences, and, and, and, and I could go on. I've long been interested in the approaches I've evol...

Not Strictly for the Birds

  One of my chores takes me outside early in the morning and, if I time it right, I get to hear a charming chorus of birdsong from the trees in the gardens down our road, a relaxing layered soundscape of tuneful calls, chatter, and chirrupping. Interestingly, although I can tell from the number and variety of trills that there must be a large number of birds around, they are tricky to spot. I have found that by staring loosely at something, such as the silhouette of a tree's crown against the slowly brightening sky, I see more birds out of the corner of my eye than if I scan to look for them. The reason seems to be that my peripheral vision picks up movement against the wider background that direct inspection can miss. An optometrist I am not, but I do find myself staring at data a great deal, seeking relationships, patterns, or gaps. I idly wondered whether, if I filled my visual field with data, I might be able to exploit my peripheral vision in that quest. I have a wide monito...

ChatGPTesters

The Association for Software Testing is crowd-sourcing a book,  Navigating the World as a Context-Driven Tester , which aims to provide  responses to common questions and statements about testing from a  context-driven perspective . It's being edited by  Lee Hawkins  who is  posing questions on  Twitter ,   LinkedIn , Mastodon , Slack , and the AST  mailing list  and then collating the replies, focusing on practice over theory. I've decided to  contribute  by answering briefly, and without a lot of editing or crafting, by imagining that I'm speaking to someone in software development who's acting in good faith, cares about their work and mine, but doesn't have much visibility of what testing can be. Perhaps you'd like to join me?   --00--  "Why don’t we replace the testers with AI?" We have a good relationship so I feel safe telling you that my instinctive reaction, as a member of the T...

Vanilla Flavour Testing

I have been pairing with a new developer colleague recently. In our last session he asked me "is this normal testing?" saying that he'd never seen anything like it anywhere else that he'd worked. We finished the task we were on and then chatted about his question for a few minutes. This is a short summary of what I said. I would describe myself as context-driven . I don't take the same approach to testing every time, except in a meta way. I try to understand the important questions, who they are important to, and what the constraints on the work are. With that knowledge I look for productive, pragmatic, ways to explore whatever we're looking at to uncover valuable information or find a way to move on. I write test notes as I work in a format that I have found to be useful to me, colleagues, and stakeholders. For me, the notes should clearly state the mission and give a tl;dr summary of the findings and I like them to be public while I'm working not just w...

Build Quality

  The Association for Software Testing is crowd-sourcing a book,  Navigating the World as a Context-Driven Tester , which aims to provide  responses to common questions and statements about testing from a  context-driven perspective . It's being edited by  Lee Hawkins  who is  posing questions on  Twitter ,   LinkedIn , Mastodon , Slack , and the AST  mailing list  and then collating the replies, focusing on practice over theory. I've decided to  contribute  by answering briefly, and without a lot of editing or crafting, by imagining that I'm speaking to someone in software development who's acting in good faith, cares about their work and mine, but doesn't have much visibility of what testing can be. Perhaps you'd like to join me?   --00-- "When the build is green, the product is of sufficient quality to release" An interesting take, and one I wouldn't agree with in gener...

Postman Curlections

My team has been building a new service over the last few months. Until recently all the data it needs has been ingested at startup and our focus has been on the logic that processes the data, architecture, and infrastructure. This week we introduced a couple of new endpoints that enable the creation (through an HTTP POST) and update (PUT) of the fundamental data type (we call it a definition ) that the service operates on. I picked up the task of smoke testing the first implementations. I started out by asking the system under test to show me what it can do by using Postman to submit requests and inspecting the results. It was the kinds of things you'd imagine, including: submit some definitions (of various structure, size, intent, name, identifiers, etc) resubmit the same definitions (identical, sharing keys, with variations, etc) retrieve the submitted definitions (using whatever endpoints exist to show some view of them) compare definitions I submitted fro...

Express, Listen, and Field

Last weekend I participated in the LLandegfan Exploratory Workshop on Testing (LLEWT) 2024, a peer conference in a small parish hall on Anglesey, north Wales. The topic was communication and I shared my sketchnotes and a mind map from the day a few days ago. This post summarises my experience report.  Express, Listen, and Field Just about the most hands-on, practical, and valuable training I have ever done was on assertiveness with a local Cambridge coach, Laura Dain . In it she introduced Express, Listen, and Field (ELF), distilled from her experience across many years in the women’s movement, business, and academia.  ELF: say your key message clearly and calmly, actively listen to the response, and then focus only on what is relevant to your needs. I blogged a little about it back in 2017 and I've been using it ever since. Assertiveness In a previous role, I was the manager of a test team and organised training for the whole ...