How to get the number of sequence steps in SMF

Although the command for pick up how many sequence steps on the SMF on the library does not works properly, I have to add the codes for capturing the value of the sequence steps.

First, a flag is set to allow writing to the register in the mode of selecting SMF, and then the mode is shifted to the playback mode.

The number of STEPs counted is recorded in the register with the flag indicating that the file has been played to the end as the cutoff.

Counting is performed in a subroutine that branches when an event occurs. The number of STEPs will be displayed in progress as the count is performed. 

If the Loop function or Pause is selected, the display needs to be cared for.

After the file has finished playing, the counting results are recorded in EEPROM with a long press of LowerKnob when the playback mode is selected.

The number of recorded STEPs is transferred from the EEPROM to a register at system startup.

The STEP of the sequence is displayed as a fraction of the current value and the total number of STEPs. MidiNote offers two selectable modes: a mode that displays nn and a mode that displays the scale as a spectrum.

To reduce the burden of LCD drawing tasks, a mode is provided to limit the LCD display. When this mode is selected, the STEP display is not canceled and the current position of the performance can be known.

Leave a Reply

Your email address will not be published. Required fields are marked *

*
*

BACK TO TOP