Live data from Hacker News

Programmers generate every possible melody in MIDI to prevent lawsuits

musictech.net

101–110 of 340 posts

Re: Programmers generate every possible melody in MIDI to prevent lawsuits

#101

The code is written in Rust. The core algorithm can be found here: https://github.com/allthemusicllc/atm-cli/blob/master/src/ut... (Specifically the function gen_sequences. It basically uses multi_cartesian_product to iterate over all permutations.) Isn't it a bit of wasted space to store the generated data on archive.org ( https://archive.org/download/allthemusicllc-datasets )? I mean, as we see, it's trivial to cre…

You can trivially write a program which will enumerate all the possible byte sequences in the universe. So you can claim that this tiny program contains everything including god. So you can claim copyright for everything.

Claiming copyright of everything won't save you from producing all that child pornography and hate speech, not to mention unauthorized copies of state secrets. ;)

Re: Programmers generate every possible melody in MIDI to prevent lawsuits

#102
post #98

Earlier quoted context omitted.

It's definitely satire, but it's satire in the face of comical law. That's the point. If copyright lawyers want to argue originality based on an arrangement of notes in a 12 tone scale, and in a limited number of bars, then this is a completely valid argument against such a weak argument. The reality is that many number one songs can be tonally compared to many classical pieces, or even pieces from the last 40 years.…

So I can write a program which can generate your name and your sexual preference (among a lot of garbage data). Does that mean this can no longer be considered private information subject to privacy laws? You can use a ridiculous argument for many things.

“You can use a ridiculous argument for many things.”

Yes that’s actually the entire point of this

A lot of commenters seem to be missing the fact that this is a response to ridiculous arguments being used in winning court cases

Re: Programmers generate every possible melody in MIDI to prevent lawsuits

#103
post #13

But this will of course not work, because enumerating the bitspace does not produce bits of the right colour: https://ansuz.sooke.bc.ca/entry/23

RIP Terry Davis - saw his name on a comment and did a double take.

I went looking for an obituary, and discovered that his Wikipedia page is quite well-written [1].

Long ago, I enabled showdead to read Terry's comments. They didn't always make sense, but occasionally there'd be one that was worth it.

[1]: https://en.wikipedia.org/wiki/Terry_A._Davis

Re: Programmers generate every possible melody in MIDI to prevent lawsuits

#104
post #98

Earlier quoted context omitted.

It's definitely satire, but it's satire in the face of comical law. That's the point. If copyright lawyers want to argue originality based on an arrangement of notes in a 12 tone scale, and in a limited number of bars, then this is a completely valid argument against such a weak argument. The reality is that many number one songs can be tonally compared to many classical pieces, or even pieces from the last 40 years.…

So I can write a program which can generate your name and your sexual preference (among a lot of garbage data). Does that mean this can no longer be considered private information subject to privacy laws? You can use a ridiculous argument for many things.

Yes, of course it means that. I might randomly generate data to test with. Doesn't mean it's private and needs to be treated as such if I accidentally and unknowingly stumble across real info.

Re: Programmers generate every possible melody in MIDI to prevent lawsuits

#105
post #99

Earlier quoted context omitted.

That's what courts are for! Their job is to figure out the shade of colour a thing has.

Your color paradigm can trivially solve the current case - it's an enumeration and not a creative production. But the future case I'm speaking of will be a very real dilemma and either decision will have drawbacks. It's not just about seeing through a hack.

> a very real dilemma and either decision will have drawbacks

That's bread and butter for the courts. You don't need judges and juries and lawyers to see through a simple hack; trying to use a trivial enumeration to defeat a copyright claim is just "ha ha, nice try, but nope" issue no reasonable layman would have a problem with. Shades of colour are of critical importance in precisely those cases that are fuzzy, where there is no obvious ruling to be made. That's what the courts are made for.

Re: Programmers generate every possible melody in MIDI to prevent lawsuits

#106

Earlier quoted context omitted.

The code actually can produce every possible melody in MIDI. They simply have not stored every possible melody explicitly (uncompressed) on a hard drive (which is impossible, as the size is infinity). However, if you interpret the program itself as a self-extracting compressed archive, they actually have stored every possible melody (in a compressed way). So the question reduces to how much the type of compression ma…

> So the question reduces to how much the type of compression matters here It doesn't matter at all. As 'patio11 correctly points elsewhere in the thread[0], this question boils down to the colour of the bits. -- [0] - https://news.ycombinator.com/item?id=22441118

[deleted]

Re: Programmers generate every possible melody in MIDI to prevent lawsuits

#107
I hope someone Copyrights all possible Java method signatures for the Oracle v Google case. You could write a "compression/decompression" tool in the website's javascript for people to check if you own the Copyright or not. There would be many pages of data so you might want to make it work offline with a Service Worker. To prove you are on the up and up.

Re: Programmers generate every possible melody in MIDI to prevent lawsuits

#108

Earlier quoted context omitted.

You can trivially write a program which will enumerate all the possible byte sequences in the universe. So you can claim that this tiny program contains everything including god. So you can claim copyright for everything.

> You can trivially write a program which will enumerate all the possible byte sequences in the universe. So you can claim that this tiny program contains everything... Not to get too far off topic, but even an infinitely long byte sequence cannot represent all numbers. It's possible to construct something not representable by that sequence via Cantor's diagonal argument: https://en.wikipedia.org/wiki/Cantor%27s_diag…

All you have to do is enumerate an infinity of infinities. It's no problem at all.

Re: Programmers generate every possible melody in MIDI to prevent lawsuits

#109

The code is written in Rust. The core algorithm can be found here: https://github.com/allthemusicllc/atm-cli/blob/master/src/ut... (Specifically the function gen_sequences. It basically uses multi_cartesian_product to iterate over all permutations.) Isn't it a bit of wasted space to store the generated data on archive.org ( https://archive.org/download/allthemusicllc-datasets )? I mean, as we see, it's trivial to cre…

You can trivially write a program which will enumerate all the possible byte sequences in the universe. So you can claim that this tiny program contains everything including god. So you can claim copyright for everything.

That's all great until the judge asks for a demonstration to show it can generate the material you're presumably suing over.

Re: Programmers generate every possible melody in MIDI to prevent lawsuits

#110

The code is written in Rust. The core algorithm can be found here: https://github.com/allthemusicllc/atm-cli/blob/master/src/ut... (Specifically the function gen_sequences. It basically uses multi_cartesian_product to iterate over all permutations.) Isn't it a bit of wasted space to store the generated data on archive.org ( https://archive.org/download/allthemusicllc-datasets )? I mean, as we see, it's trivial to cre…

You can trivially write a program which will enumerate all the possible byte sequences in the universe. So you can claim that this tiny program contains everything including god. So you can claim copyright for everything.

No, because each thing you want to claim copyright on must be “fixed in physical form.”
Post reply on HN