Open Minds … from Creative Commons Episode 17: Damien Riehl & Noah Rubin of All The Music [00:00:00] Ony: Welcome to Open Minds from Creative Commons. I'm Ony Anukem CC's communications and campaigns manager. Our Open Minds podcast is a series of conversations with people working on the issues we're involved with and the subjects we're excited about. Each episode we sit down with amazing guests who are working to make the internet and our global culture more open and collaborative. In this episode, we're joined by programmer, musician, and copyright attorney, Damian Riehl, and fellow musician and programmer, Noah Rubin—the creators of the All The Music project. Frustrated by accidental copyright infringement lawsuits stifling artists creativity, the dynamic duo teamed up to create an algorithm that would generate and save every possible melody, in order to claim the copyright, and then release it again to the public domain under CC0, which means they have no rights reserved. We dive into why they decided to take on this audacious project, how they did it, and how they're trying to help other musicians and creators. [00:01:17] Ony: Good to have you both. I thought we could just start off with you telling me a little bit about yourselves and how you met and started the All The Music project. [00:01:27] Damien: Maybe I can start, and then Noah can jump in. I've been a lawyer since 2002, a coder since 1985, though my coding expertise is not nearly as good as Noah's. So, I litigated for about 15 years and then got to know Noah through. We both worked for the same company, a cybersecurity company called Stroz Friedberg. And we were working on an engagement together, and I got to be really good friends and colleagues, and we decided that we might be able to work on a project together that might make a difference. And we'll be talking about that in a bit, but I'll let Noah introduce some stuff. [00:01:55] Noah: Yeah. My name is Noah Rubin. Like Damien said, I used to work for a company called Stroz Friedberg, got bought by Aon in 2016, and I did incident response for awhile. Now I'm at AWS as a senior security engineer. I like writing code, big fan of open source code, and giving things away for free. And yeah, I've loved music my whole life. So this seemed like a no-brainer to me. [00:02:17] Damien: And one thing that I should also mention is that both Noah and I are do gooders. That is, we want the world to be better because of us, not worse. So, Creative Commons plays a big part in that do gooderness. [00:02:26] Ony: Yay. Yay. You're both musicians, I understand, right? [00:02:31] Damien: I have a bachelor's degree in music. Yeah, so my two instruments were vocal music and instrumental music with percussion. And so I record and play and do lots of things, and Noah's also a great musician. [00:02:41] Ony: That's incredible. So for those of us who are non-musical and non-technical, tell me how you would describe the All The Music project? Yeah. [00:02:52] Damien: Maybe I can give a high-level overview, and then Noah can talk about the details of how he implemented it. But the problem that we were trying to solve is that there was a case where George Harrison had been accused of copyright infringement, where he had my sweet Lord, oh, sweet Lord, and then he was sued for a case that was he's so fine, oh, so fine. And he ultimately got dinged for $2.some million by the judge, who said, I believe you, George Harrison, that you say you've never heard that other song before, but I think you subconsciously infringed it. I think you heard it maybe over somebody's loudspeaker, and you just subconsciously put that into your own music. I heard that in law school, in the early two thousands, and that always seemed wrong, because every other aspect of law, you need to have intent. You need to be able to say I didn't brush up against you accidentally. I punched you in the nose, right? Punching is different than accidentally brushing up. So, when I was working in cybersecurity, it occurred to me— I knew that you could brute force passwords, and the way you can brute force a password is use a computer to go AAA, AAB, AAC, until it ultimately guesses your password. [00:03:55] Damien: That's called brute forcing. And I thought, and so Noah and I after a long day on our cyber security engagement. We were sitting in the hotel in the bar. And I said, Noah do you think we could brute force music? Do you think we could go, do do do do, do do do re, do do do mi, do do do fa, until we've mathematically exhausted every melody that's ever been and every melody that ever can be. And I guess Noah, you can say your response, but I think there was, there was a four-letter word in there, but he answered affirmatively. [00:04:19] Noah: Yeah. I'm always interested in using code to solve interesting problems. I'm not much of a- I don't necessarily like writing code just for the sake of writing code, like to solve interesting problems. And this sounded super fun. At the time I didn't think it would be that hard to do. It turned out to be a little more time intensive than I anticipated, but it sounded super interesting so I was all for it. [00:04:39] Damien: And really the problem that we ultimately solved on that subconscious infringement was to maybe you know, at this point we've made between 200 and 400 billion melodies depending on how you count them. And so one argument is that we've. We've coded them all placed them on a disc. As soon as they're placed on a disc under the copyright law, under the Bronx Metro, they are copyrighted all automatically, as soon as they hit the disc. So we've copyrighted between 200 and 400 billion melodies. And then we've used Creative Commons Zero to be able to say, this is a public domain, at least we have dedicated this to the public domain. Of course, anything that we have copyright to, we dedicate to the public domain. We can't necessarily dedicate to the public domain other people's works that we don't have control over. But that is a fuzzy aspect because, you know, if we happen, as we brute force across them, we happen to, you have also done a popular melody. There is a big question as to the copyrightability of that melody, is it Creative Commons Zero. Did they still have copyright in it? That is an open question anyway. So, Creative Commons was a very important way that we could be able to solve the problem. That was the George Harrison problem—subconscious infringement. [00:05:46] Ony: Okay, well, let's stay on that vein. So this started off as an idea that kind of came together very organically. What was the development process like? And what were some of the challenges, hurdles that you had to cross along the way? [00:06:04] Noah: So, sort of like any software project, you have requirements that you need to gather. And I had a lot of learning to do. I didn't know much about music theory forgot everything I learned at school. So I had to re-learn a bunch from Damien and we talked for a long time, many hours about what the goal of the project was, making sure that whatever we were going to do was in line with what we actually wanted to do because. We didn't want to screw anyone over just to solve a cool technical problem. So it was really gathering requirements, prototyping, and then going back and forth that Damien in an iterative process to make sure that what I was actually producing is accurate and what we want to be doing. So we prototyped a lot in Python. Python was critical to the process, and then we realized we needed higher throughput. So we switched to Rust, which I'm a huge fan of. And the eventual implementation was in Rust. [00:06:55] Damien: And the types of requirements that Noah is talking about is when you think about how many melodies we were creating, part of it is the number of pitches the do re mi fa so la ti do and then how many notes repeated 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, right? How many repeated notes do you do? So, the initial requirements, I thought maybe we could do the entire piano. But then we figured out that 88 keys is computationally very absurdly complicated. And, but then we thought you know, popular music, which is the thing we were focused on, we didn't want to focus on jazz or classical music because nobody sues over jazz or classical music cause it doesn't make any money. The only thing that makes money is popular. And popular music generally focuses on the diatonic scale, the do re mi fa so la ti do and so our first dataset was those eight pitches that I just said, and then repeated 12 times. And then the next data set that we created was the minor scale do re mi fa so la ti do. And then the next data set that we created was both the black notes and the white notes. That is the chromatic scale , which did cover jazz, which did cover classical music. And then after that, some people said, you know, you're not including rhythm. You should include rhythm. So then we added a silent note to be able to essentially create rhythm where, where there wasn't any before. So really those are Noah and I working through those iterations on what makes sense from a musicological standpoint and then how we can implement that technically. And all of that was demonstrating that music largely is just math and it's just plowing through all those combinatorial iterations of those things. [00:08:22] Ony: So the project's been up and running for some time now, I'm wondering if you can talk a bit about some of the wins that you've had, the positive feedback you've received. Yeah tell me. [00:08:33] Damien: Yeah, I'd be happy to, I'm going to talk about some of the wins and then I will talk also about the Creative Commons Zero and the important aspect of Creative Commons Zero. The good news on the wins side, on the legal aspect of it. It's before my talk. And one of the reasons I created the talk and created the All The Music project with Noah is because before this, everybody lost because essentially every defendant had to prove a negative. I, as a defendant, have to prove that I've never heard your song and philosophically anyone, everyone knows that proving a negative is impossible. I can not, I can't prove that I've never heard that song on the supermarket loudspeaker. I can't prove that my friend of mine didn't hold their phone up to me and say, listen to this cool song. It's as soon as the song is popular enough then the defendant always loses. That was the case before our talk. And the reason for that is that under copyright law, and of course, Creative Commons listeners are very familiar with copyright law to be able to show copyright infringement. You have to show three things. I think number one is show that is copyrightable in the first place. Is it protectable? Is question number one, question number two. Did you have access to the thing that is, did the second person have access to the first thing? Question number three. Is there substantial similarity between the two? So question number one, originality question number two, access question number three, substantial similarity. Every defendant before us focused on the second to that is did they have access? Was it substantially similar? They didn't focus on question number 1. Is it, or is it copyrightable in the first place? There's a protectable in the first place. And so, when you all of the, you know, all the news articles you say is they play them side by side and say, boy, don't those sound similar? That's question number three. Right? And then they really kind of gloss over number two was their access. And but all of the cases focused on those two. My Ted talk and, and Noah's and my project. So maybe we should look at number one. Maybe we should look at whether these melodies are copyrightable in the first place, because the machine that Noah has spit out at 300,000 melodies per second, should we give that to any one person? For the life of the author, a monopoly for the life of that author, plus 70 years on top of that, or should we instead say maybe those things that he's, that Noah's machine spit out at 300,000 melodies per second, maybe those are just the building blocks of music. Maybe everybody needs those in a commons to be able to be able to use, to be able to just save music. Because if we give a monopoly to any one person for their life, plus 70 years for these building blocks, we're going to run out of open spaces. We're not going to be able to make music anymore because essentially the baby boomers are going to have a monopoly on these things for the next hundred years. So anyway, that's why we dedicated them to the Creative Commons Zero to be able to say these should be in the comments and arguably they are, have always been in the comments, but they should be in the comments for evermore. So anyway, before my talk, everybody. After my talk, my talk was in August of 2019, it was released to the public by YouTube in January 30th, I think of 2020. Right. Like, two months after that Led Zeppelin ninth circuit didn't focus on question two or three, like all the others but focused on number one, like I argued in my Ted talk saying, is this original? And the answer is no in the…So they said, this is not original, therefore not copyrightable a month after that, the Katy Perry district court case focused on number one, saying this is not religion. This is not original. We don't even have to worry about number two or three. And then more recently in this past month the ninth circuit affirmed that district court case, the Katy Perry case saying that's right. It is not original. Therefore you can't go forward. And then more recently the Ed Sheeran case in the UK on had the same thing, he, and he actually cribbed some language from my TEDx talk. Correlation is not causation, but he, in my, in my Ted talk, I say there are only so many notes and we're running out and he said in his public statement, there are only so many notes and we're running out. So anyway, correlation is not causation, but I'd like to think that our talk, which has been seen well over, I think about 2 million times at this point that maybe a judicial law clerk or a judge, or some lawyers that are litigating things, things may be used. Our project is inspiration. [00:12:31] Ony: Well, that's incredible. And it's great to see that it's definitely opened up a conversation and is, you know, causing some change. I guess moving into copyright a bit more, what legislative changes would you like to see to really address the issues around accidental infringement moving forward? [00:12:54] Damien: I think one legislative change that the Creative Commons has done a really good job with doing is Creative Commons Zero. I've spoken with a lot of folks, lawyers and copyright scholars, that really focus on copyright law, and they say that there's an open question as to whether one can dedicate something to the public domain. Is it even possible to dedicate under Creative Commons Zero? So I would like for essentially a licensing Creative Commons Zero to turn into a legislative, for the Congress, to be able to say, yes, you can do this. This is something you are permitted to do, because you know, Noah and I are do gooders. And I know that lots of Creative Commons listeners are do gooders. We want to be able to dedicate things for remixing for doing things, without having any credit, for them to do what they want. I would love for that kind of question that is in the minds of scholars to be taken care of by legislation by statutes, saying, yes, you can give it up to the public domain. And then to the other, there's two ways to make law. There's the legislative way, and then there's the case law way. And I think we are certainly on a trend with the cases I mentioned earlier, the Katy Perry case and the Led Zeppelin case, and the Ed Sheeran case, to be able to say that certainly short melodies are not copyrightable that they are mere building blocks upon which everyone should be able to build. So I would say that if the cases continue to be on the winning streak that they have been, maybe we don't need legislation. Maybe the case law will be good enough. And the biggest thing that we want to be able to inhibit is plaintiff's lawyers, that is lawyers representing, I would say opportunistic plaintiffs who are, you know, maybe weren't as popular as they would like to be, and sued Katy Perry, for example Flame, nobody knows who Flame is, but he tried to get $2.7 million out of her. Right. I understand that a lot of these cases, I don't know about Flame in particular, but I understand a lot of these you stole my melody lawsuits are taken by lawyers on contingency. And what that means is that the clients don't pay the lawyer. The way the lawyer gets paid is that if they, the lawyer, gets a recovery, they get a percentage of the recovery. So I, as a lawyer, if I'm going to take something on contingency, I've got to be pretty sure that it's going to win. And if it's not certain, I'm probably not gonna take it. So really I think more than legislative changes that need to happen, I think we're actually winning the war, because between the Katy Perry case and the Led Zeppelin case, and the Ed Sheeran case, I, as a lawyer that might have otherwise taken it on contingency as a sure thing, because every time the defendants have lost, right, maybe now the odds are against me, and maybe I don't take that case. And maybe there are fewer of these, you stole my melody lawsuits. Anyway, maybe we need legislation, but with this Congress, I don't think it's likely, maybe we don't. [00:15:17] Ony: Right. And so if we're not going down the legislation route, what mindset shifts need to happen? Do you think that we're thinking about this all the wrong way? [00:15:30] Damien: I think, yes. And I'd be interested in Noah's thoughts on this. At least the way that I'm approaching this as a musician is what are we as musicians proudest of? Are we proudest of the copyright? Or instead, are we proudest of the music that we're creating, and do we need copyrights to attain the goals of pride in our music? As I talked to musicians about this, the people who are worried about our project are the ones that want to have control of their things to say, Hey, this is mine. I want to stake out a claim from my melody, that I, you know, through the lightning strike of inspiration was able to make this. And this is mine and no one else's. I think that mindset needs to maybe shift to say, You know, this lightning strike of this melody that you just came up with. Here are 20 other songs that somebody else had that same lightning strike. So maybe the thing that you created isn't that special? And in fact, you shouldn't be suing somebody over something that everybody else has been using too. And so in that way, it's, you know, standing on the shoulders of giants. Essentially, musicians should have the humility to realize that what they're creating wild, beautiful, and special, and you should certainly be creating more of it. It's not something you should have a monopoly on, that you should be locked up forevermore because essentially nobody who came before you, who also did that same thing, they let you do the thing so you shouldn't keep the next people from doing the thing. Right. They didn't lock it up, so you shouldn't lock it up either. [00:16:50] Noah: Yeah, I agree with what Damien said. To state it in a different way, I think there are certain components of a song and when I say a song, I mean the general song, right, there are components of songs that are not, in our opinion, original. They're fundamental building blocks like a melody, like a simple chord progression. There's a great video. I love of like how to make a chain smoker song in five minutes. You know, it's like that kind of thing. A lot of pop songs, a lot of country songs use the same sort of chord progressions or melodies. So, like Damien said, we're not trying to take anything away from musicians. But musicians should take pride in the composition that is their work, and not think about, you know, the melody like that one small component as making up their whole song. It's the composition of components that make up their unique song. And maybe some of the components aren't that unique, right? Like one problem that we're interested in solving right now and active talks about is how do you make a tool for musicians to be able to say like this component of my song with used in these other songs that came before me, it's a hard problem to solve because you need a big database. And it's an interesting, interesting technical problem there, but you can't expect a human to be able to know that on their own. So if we say, okay, there are certain things, certain components of songs that are fundamental building blocks, everyone can use them. It takes a lot of pressure off of musicians and they can take pride in the thing that's most important, which is the composition of components. [00:18:15] Damien: That's right. Of all the things and an example, that is a great example, is that the composition Baa, baa, black sheep, have you any wool? Is the same as Twinkle, twinkle, little star, which is the same as A-B-C-D-E-F-G right? All of those have the same. But they're different songs. And often when I say that people like, oh my gosh, I've lived decades and I've never realized that those three contain the same melody. And there's a reason for that. The reason is that they're different songs, even though they share the same melody in our minds, they occupy different song spaces. So, if a, if a song is melody plus rhythm plus chord structure, plus timbre plus all of these other things, the entirety of all those things put together is a song and we shouldn't extract any one of those things, including we shouldn't extract melody to be able to say, I have a monopoly on this for my life, plus 70 years. [00:19:02] Ony: Amazing. Thank you for the analogy, it really paints a picture and switching gears a little bit. I wanted to find out how you both kind of got involved with open and Creative Commons? [00:19:16] Damien: Well, maybe I can start with Creative Commons, and then Noah can talk about all the open things that he's working on. So Creative Commons, I've been a big fan of Lawrence Lessig's since 1999, when I first went to law school. I read 'Code Is Law' and I read all of his books on copyright and the way the copyright needs to be reformed. So when Lawrence and others created Creative Commons back in the early 2000s, I was a huge fan. I thought, of course, this is a solution to many of the problems that he'd been talking about, so I've always been a fan of the Creative Commons, and I've tried to license my things under the Creative Commons as much as I can. And actually was able to meet Lawrence around 2008 or 2009, and we were able to chat a little bit about the Disney copyright case before the US Supreme Court, and how I thought it was a travesty, how that case ended up. So anyway, so, Creative Commons has been on my mind for 20 years. And so, when I thought about what our license should be for the All The Music project I thought, of course, of course Creative Commons Zero is the logical and really the only way that one can dedicate into the public domain under Creative Commons Zero, I couldn't even think of an alternative. So I'm a huge fan of Creative Commons. I love what you've been doing and know has been doing a lot of cool things with the open source and other open communities. [00:20:18] Noah: Yeah. My exposure to open things is open source software. And I'm a big believer in that, mostly because the world pretty much runs on open source software anyway, right now, and I don't think that open source software maintainers get enough love or funding. But I've been a contributor to open source projects for a while now. I have a bunch of open source things that I've done myself, mostly that I use. It's not necessarily the most popular projects, but I enjoy doing them, All The Music is one of them. And my first introduction to Creative Commons was a lot of software documentation is Creative Commons licensed, which is an interesting dichotomy between like you have a separate license for documentations versus your code. But that was my first intro to it. Our code is currently licensed Creative Commons 4.0, and actually someone opened an issue on our repository saying you shouldn't license your code under Creative Commons 4.0 which is an interesting debate that Damien and I will have later. But the data sets themselves will stay CC0. [00:21:17] Damien: I should also mention that my day job is as a lawyer doing AI, that is using AI tools to extract the stuff that matters from 650 million judicial documents and lawyer file documents. Part of that work is under a standard nonprofit legal data standard called SALI. All of SALI's work is Creative Commons as well. Even before I joined the Creative Commons was the license that we used for all the documentation of everything that we're doing. So anyway, Creative Commons, I'm a huge fan and I'm so glad that so many of my projects are using it. [00:21:45] Ony: Thank you both. So what's next for the project? For you personally? What's happening? [00:21:53] Damien: One thing I'm excited about that Noah and I have been, and Noah alluded to it is, if you've seen my TEDx talk there is a grid that I would love to be able to fill in that grid. Both with the red spots, that is the copyrighted songs, as well as all the 20 other copyrighted songs that are before that, to be able to do that. And then also all the gray spots : all the Bach, all the Beethoven, all the Mozart, the things that are currently in the public domain that should not be locked up either. So, as Noah discussed earlier, we're currently in talks with ways to do that programmatically and the ways to be able to have machines do that work for us. And I'm optimistic and hopeful that we're able to fill in those blanks to be able to help those songwriters. [00:22:31] Noah: I'm currently working on bringing all of our various repositories into one single mono repo as they call it typically, and upgrading our tooling giving pre-compiled binaries to the people, so they don't have to do it themselves really just kind of upping our game on, GitHub. And so that's something that I'm working on, probably take a few weeks, but people want to be able to use our tooling, then it'll be available for you and GitHub sometime soon. [00:22:55] Damien: And we'd love for people to build upon what we do, which is the biggest reason that Noah's doing what he just described. We in a very open way – we are not the end, but we are merely the beginning, we would love to see what people can do with it. [00:23:06] Ony: And on that note, how can folks get involved and find you and learn more about All The Music? [00:23:14] Damien: Yeah, allthemusic.info is our website from there, there are links to our GitHub repo that Noah's maintaining. And so if you're a programmer, the GitHub repo is probably the best spot, do pull requests and do other comments, and notes. And for being able to reach out for the law side to the extent you want to I'm on Twitter at @damienriehl, that's probably the best way to get a hold of me to be able to reach out. I've had so many really good interactions with entertainment industry Titans whose names I can't say, but we're part of a group now that I'm able to have these kinds of discussions with copyright office folks I'm with. And so, yeah, largely that's all been done by Twitter. So if people want to reach out, that's the best spot. [00:23:47] Ony: That's amazing. I'll drop those links in the episode description. That was my final question, but I just wondered if you had any kind of closing remarks that you wanted to end on. [00:23:58] Noah: Yeah, I guess the last thing I'll say is and we kind of already said it, but we want people to engage with us. You can talk to Damien on Twitter. If you open an issue or GitHub repo, doesn't even have to be about the code. You can just talk to us about how you're feeling like the person who said we should change our source code license. We love to engage other people and want to reiterate, like we've said a number of times we are trying to help people not make it worse for you. So if people have ideas on how we can make it better, I'm happy to talk about that and collaborate. [00:24:26] Damien: And on my side, Creative Commons people are my favorite people, that is they are the people that realize that everything is remix, right? We are all standing on the shoulders of giants and the gestalt, the whole is greater than the sum of the parts. I can create something. And if it's remixed in a different way, all the better because humanity is better for it. So I just want to encourage everybody who's in the Creative Commons sphere, keep doing what you're doing because you're fighting the right fight. I think that there's many good things that we could do on the Creative Commons side that copyrights shouldn't stand in the way of. [00:24:56] Ony: Thank you so much for making the time to speak to us on Open Minds. It's been incredible. [00:25:02] Damien: Thank you very much for having us. [00:25:04] Noah: Thank you.