Hacking a Nord OS

Everything about Nord keyboards in general; which one to choose, the sound manager, sample editor, and general discussion about the sample and piano libraries.
Mac06
Posts: 11
Joined: 29 Apr 2020, 00:01
5
Your Nord Gear #1: Nord Lead A1
Your Nord Gear #2: Nord Stage 3
Been thanked: 6 times
Italy

Hacking a Nord OS

Post by Mac06 »

I was reading this article: http://blog.petersobot.com/patching-the-k2500 about "hacking" the Kurzweil K25 OS using GHIDRA (a reverse-engineering tool developed by the NSA).

Wondering if anyone has ever attempted something similar on any Nord instrument?
User avatar
FZiegler
Donator
Posts: 2895
Joined: 15 Dec 2019, 02:41
5
Your Nord Gear #1: Nord Stage 3
Location: Germany south-west
Has thanked: 848 times
Been thanked: 1008 times
Contact:
Germany

Re: Hacking a Nord OS

Post by FZiegler »

Wondering if this was legal.
Stage-3-C (Rev.B 2.1) - Kawai VPC1 / Viscount Legend 70s / Yamaha CP33 - Hall of Fame & NeoVent2 - Behringer Flow-8 - K&M stands 18820+18811 / 18953+18952 - Samsung Tab S5e, MobileSheetsPro & AirTurn Duo200 - QSC K8.2s / Fischer InEars
tsss27
Patch Creator
Posts: 383
Joined: 14 Nov 2019, 07:38
5
Has thanked: 67 times
Been thanked: 129 times

Re: Hacking a Nord OS

Post by tsss27 »

I don't know remotely enough about this stuff to even attempt it but it sure would be interesting if someone did. Honestly I'd be more interested in someone reverse engineering the .npno files so we can figure out how to make our own piano samples...
User avatar
cookie
Patch Creator
Posts: 845
Joined: 08 Dec 2011, 17:38
13
Your Nord Gear #1: Nord Stage 3
Your Nord Gear #2: Nord Stage 2 EX
Location: France
Has thanked: 190 times
Been thanked: 367 times
France

Re: Hacking a Nord OS

Post by cookie »

tsss27 wrote: 10 Aug 2024, 02:37 I don't know remotely enough about this stuff to even attempt it but it sure would be interesting if someone did. Honestly I'd be more interested in someone reverse engineering the .npno files so we can figure out how to make our own piano samples...
In terms of reverse engineering, I would be most interested in having file information on nsmp, nsmp3 and nsmp4 (including different versions) in order to convert (with restrictions) any format to any other. NPNO is also interesting for sure, but from Nord perspective, it should be much more sensitive.

Fred
These users thanked the author cookie for the post (total 2):
FZiegler, Schorsch
dmamfmgm
Posts: 108
Joined: 18 Dec 2019, 03:56
5
Your Nord Gear #1: Nord Stage 3
Has thanked: 418 times
Been thanked: 38 times
United States of America

Re: Hacking a Nord OS

Post by dmamfmgm »

I made some good progress on the .nsmp and .nsmp3 file formats. However nothing close to fully understanding the format.

That's when I realized any tool I might create out of curiosity? I think it would quickly be applied to hijacking the Nord Sample Library. For my appreciation of the Nord Piano library, I decided to pause my efforts.

I expect this is a controversial topic. Keep calm and keep playing!

P.S. I'm totally convinced the field of reverse engineering will be swept by machine-generated reverse engineering soon, so for me, doing nothing is the smart move. Any executable code will likely become extremely easy to automatically decompile once the tools for it are published. There are so many things much more valuable than Nord Sound Manager where the secrets are hidden in the executable code.
These users thanked the author dmamfmgm for the post (total 2):
FZiegler, Elias
tsss27
Patch Creator
Posts: 383
Joined: 14 Nov 2019, 07:38
5
Has thanked: 67 times
Been thanked: 129 times

Re: Hacking a Nord OS

Post by tsss27 »

I suspect the main reason Nord has their formats protected in this manner is due to the fact that the vast majority of the samples are supplied by other companies. For example all acoustic pianos come from SampleTekk, created exclusively for Clavia. They supply various other sounds as well, along with ProjectSAM, Spitfire, Kirk Hunter, Sonic Reality, PrecisionSound and probably others I've forgotten. So the samples cannot be easily accessible as they're not even the property of Clavia themselves.

That doesn't explain why it's not possible for users to create .npno files, though...
User avatar
maxpiano
Patch Creator
Posts: 7122
Joined: 27 Jun 2011, 13:29
14
Your Nord Gear #1: Nord Stage 3
Location: Italy
Has thanked: 540 times
Been thanked: 2500 times
Italy

Re: Hacking a Nord OS

Post by maxpiano »

tsss27 wrote: 27 Aug 2024, 07:54 I suspect the main reason Nord has their formats protected in this manner is due to the fact that the vast majority of the samples are supplied by other companies. For example all acoustic pianos come from SampleTekk, created exclusively for Clavia. They supply various other sounds as well, along with ProjectSAM, Spitfire, Kirk Hunter, Sonic Reality, PrecisionSound and probably others I've forgotten. So the samples cannot be easily accessible as they're not even the property of Clavia themselves.

That doesn't explain why it's not possible for users to create .npno files, though...
Maybe because that would reveal too much about how Nord Piano engine works (amount of layers, rules to interpolate them, etc...) and it is something that probably Nord is not willing to disclose, while instead for .nsmp this is not a problem being it just a mono layer wavetable with a small bunch of collateral parameters, nothing really special.
These users thanked the author maxpiano for the post (total 2):
FZiegler, Schorsch
metalfingers
Posts: 45
Joined: 28 Jun 2011, 03:34
14
Your Nord Gear #1: Nord Stage 3
Your Nord Gear #2: Nord Lead 3
Has thanked: 2 times
Been thanked: 33 times

Re: Hacking a Nord OS

Post by metalfingers »

In terms of "hacking" the OS I think there is more value in adding back little features which were inexplicably stripped away between models.

For example I relied heavily upon the MIDI channel assignment per-engine in the Stage 2. The Stage 3 only allows MIDI channels to be assigned to a Panel, Dual KB, or Global. I've gotten by, but it was not ideal.

I have also been yearning for the NS3 to be a MIDI clock master. I have an NL3, downstream of the NS3 and its clock is about 0.15% off... which ends up being a full beat off after about 4min at 140bpm...
tsss27
Patch Creator
Posts: 383
Joined: 14 Nov 2019, 07:38
5
Has thanked: 67 times
Been thanked: 129 times

Re: Hacking a Nord OS

Post by tsss27 »

maxpiano wrote: 27 Aug 2024, 08:49Maybe because that would reveal too much about how Nord Piano engine works (amount of layers, rules to interpolate them, etc...) and it is something that probably Nord is not willing to disclose, while instead for .nsmp this is not a problem being it just a mono layer wavetable with a small bunch of collateral parameters, nothing really special.
It would be rather odd that Nord would specifically not want this information out there, since the ability to create a format does not mean we would be able to deconstruct existing files, just as it is with nsmp. Furthermore it'd be quite easy to figure out how many velocity layers an existing piano has via MIDI, unless samples are velocity crossfaded and then it'd be more difficult. But I am quite sure none of this technology is that special either, it is just a multi-velocity nsmp with additional layers for release, resonance and perhaps pedal noise... So I don't think there is much for them to hide. But none of us know for sure anyway...
User avatar
analogika
Posts: 3448
Joined: 21 Nov 2013, 10:02
11
Your Nord Gear #1: Nord Electro 2
Your Nord Gear #2: Nord Stage 3
Has thanked: 1262 times
Been thanked: 1534 times
Germany

Re: Hacking a Nord OS

Post by analogika »

They have good reason not to make their proprietary Nord Piano format public.

For one, it gives them full control over the Piano Library, which is arguably their biggest asset next to their user interface.

For another, it might allow people to reverse engineer it, which could allow others to extract the piano samples and repackage them.

In any case, it’s their decision.
These users thanked the author analogika for the post (total 3):
maxpiano, DJKeys, dmamfmgm
The Nord giveth; the Nord taketh away…
"The Angels of Libra are in the European vanguard of the [retro soul] movement“ (Bill Buckley, Soul and Jazz and Funk)
The Drawbars — off jazz organ trio
Post Reply