🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.misc
Article #4165

Converting to relative time in .score files.

#4165
From: 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
Technical Details
Message-ID: <1992Dec28.214536.16160@dartvax.dartmouth.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!bu.edu!dartvax!news

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!bu.edu!dartvax!news
From: fermat@fermat.dartmouth.edu (Michael Glenn)
Newsgroups: comp.sys.next.misc
Subject: Converting to relative time in .score files.
Message-ID: <1992Dec28.214536.16160@dartvax.dartmouth.edu>
Date: 28 Dec 92 21:45:36 GMT
Sender: news@dartvax.dartmouth.edu (The News Manager)
Organization: Dartmouth College, Hanover, NH
Lines: 33