r/mpcsample • u/keremimo • 7d 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.
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/acecombine 7d 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...
1
u/alexbuga 6d ago
Also, how did you get 1.4?
I'm looking forward to run Melodee directly when I boot up.
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.
1
u/Senior_Mulberry4913 6d ago
Salut, quelle est la version melodee utilisable avec le Fw 1.3
1
u/mrmoo11 6d ago
Thank you for your amazing work Melodee is absolutely brilliant!