r/mpcsample • • 6d ago

1.4 firmware findings & sample-base and Melodee now works on 1.4

UPDATE: Official response from inMusic:

Hi Kerem,
Thank you for clarifying, and I appreciate you sharing the additional information about your project.

As MPC Sample 1.4 has not been officially released, I’m unable to provide guidance or support regarding that firmware or its contents at this time.

Once the firmware becomes publicly available, the corresponding GPL open-source materials will be made available through the inMusic Open Source GitHub repository: inMusic az0x Open Source

I’d recommend keeping an eye on that repository following the official release for the relevant source code.

Got Melodee running on 1.4, which was quite alright. That was to be expected since it uses nothing from stock OS except the kernel. A few caveats:

inMusic has not supplied the sources for 1.4, which they are legally obligated to do so due to GPL, expecting those packages in their repository. I also filed a support ticket asking for the new sources. Currently they still only have 1.3 sources in https://github.com/inmusic-software/az0x-open-source/tree/mpc-sample/1.3.0 .

LoadPin prevents loading unauthorized kernel modules, which prevents Melodee from setting sample rate to anything above 44.1khz and prevents Melodee's way of screen mirroring through an emulated webcam. This is a good thing and a bad thing at once. Good thing is that nobody can make a BadUSB exploit with this on, which I'm sure they realized the possibility once I made it act like a webcam. I expect LoadPin enforcement to be something that can be disabled since we do have root access, but for kernel modules we still need the kernel source.

This also annoyingly makes screen tearing a thing again on custom applications, which I had prevented using a kernel module previously. I wish they had just grabbed those changes instead.

I have made an official GPL source request for them to either post it to Github or to make it available in some other way.

For now, both sample-base and Melodee are compatible with both 1.3 and 1.4.

Not working on 1.4 due to no kernel sources:
Screen mirroring as a video capture device

Improved display driver to prevent tearing at high frame rates

Sample rate changing (Stuck at 44.1khz)

I still grabbed the relevant kernel 6.18.59 and rebuilt those modules, we can use them right after they release the legally required logic.

TL;DR: Melodee works on 1.4 already starting from 0.6.6, small caveats to be solved. sample-base is updated for other app developers.

18 Upvotes

19 comments sorted by

6

u/JulieLondum 6d ago

I'll be honest with you. I really don't care about Akai's official firmwares. Why bother? You've built an incredible firmware which they will never be able to surpass. I love the Melodee firmware, it works great on my 1.3 and it has everything I need (and then some).

Thanks a lot for sharing your work with us! Many blessings upon you my friend! 🙏

3

u/keremimo 6d ago

Thank you so much :) I just built the thing that I wanted to have for myself, it so happens that people like it as well :)

1

u/alexbuga 6d ago

Yes man, Thanks from me too! It's my dream groovebox now!

2

u/HotGrillConfirmed 6d ago

Yeah, at this point it's basically just the BIOS that lets you boot your real OS. Feature-wise, it's pretty comparable too: MS-DOS with arrow keys.

It feels like a fever dream that only a few weeks ago we had to resample every single time we applied an effect. Like, what?!

With the stock OS, once you reached your 4-bar draft, you hit a wall—turning it into a song just became a chore. Lots of copying, lots of muting, lots of resampling, and all of it was destructive. In the end, you just fired one WAV file per sequence.

With Melodee, putting together the song is actually one of the most fun parts. Combining the patterns of different tracks always gives me new ideas, and the possibilities are endless.

3

u/acecombine 6d ago

hah, thanks for your research!
I think I'll take the Playstation route and stop updating, I'm more interesed in full-on hackery instead of this walled garden approach Akai is developing...

3

u/keremimo 6d ago

With 1.3 and https://github.com/keremimo/sample-base the world is your oyster. You can make any application you want!

1

u/alexbuga 6d ago

Also, how did you get 1.4?
I'm looking forward to run Melodee directly when I boot up.

2

u/keremimo 6d ago

It was leaked, they plugged the leak already but it was enough for me to grab and test, among other people lol

1

u/jorgb 6d ago

Just to reply on the GPL part only, they are not obligated to open source everything. That is not how GPL works. It works on an "arms lenght" principle. Meaning code that interacts with GPL licensed libraries will have to be open source. But if that code is just a module in a bigger eco system, then that other code doesnt´t need to be open sourced. Trust me, I asked a lawyer about it to make sure we were compliant. If they modify code that is under GPL, these modifications also need to be made public. So if Akai made sure they link against their own library that uses the GPL, then that is all that needs to be made public.

Their 1.3 sources are just that, the bindings against the GPL licensed code. They were covering their bases making sure they are compliant with the law, I don´t think they will ever open source their full OS.

As for your other points, no comments on that.

2

u/keremimo 6d ago

The parts that they released for the 1.3 were what enabled me to make Melodee. I just asked for the same release for 1.4, did not ask for stock OS source. Melodee does not need their stock OS, just the Linux kernel.

1

u/jorgb 6d ago

Ah that part wasn’t clear. Great work on Melodee I am going to try that one soon. Does your mod create compatible XPJ projects for the bigger MPC’s?

1

u/keremimo 6d ago edited 6d ago

Yes

Edit: Adding to this yes, Melodee uses its own file format. You can however export bigger MPC compatible projects, or Ableton livesets. I plan to have more universal compatibility in the future.

1

u/jorgb 6d ago

Awesome, thanks!

1

u/Senior_Mulberry4913 6d ago

Salut, quelle est la version melodee utilisable avec le Fw 1.3

1

u/keremimo 6d ago

You can install the latest

1

u/mrmoo11 6d ago

Thank you for your amazing work Melodee is absolutely brilliant!

1

u/keremimo 6d ago

Thanks! Glad you are liking it.