linthesia icon indicating copy to clipboard operation
linthesia copied to clipboard

[LIBMIDI] random movements

Open arcusfelis opened this issue 11 years ago • 4 comments

The library should allow random commands like go to 15 notes backward. This will allow some interesting features in the learning mode.

My idea is next. If user makes a mistake, we should stop for 1 second and go 5 seconds back.

Another feature to allow user to repeat some parts of midi file (for example, using a hotkey we move 5 seconds backward).

arcusfelis avatar Jun 11 '14 20:06 arcusfelis

you mean have a function to go forward_N_notes backward_N_notes , and same for number of seconds ?

allan-simon avatar Jun 12 '14 08:06 allan-simon

I did it like goto(number_of_microseconds_from_the_start). We can calculate position of the required note and jump to it.

On June 12, 2014 10:44:35 AM CEST, Allan Simon [email protected] wrote:

you mean have a function to go forward_N_notes backward_N_notes , and same for number of seconds ?


Reply to this email directly or view it on GitHub: https://github.com/allan-simon/linthesia/issues/16#issuecomment-45843856

Sent from my Android device with K-9 Mail. Please excuse my brevity.

arcusfelis avatar Jun 12 '14 09:06 arcusfelis

it something you already did in your fork ?

allan-simon avatar Jun 12 '14 09:06 allan-simon

Yes. I've pushed this.

On Thu, Jun 12, 2014 at 11:42 AM, Allan Simon [email protected] wrote:

it something you already did in your fork ?

— Reply to this email directly or view it on GitHub https://github.com/allan-simon/linthesia/issues/16#issuecomment-45848813 .

С уважением, Уваров Михаил. Best regards, Uvarov Michael

arcusfelis avatar Jun 12 '14 09:06 arcusfelis