🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.next.misc
1 messages
1 total messages Started by Michael Glenn Mon, 28 Dec 1992 21:45
Converting to relative time in .score files.
#4165
Author: Michael Glenn
Date: Mon, 28 Dec 1992 21:45
33 lines
1239 bytes
Does anyone know of any way to convert the times in a .score file from  
absolute times to relative times.  For example,

t 0.00;
Left_Hand (0.50) keyNum:e3k;
t 0.25;
Right_Hand (0.50) keyNum:e5k;
t 0.50;
Left_Hand (0.50) keyNum:fs3k;
t 0.75;
Right_Hand (0.50) keyNum:ds5k;
t 1.00;
Left_Hand (0.50) keyNum:gs3k;

converted to

t 0.00;
Left_Hand (0.50) keyNum:e3k;
t + 0.25;
Right_Hand (0.50) keyNum:e5k;
t + 0.25;
Left_Hand (0.50) keyNum:fs3k;
t + 0.25;
Right_Hand (0.50) keyNum:ds5k;
t + 0.25;
Left_Hand (0.50) keyNum:gs3k;

If no solution is offered, I'll probably write a quick c program for it.   
See, I want to tell some of the code to repeat itself, via "repeat n { ...  
}", but you can't put in absolute times in the part that repeats.

Michael Glenn
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads