Page 1 of 1

MIDI code not working

PostPosted: 30 Apr 2009, 15:30
by xtatic
Anybody knows why this code is not working with my Nanopad?
Code: Select all
#b0 8 7f EFFSELECT   1   -1   0   0   0   INC NOUP
#b0 9 7f EFFPRESET   1   -1   0   INC NOUP


and this one does...
Code: Select all
#b0 2 7f EFFSELECT   1   1   0   0   0   INC NOUP
#b0 3 7f EFFPRESET   1   1   0   INC NOUP


thnx
xtatic

Re: MIDI code not working

PostPosted: 01 May 2009, 02:26
by daniel clark
:cool: :cool: Welcome to M V if you just pause for a little while some one will be here to help you shortly :cool: There busy right now filling up the MIDI despencer in the ladies lieu :D :D HELP IS ON THE WAY :D :cool: :cool: :cool:

Re: MIDI code not working

PostPosted: 01 May 2009, 03:43
by gakto2009
EFFSELECT for scrolling though the effects on each effect bank needs to have assigned the player, up/down and the effect bank..

Code: Select all
//Select up on player one effect bank one
#90 6 7f EFFSELECT   1   1   0   0   0   INC NOUP
//Select down on player one effect bank one
#90 24 7f EFFSELECT   1   -1   0   0   0   INC NOUP


#90 6 7f = MIDI note.
EFFSELECT = action.
1 = player.
1 = up. (-1 for down).
0 = effect bank 1.
0 = n/a (But must be in the config line)
0 = n/a (But must be in the config line)
INC NOUP

effect bank options,
0 = effect bank 1,
1 = effect bank 2,
2 = effect bank 3,
3 = effect bank 4,
4 = effect bank 5,
5 = effect bank 6.

so with effect bank "0" selected you will only be able to control the effect selection within bank one of the selected player.

regards,
bryan

Re: MIDI code not working

PostPosted: 02 May 2009, 00:22
by xtatic
Hi Bryan,
Thnx 4 the reply...
It realy helps me out to understand midi-programming and coding....
But the isuue in fact is why the -1 (down-scrolling) doesn't work with either EFFSELECT and EFFPRESET...
I'm only able to scroll up the ladder, and at the end, well it ends, I can't go down. Only way is to choose an other effect...

But thank you 4 the esxplenaition about the code

xtatic

Re: MIDI code not working

PostPosted: 02 May 2009, 00:48
by gakto2009
The Nanopad i believe sends two codes on one button press, NOTEON and NOTEOFF.

using MIDI learn can be tricky sometimes with this, when you press your pad to learn an action, pressing the pad will send the NOTEON MIDI note but then will lear the NOTEOFF note also which replaces NOTEON.

the best way to check the NOTEON note is to use the info panel and hold your finger on the button to see its value..


Try this code in your ini file, see if it works.
(this is to replace your first example of code.

Code: Select all

//Select up on player one effect bank one
#b0 8  EFFSELECT   1   1   0   0   0   INC NOUP
//Select down on player one effect bank one
#b0 9  EFFSELECT   1   -1   0   0   0   INC NOUP



regards,
Bryan