General
one CC for coarse and fine tune
Started by Phil999 on .
Sign in or create an account to join the conversation.
I'm comparing the testset-template (where feedback is working) with the SimpleNRPN-biDirCtrl-1a-template (where feedback is not quite working). There are some differences of course, but I couldn't yet figure out what is missing in the ccListener script. I even imported the mio container into the latter template, but as expected it is not that simple.
Here is the ccListener script:
EDIT:
Here is the ccListener script:
decl cc=MIDI_ARGS[0],v=MIDI_ARGS[1];
if(cc==0x62) nrx_adx_l=v;
else if(cc==0x63) nrx_adx_m=v;
else if(cc==0x26)
{
nrx_v_l=v;
decl n=(nrx_adx_m<<7) | nrx_adx_l;
decl val=(nrx_v_m<<7) | nrx_v_l;
cMain.myParam.x=n*(1/VALRES);
cMain.Knob.x=v*(1/VALRES);
supressReTx=1;
}
else if(cc==0x06)
{
nrx_v_m=v;
}
It is not in red, and it does receive NRPN MIDI. The knob does not go to zero of course, it has those said inaccurate values <127. Ah, now I see it, the values go from 0 to 127, 0 to 127, 0 to 127, and so on, or 127 to 0, 127 to 0, etc. We are very close. I post this now and investigate further.EDIT:
cMain.Knob.x=v*(1/VALRES);
must becMain.Knob.x=val*(1/VALRES);
Now I have everything I need to finally complete the Diva template. This wouldn't have been possible without help from the forum, especially from Jay. Thank you all, I am very happy now!excellent news, good work!
I've been preparing an update to 'Flexi14' : finally have Bidirectional standard and 14-bit NRPN control working. I was puzzled why it didn't work and it was my own error because I had not configured Lemur to listen on the right MIDI interface/channel!
Are you going to post the Diva control when it is ready?
-J
I've been preparing an update to 'Flexi14' : finally have Bidirectional standard and 14-bit NRPN control working. I was puzzled why it didn't work and it was my own error because I had not configured Lemur to listen on the right MIDI interface/channel!
Are you going to post the Diva control when it is ready?
-J
double post
of course. Will take a week or so, maybe even longer. Not so much time in the next days.analog604 wrote:Are you going to post the Diva control when it is ready?
Today is a lucky day for me. Got a phone call that we got a new music room, the release of the PPG WaveGenerator app, and I finished the LEGO clock which is ticking for half an hour (not my invention, I found an instruction on the web). And of course the last problem solved for the Diva control.