Nils‘ K1v now available as Mac/Linux VST & official approval by KAWAI!

Finally, after waiting several weeks, Kawai reported back to me that they have no issues with me developing a Kawai K1 emulation. This is great news for me personally as I was still concerned that Kawai could respond in a way that would bring me in trouble. But they did not! 👍 They even sent high quality Kawai logos that I’m allowed to integrate into the plugin, I’m impressed, big thanks to Kawai!

Furthermore, there are now Linux & Mac versions of the VST. For Linux, there are .deb and .rpm packages in both 32 bits and 64 bits. The Mac version requires a 64 bit OS, minimum version is OS X 10.9 Mavericks.

For Mac, an AU version will definitely come. LV2 for Linux, too! Stay tuned.

Special thanks to all donators and to all testers at the KvR forum, a lot of people helped making the plugin available for Linux & Mac by testing on their machines.

My Kawai K1m: What is broken? Help needed to repair

You may have read about my Kawai K1m in the development blog. Unfortunately, it is slightly broken and I thought, as there are so many people around still loving these old machines, that some of you could give a hint to repair it.

The issue is that the envelope attacks behave incorrectly. Short attack values are fine, but larger values cause the machine to end in complete silence.

With attack values larger than 36, the attack never finishes, decay is never reached and the sound is audible forever, no matter what the decay/sustain/release values are.

If the attack is even longer, starting with value of 50, the volume starts to decrease. The attack gets stuck so early that the voice keeps being very quiet. With a value of 69, the sound is not audible anymore at all. Below is a picture that shows attack values up to 69, where the voice becomes completely silent.

Attack values up to 69

Anyone knows what is wrong? What I already tried:

  • I added fresh solder to most ICs, including the CPU, the WaveROM (you might know) and the RAM chips
  • I measured the connections between the three tone generators and between tone generators and CPU & Wave ROM, they’re all fine
  • I upgraded the K1m firmware, I ordered a new chip with version 1.5, previously it had 1.3, no change
  • I contacted Kawai and asked for help, unfortunately they have no idea
  • I turned it off and on again 😎

My current assumption is that one of the Tone Generator chips is faulty and needs replacement. If there is anyone with another idea, that would be absolutely fantastic! 👍

Anyone with ideas? Thanks a lot in advance!

Kawai K1 VSTi: I dumped all 200 PHm presets – free download

As you might know, I was always interested to have the presets of the Kawai Phm Pop Synth Module. The PHm uses the same synthesis engine as the K1, the only exception is that the 200 presets cannot be edited. Not even via SysEX, as the PHm neither sends nor recognizes SysEX at all.

The PHm has some presets that never appeared on ROM cards for the K1. Due to a thread on KVR, I asked myself if there is a chance to extract the PHm presets from the device.

I have the device so I opened it and looked for chips that are ROMs. I have not been able to find any chip, so I wondered where the presets are stored. I guessed that they might be part of the Firmware EPROM.

I searched in the net and found the data sheet. This not only gave me the pin layout, but it also revealed something interesting: The EPROM of the PHm is 64kb, while the K1 EPROM is only 32k. This raised chances that it contains the presets.

PIN out of the PHm Firmware EPROM

Dumping the ROM was pretty straightforward, as I did this already for the Wave ROM. The only thing I needed to change is to change the wiring and the code a bit, as the firmware only has 16 address lines.

PHm Firmware EPROM sitting on an Arduino Mega

I dumped the rom and converted it to binary and started to look for the presets. Searching for presets by name didn’t lead to any result so instead, I searched for usual patterns that I already know because of the K1 Single format.

Given that 200 presets need about 20k of space, I quickly found them and began to compare the content against some presets that I know exist on the K1, too (on ROM cards).

Below is a picture. the upper part is the PHm firmware, the lower part is the SysEX of the K1 preset „ID-4 Hold a key“ from ROM card J1-02.

K1 ROM Card J1-02 preset „ID-4 Hold a key“ compared to content of the PHm firmware

After some analysis, the differences are very minor. Compared to a K1 Single preset, the differences are:

  • No sysex header (F0h, …, 8 bytes)
  • No name (10 bytes)
  • Compared to the K1, they slightly adjusted the presets volumes (byte 11)
  • Byte at position 22 is missing in a PHm preset => A bit surprising to me, but apparently Source Mute is not supported by the PHm module
  • No sysex terminator (F7h, one byte)

After I figured out the format, I wrote a small conversion tool that converts all 200 PHm presets to K1 presets. Feel free to download them here! The Zip contains each preset individually and one .syx that contains all 200. The K1v can load it directly.

Download

A small request: If anyone has got a Kawai PH50 firmware, can someone send me a dump? I’d love to extract the Ph50 presets, too!

Note: The PH50 presets are not identical to the PHm, although frequently stated on some websites. Just look at pictures of the device, the preset list is printed on it and it is different from the PHm list.

Kawai K1: VSTi released!

During past weeks, I worked a lot on the User Interface. For faster iteration times, I did the layout in Unity3D and wrote an exporter to create an xml and bitmaps for VSTGUI. This allowed me to do adjustments to the layout very quickly:

The first layouts that I posted some time ago had to get some updates. I forgot a section to set the name of a Preset and the Play mode page had to get some additional buttons, plus a search box to find presets quickly.

Some people pointed out that it would be better to have all sources on one page for faster editing. I tried it, but it just didn’t fit on one page properly. I didn’t want to ruin the design completely and the editing functionality is already really good in my opinion.

For the emulation engine, I had to do some minor finishing touches and fixed some bugs:

  • Ring Modulation didn’t behave correctly when being set to reverse mode
  • Fixed ring modulation caused envelopes to be applied twice, resulting in wrong decay & release behaviour
  • Implementation of Poly 2, Poly 1 and Mono modes was still missing
  • K1v will now correctly respond to Sysex messages, just as a real K1 does
  • Support to mix Source levels with the Joystick
  • Some code fixes to support 64 bit compilation
  • Midi: Pan, Main Volume, Program Change including Bank Select, Hold Pedal, All Notes Off
  • State serialization to make it possible that the state is saved as part of a DAW project
  • Wrong key scaling curve 4

And lots of other smaller things! 👍

If you want to support me, feel free to donate:

The product page is located here: Nils‘ K1v

Product Listing on KVR: Nils‘ K1v