#Data is interpolated from mpe midi device

1 messages · Page 1 of 1 (latest)

rigid gazelle
#

Hi, I have a mpe midi device that communicates to Ableton but its data looks a bit funky. I dont think its an issue with my device, but values are being repeated on the same time its sent

#

I am using this reference mpe data from the live 12 demo project, and it has smooth data with slopes

#

Specifically at my firmware at line 665 is where all of my mpe data is sent. It is located in the main loop
https://github.com/udu3324/stm32pe-midi/blob/bbbb9b4e131b9fc81feebf534eee06b7ea4b0f06/firmware/stm32pe_midi/Core/Src/main.c#L665

I have a separated my mpe functions into a different file here
https://github.com/udu3324/stm32pe-midi/blob/bbbb9b4e131b9fc81feebf534eee06b7ea4b0f06/firmware/stm32pe_midi/Core/Src/mpe.c#L115

GitHub

a midi controller using the mpe protocol to create more expressive music - udu3324/stm32pe-midi

GitHub

a midi controller using the mpe protocol to create more expressive music - udu3324/stm32pe-midi

loud girder
#

Hey @rigid gazelle, you say "values are being repeated on the same time its sent" - that sounds like you have a midi feedback loop going on. Check what is turned on in the midi preferences window in Live. Is the "track" button turned on for the input AND output midi ports of your device? if yes, does it help to turn the "track" button off for the output port?

rigid gazelle
#

Sorry if i wasn't being clear of what i meant at the start, but i'll try to explain more of it

#

My data from my controller looks like this

#

But it should actually look like this

#

There is also an audible difference between

loud girder
#

hmm, interesting! does using other controllers result in similarly stepped envelopes?

You could experiemtn if the options.txt option "-MidiEventThinning" helps. It sets the amount of thinning applied to incoming MIDI events. Default value: 0. Value range: 0-4.
Here is how to use the Options.txt file: https://help.ableton.com/hc/en-us/articles/6003224107292-Options-txt-file

rigid gazelle
#

sadly i do not own any other controller 🙁

#

i tried 2 and 4 for "MidiEventThinning" and i get the same result