Live data from Hacker News

Ask HN: Fable hacked my piano, can I release the results?

news.ycombinator.com

1–10 of 173 posts

Ask HN: Fable hacked my piano, can I release the results?

#1
I have a self playing piano, using a system called PianoDisc Protigy. They have an online store which sells music for their system, from various modern artists along with classics such as Bach and Beethoven. Last night I saw they had released some music from Eric Satre, a 19th century French composer, which I bought. Curious if I could have just used AI to create these files, I began experimenting with Astra and Fable. Feeding the output of one into the other to critique. After an hour of LLM discussion of Rubato and fermata, solenoid response times and proper sustain pedal technique, they settled on their ultimate version of Gymnopedie No 1.

I then asked Fable to compare it to the open source version I'd downloaded from Mutopia, which it promptly ripped apart. No sustain, zero rubato, upside down balance.

Ok, what about the version I'd just bought?

The PianoDisc versions are mp3s encoded with the right channel carrying MIDI to be played on the piano, and the left channel containing any accompanying music to be played through attached speakers (who doesn't want the harmonica on Piano Man?)

I gave the mp3 to Fable, which promptly decoded the format, identifying the right channel carrying MIDI using a 2004.5 Hz square wave.

It then went on to analyze the nuance of pedal lift and melody relative to the chords.

Fable then asked if I wanted it to build an encoder to write my own MIDI files into the right channel of mp3s.

Sounds great, and I instructed it to write the encoder.

What it came back with was a python encoder PLUS a decoder.

In the verbose explanation, it mentioned decoy notes.

Curious, I asked it to explain the decoy notes.

Apparently PianoDisc adds obfuscation into their format which is handled properly by their decoder, but would leave naively extracted MIDI unplayable on other systems.

Fable created an encoder which adds those decoy notes, and a decoder which removes them.

Am I allowed to publish the decoder? The encoder?

Re: Ask HN: Fable hacked my piano, can I release the results?

#2
IANAL, but it might be relevant to others trying to answer what jurisdiction you are in. (US, EU, CN, JP, elsewhere?)

Also, when you bought from PianoDisc, did you agree to abide by a certain jurisdiction's laws in your use of PianoDisc? And did you explicitly agree to not share any sort of decoder/encoder in any ToS?

Re: Ask HN: Fable hacked my piano, can I release the results?

#3
You are free to interpret this comment as prohibition or as my blessing, but...

If it matters, ask your lawyer.

If it doesn't matter, it doesn't matter.

Or to put it another way, trademarks (you've mentioned two) and copyrights (it's a crapshoot) are complex. And in some jurisdictions (notably the US) anybody can sue anyone for anything.

Your risk aversion is yours, not someone else's. Your financial and legal wherewithal is likewise yours.

Re: Ask HN: Fable hacked my piano, can I release the results?

#5
post #2

IANAL, but it might be relevant to others trying to answer what jurisdiction you are in. (US, EU, CN, JP, elsewhere?) Also, when you bought from PianoDisc, did you agree to abide by a certain jurisdiction's laws in your use of PianoDisc? And did you explicitly agree to not share any sort of decoder/encoder in any ToS?

US.

https://store.pianodisc.com/pages/terms-of-service-and-condi...

I don't see details about them mentioning and decoder or encoder.

Re: Ask HN: Fable hacked my piano, can I release the results?

#6
post #3

You are free to interpret this comment as prohibition or as my blessing, but... If it matters, ask your lawyer. If it doesn't matter, it doesn't matter. Or to put it another way, trademarks (you've mentioned two) and copyrights (it's a crapshoot) are complex. And in some jurisdictions (notably the US) anybody can sue anyone for anything. Your risk aversion is yours, not someone else's. Your financial and legal wherew…

I might just email the company. If they object, I won't make my GitHub repo public.

Re: Ask HN: Fable hacked my piano, can I release the results?

#7
post #5
post #2

IANAL, but it might be relevant to others trying to answer what jurisdiction you are in. (US, EU, CN, JP, elsewhere?) Also, when you bought from PianoDisc, did you agree to abide by a certain jurisdiction's laws in your use of PianoDisc? And did you explicitly agree to not share any sort of decoder/encoder in any ToS?

US. https://store.pianodisc.com/pages/terms-of-service-and-condi... I don't see details about them mentioning and decoder or encoder.

> (k) to interfere with or circumvent the security features of the Service

IANAL. But I think reverse engineering their data structure, identifying a security measure - even one as weak as obfuscation, and publishing code to circumvent it is clearly against your license.

Re: Ask HN: Fable hacked my piano, can I release the results?

#8
post #6
post #3

You are free to interpret this comment as prohibition or as my blessing, but... If it matters, ask your lawyer. If it doesn't matter, it doesn't matter. Or to put it another way, trademarks (you've mentioned two) and copyrights (it's a crapshoot) are complex. And in some jurisdictions (notably the US) anybody can sue anyone for anything. Your risk aversion is yours, not someone else's. Your financial and legal wherew…

I might just email the company. If they object, I won't make my GitHub repo public.

They might object to the existence of the software and demand “its destruction.”

Or sue your ass…or file a DCMA takedown with Github.

Or all of the above.

The best likely outcome is probably “no.”

Because they have lawyers and that’s what lawyers do.

If you really really want to share the information, you might write a blog post with technical details without linking to any code. Sharing the blog to the “Facebook group” will let you assess community and corporate interest and make an informed decision.

Keep in mind that they could say yes and still do all that bad stuff anyway.

Re: Ask HN: Fable hacked my piano, can I release the results?

#9
post #6
post #3

You are free to interpret this comment as prohibition or as my blessing, but... If it matters, ask your lawyer. If it doesn't matter, it doesn't matter. Or to put it another way, trademarks (you've mentioned two) and copyrights (it's a crapshoot) are complex. And in some jurisdictions (notably the US) anybody can sue anyone for anything. Your risk aversion is yours, not someone else's. Your financial and legal wherew…

I might just email the company. If they object, I won't make my GitHub repo public.

This seems like the worst possible advice. It will only bring negative attention and maybe legal repercussions.
Post reply on HN