MPE issues - linnstrument

Ooh, nice one - that appears to be a step in the right direction… Im still getting the odd hang but its lots better. Ill experiemnt with different settings… Thank you!

1 Like

Have you tried updating Linnstrument firmware, btw? Maybe worth trying that too.

On OWL’s side, it may be possible to increase MIDI buffer size to be able to receive more messages at once. But this would require recompiling firmware. So if all else fails, we can make a custom build for testing this.

It would be worth trying since I suspect that was the issue with the morph too…I have a morph here too so it would be worth trying to fix the code witch side. I think there’s a new Linn firmware too so will update that as well to rule out. Thanks again!

We’re trying out a change in the MIDI processing so that messages are processed before each audio block instead of in a separate task. The trick was to fall back to the previous method in case a patch is not loaded, or fails to run.

I’ve made a pre-release for Witch and Lich: https://github.com/pingdynasty/OpenWare/releases/tag/v22.1.rc2

Would be great to get this tested with some MPE devices, the Linnstrument in particular, to see if this doesn’t improve performance significantly. Let us know if you try it @tIB!

1 Like

I will! Hopefully get to it tomorrow - I’ll try both devices (linn and morph) and will let you know…

1 Like

Sorry, life got in way. I’ll try again tomorrow - any documentation on how to update?

Yes absolutely:
https://www.openwarelab.org/Tools/firmware.html

You might not get a Firmware Flashed message at the end, depending on the mood of the bootloader at the time. In that case just wait 2-3 seconds then power cycle and reload the page to verify that the new version is running.

1 Like

Right so tested this morning with both - no joy I’m afraid; same behaviour really, in that unless I slow the midi transfer on the linn it freaks out. I couldn’t actually get the morph talking to it properly but I suspect that is in my morph config, which at this point I probably won’t look into - I guess get it working with the Linn first and then look at that my end?.

Y axis definitely makes things worse when on - with y axis data off linn side I can play faster/chords without hanging usb speed 235, but when on I need to slow it down to 300 or so otherwise fast playing/chords freak it out.

I get a lot of false startups too with that firmware, in that the witch hangs a lot when I power on/refresh - I often get that anyway, but this seems worse?

Just to put things into perspective, I don’t have problems with Linnstrument on OWL, but that’s not with Witch which I don’t have (yet). And it feels like those changes that Martin added have decreased latency that I get when playing Linnstrument.

It’s possible that Witch has higher load than other devices because it performs more processing for CV (smoothing, dealing with parameter takeover, etc). So some MPE patches that are intended to use a lot of CPU time don’t have enough time to process large amount of MIDI data. It can be verified by making a less CPU intensive test patch (i.e. with effects removed).

And if CPU load counter only measures audio processing time, it can’t be used for detecting load generated by processing CV and MIDI.

To be clear the issues I was having were (mostly) sorted if the midi speed was decreased linstrument side. The two things do work together.

Edit- I wondered about latency on the new one too.

After more play I’m finding things a bit unreliable.

So just to expand once on and patch loaded, with the linnstrument set to lower usb data transfer I can play duophonicly without issues.

My frustrations lie in the unpredictability on boot - often (as in more often than not) with the Linnstrument connected, the witch hangs on power up. It also struggles to switch between patches - I get silence and/or pitch issues, requiring power cycle which causes more hangs. It’s a frustrating start to life with the witch.

I guess how far I go with this depends on how easy it is to make some tweaks to the current patches - on the subtractive synth I’d like to link Y data to volume for example, or possibly distortion. I need to do some figuring of how to adapt puredata patches to be controlled by the witch too. At present this seems quite a way off given I can’t even reliably power the device on, but we’ll see…

As a side issue I couldn’t load samples into the sample player reliably via the browser either - it seems whatever I’m trying I’m running into issues.

And I’ve just tried powering without the Linnstrument connected - 7 cycles for the witch to boot into the selected patch. It’s not good.

Unpredictability on boot: this is not something I recognise as ‘normal’ behaviour!

Could there be some problem with your Mode button, that it is jammed or unreliable?
When you press the Mode button, one of the LED buttons should light up to indicate the active patch. Is this working reliably?
Or problems with the power supply - are you powering by USB or DC jack?

Not good at all! This would be the first thing to resolve, before tackling the Linnstrument problems. Is your Witch built from kit or pre-assembled?

It certainly like a hardware issue. How about a custom firmware build that uses one of the LEDs as indicator for any EXTI being triggered? I.e. to confirm that there’s no floating connection on any EXTI enabled pins overloading the device with interrupts storm.

I did a quick test with the usb input powering it and no issues at all - booted into patch every time, so I suspect that’s an issue with the DC PSU I was using. I’ll try something different there tomorrow…

Edit: mode switch is working as should.

1 Like

New PSU here and it was definitely that causing the wonky boot issues. The witch is fine with the linnstrument if the usb data speed is slowed down linn side - setting around 300 seems fine in terms of avoiding lock ups.

Good to hear. Has the firmware update made any difference?

Not at all I’m afraid - still locks at the faster/standard usb speed.

Hi, very fresh Witch owner here. What helped me was to lower the number of MPE MIDI channels on Linnstrument to 4-6 (see the polyphony properties of each synth patch). Having all 7 channels on (1 master, 2-8 for playing) was probably overloading the patch.

Actually, Witch is using 6 voices in Vosim / Subtract patches and 4 voices in Wavebank / Quadsampler patches. So you should be using channels 2 to (num_voices + 1). You won’t be overloading it otherwise, but I’m not sure that it can handle invalid channel numbers correctly. If you use less than that, you will be stealing voices more frequently which could be a problem if you want to have more polyphony playing, longer release on envelopes and so on.

PS - I vaguely remember buying LXR-01 from you a few years ago, small world!