basarane/kemper-arduino-library

arduino example does not refresh rig name

fotosettore opened this issue · 8 comments

hi
i tried the arduino example.
it connects and give right information ONLY FIRST TIME.
if I change rig, the arduino monitor shows always the same name.
if i reset arduino, the right new name is shown,
so i change again and the name remains the same.
Is seems something wrong in kemper.cpp ---> state.bank = value : it seems not updated

may you help me ?

sorry for trouble. i'm new in github
i think the answer is in #3 resolved.
i will try to update library

Did the serial monitor print the same name each second?

I suggest you to connect Kemper to your sound card via two midi cables (both in/out) and try the windows sample. If it behaves same then the problem can be updated Kemper firmware (possible change in MIDI commands). If not, the problem can be in your midi circuit.

Many thanks for your fast reply.
the kemper device has firmware 5.7.7
I borrowed it so i can't update it . I should wait for his owner so he can do it.

I cannot connect to midi sound card because i have not it. only test i can do is via arduino mega
Following your ideas, i think that the problem is the old firmware because i'm sure that midi interface is ok.

As i will update i will test again.

and more ...
did you developed the same library for esp32 use ?
esp32 has two serial line, like arduino mega, but is smaller, less espensive, newer and - overall - easier to buy

many thanks for your help

and more ...
did you developed the same library for esp32 use ?
esp32 has two serial line, like arduino mega, but is smaller, less espensive, newer and - overall - easier to buy

many thanks for your help

No,
You need to modify the lines in Kemper.cpp that include midiInput and midiOutput to work with esp32 midi library.

Many thanks for your fast reply.
the kemper device has firmware 5.7.7
I borrowed it so i can't update it . I should wait for his owner so he can do it.

I cannot connect to midi sound card because i have not it. only test i can do is via arduino mega
Following your ideas, i think that the problem is the old firmware because i'm sure that midi interface is ok.

As i will update i will test again.

I don't think your firmware is the issue. This code is 4 years old. I think I tested it with v3 at that time. I remember that morphing was not available (which is introduced in v4)

I'm not sure what the problem is. Unfortunately my development machine at home (where the kemper is) died and I cannot try to replicate your problem. Sorry.

So if You don't think that problem is firmware I'd try to find the way to refresh the variable "value" that is connected to the variable "state.bank", in kemper.cpp
As I said in first post, first time all is ok and arduino monitor shows right name, but changing the rig it remains always the same.

Now i gave back the kemper to his owner. As soon as I can get it back I will try to do other tests.
I am very curious about where the error is.

If in the meantime you get some ideas to help me even without tests, please let me know.

Many thanks