Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

It's not really a rule--it's more like a trend. -- Larry Wall in <199710221721.KAA24321@wall.org>


devel / comp.lang.javascript / Grade school arithmetic....

SubjectAuthor
* Grade school arithmetic....Jonas Thörnvall
`- Re: Grade school arithmetic....Jonas Thörnvall

1
Grade school arithmetic....

<bbafab1a-7da0-4980-a6a0-bcfee7d8bca6n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17145&group=comp.lang.javascript#17145

  copy link   Newsgroups: comp.lang.javascript
X-Received: by 2002:a05:6214:518e:: with SMTP id kl14mr11687429qvb.48.1624811110461;
Sun, 27 Jun 2021 09:25:10 -0700 (PDT)
X-Received: by 2002:a05:6830:154d:: with SMTP id l13mr17646706otp.69.1624811110215;
Sun, 27 Jun 2021 09:25:10 -0700 (PDT)
Path: i2pn2.org!i2pn.org!paganini.bofh.team!usenet.pasdenom.info!usenet-fr.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.javascript
Date: Sun, 27 Jun 2021 09:25:09 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=84.217.163.187; posting-account=kxPkPAoAAACjJi8w0gL9bnyznPzdw9HW
NNTP-Posting-Host: 84.217.163.187
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <bbafab1a-7da0-4980-a6a0-bcfee7d8bca6n@googlegroups.com>
Subject: Grade school arithmetic....
From: jonas.thornvall@gmail.com (Jonas Thörnvall)
Injection-Date: Sun, 27 Jun 2021 16:25:10 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Jonas Thörnvall - Sun, 27 Jun 2021 16:25 UTC

Is this function true regardless of the OLDBPM?
BPM is sort of a general meaure of the beat speed.

It seem true to me "but my clcok does not always tick".....

function reCalcNotesTime(BPM){
percBPM=OLDBPM/BPM;
for (var i=1;i<maxtrack;i++){
for (var j=0;j< track[i].midiMess.length;j++){
if (track[i].midiMess[j].time!=0){
//TickTime "length ms of a tick" 1/QPS
track[i].midiMess[j].time=track[i].midiMess[j].time*percBPM;
}
}
}
}

Re: Grade school arithmetic....

<ed29ba76-8287-43cd-9ed3-18cf86b749c2n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17146&group=comp.lang.javascript#17146

  copy link   Newsgroups: comp.lang.javascript
X-Received: by 2002:a37:9d90:: with SMTP id g138mr17484559qke.212.1624813553290;
Sun, 27 Jun 2021 10:05:53 -0700 (PDT)
X-Received: by 2002:aca:de07:: with SMTP id v7mr17970690oig.8.1624813553023;
Sun, 27 Jun 2021 10:05:53 -0700 (PDT)
Path: i2pn2.org!i2pn.org!paganini.bofh.team!news.dns-netz.com!news.freedyn.net!newsreader4.netcologne.de!news.netcologne.de!feeder1.cambriumusenet.nl!feed.tweak.nl!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.javascript
Date: Sun, 27 Jun 2021 10:05:52 -0700 (PDT)
In-Reply-To: <bbafab1a-7da0-4980-a6a0-bcfee7d8bca6n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=84.217.163.187; posting-account=kxPkPAoAAACjJi8w0gL9bnyznPzdw9HW
NNTP-Posting-Host: 84.217.163.187
References: <bbafab1a-7da0-4980-a6a0-bcfee7d8bca6n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <ed29ba76-8287-43cd-9ed3-18cf86b749c2n@googlegroups.com>
Subject: Re: Grade school arithmetic....
From: jonas.thornvall@gmail.com (Jonas Thörnvall)
Injection-Date: Sun, 27 Jun 2021 17:05:53 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Jonas Thörnvall - Sun, 27 Jun 2021 17:05 UTC

söndag 27 juni 2021 kl. 18:25:15 UTC+2 skrev Jonas Thörnvall:
> Is this function true regardless of the OLDBPM?
> BPM is sort of a general meaure of the beat speed.
>
> It seem true to me "but my clcok does not always tick".....
>
> function reCalcNotesTime(BPM){
> percBPM=OLDBPM/BPM;
> for (var i=1;i<maxtrack;i++){
> for (var j=0;j< track[i].midiMess.length;j++){
> if (track[i].midiMess[j].time!=0){
> //TickTime "length ms of a tick" 1/QPS
> track[i].midiMess[j].time=track[i].midiMess[j].time*percBPM;
> }
> }
> }
> }
Well not true in the true sense but true in the sense giving correct BPM


devel / comp.lang.javascript / Grade school arithmetic....

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor