Done!
// Voice Structure
typedef union {
struct {
u8 ALL[1+(sizeof(notestack_item_t)*ARP_NOTESTACK_SIZE)+8+1+7+6+3];
};
struct {
u8 notestack_len;
notestack_item_t notestack_items[ARP_NOTESTACK_SIZE];
u32 resting_steps[2]; // Resting Step Feature(RSF) requested by FlavioB ;)
arp_par_func_t func;
arp_par_timing_t arp;
arp_par_trans_t trans;
arp_par_vel_t vel;
};
} arp_voice_t;
Then this is how it works:
The selected step for Resting Step Feature(RSF) is the one with grey background, you can move this selection with the encoder.
(Initially the encoder was used for TEMPO, but tempo is the altered function of the encoder now(with ALT button), and RSF is the main function of the encoder)
Pushing the encoder(switch) is toggling the RSF for the selected step. then a white bar appears at the bottom of the velocity and the semitone becomes grey.
HOME button + Encoder Switch is clearing all the Resting Steps.
Note: If an HID keyboard is connected:
Left/Right Arrow for selection.
Up/Down Arrow or Enter for Toggling
Del/BackSpace to Clear All
... And this is not a legend, it already works ;)
Voilà!
PS: Shooting a picture of a TFT with an iPhone is a bad thing ;) Colors are really better in real :)
Best regards
Bruno