Hi,
i was planing to install a serie of switches from 0 to 12
what do you mean? you plan to build a MB with 12 butons?
and wanted the codifier to select the highest value
I suppose you’re talkin about an “encoder” (encodeur, en français, en tout cas tout le monde ici comprendra
), but which highest value ? is this value comin from the MIDI in? what type of MIDI event?
codify it
what is the operation you want to do on the value?
and assign a note to each switch
aaaaah!
en fait, peut-être veut-tu simplement envoyé une note à ta MIDIbox, et pouvoir assigner cette note ainsi que celle qui suivent ou qui précèdent à tes boutons?
si c’est ça, tu as une fonction MIDI Learn et une fonction de mappage automatique (par canal ou par cc/note) pour la 64E:
quote from the MB64E tutorial Page)
he MIDI Learn function allows to customize the encoders and buttons for your own needs. How does it work: plug a MIDI cable from the MIDI IN port of the MIDIbox to the MIDI Out port of your keyboard or PC. Enter the MIDI Learn Mode. Now, the box waits for a message from MIDI IN:
MIDI Learn 0
Send a controller to the MIDIbox (just use your Synth or MIDI-OX for this). The MIDIbox regogninzes all MIDI events and displays the last received one:
MIDI Learn 1
If you want to assign the event to a encoder, just rotate it shortly. If a button should learn the event, just push the button.
“Learn Single” means, that the controller will be learned from one Encoder or Button, only. But sometimes, it is usefull to assign all encoders or buttons with the same controller but for different channels. MIDIbox offers a special function for this, just select it with the menu buttons:
MIDI Learn 2
It is also possible to increment the controller value automatically. This is favorable, if all encoders or buttons should be quickly assigned to unique numbers:
MIDI Learn 3
A special feature is implemented for the buttons: the behaviour of every button can be specified with the Snapshot Button before a event will be assigned to it:
MIDI Learn 4
Send learned value when button pressed, send zero when button released.
MIDI Learn 5
Send learned value only when button pressed, don’t send a zero value when button released.
MIDI Learn 6
Send learned value with the first keypress, send zero value with the second keypress.
Beside of controller events, Note On/Off, Program Change, PitchBender, … can be learned:
MIDI Learn 7 MIDI Learn 8 MIDI Learn 9 MIDI Learn 10 MIDI Learn 11 MIDI Learn 12
je sais, je sais, j’aurais pu copier-coller la version française… 
or maybe I don’t understand anythings…