<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.abuissa.net/index.php?action=history&amp;feed=atom&amp;title=Blog%3A_2026-05-16</id>
	<title>Blog: 2026-05-16 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.abuissa.net/index.php?action=history&amp;feed=atom&amp;title=Blog%3A_2026-05-16"/>
	<link rel="alternate" type="text/html" href="https://wiki.abuissa.net/index.php?title=Blog:_2026-05-16&amp;action=history"/>
	<updated>2026-05-18T05:21:17Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.13</generator>
	<entry>
		<id>https://wiki.abuissa.net/index.php?title=Blog:_2026-05-16&amp;diff=1541&amp;oldid=prev</id>
		<title>Razzi: Created page with &quot;&lt;pre&gt; function display_bpm     set -U beats (gdate +%s.%3N) $beats[1..3]      if test (count $beats) -lt 4         return     end      set diffs \         (math $beats[1] - $beats[2]) \         (math $beats[2] - $beats[3]) \         (math $beats[3] - $beats[4])      set avg (math &quot;($diffs[1] + $diffs[2] + $diffs[3]) / 3&quot;)     set bps (math 1 / $avg)     set bpm (math &quot;$bps * 60&quot;)      if test $bpm -gt 55         printf &quot;%.0f &quot; $bpm     end end &lt;/pre&gt;&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.abuissa.net/index.php?title=Blog:_2026-05-16&amp;diff=1541&amp;oldid=prev"/>
		<updated>2026-05-17T03:57:12Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;pre&amp;gt; function display_bpm     set -U beats (gdate +%s.%3N) $beats[1..3]      if test (count $beats) -lt 4         return     end      set diffs \         (math $beats[1] - $beats[2]) \         (math $beats[2] - $beats[3]) \         (math $beats[3] - $beats[4])      set avg (math &amp;quot;($diffs[1] + $diffs[2] + $diffs[3]) / 3&amp;quot;)     set bps (math 1 / $avg)     set bpm (math &amp;quot;$bps * 60&amp;quot;)      if test $bpm -gt 55         printf &amp;quot;%.0f &amp;quot; $bpm     end end &amp;lt;/pre&amp;gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
function display_bpm&lt;br /&gt;
    set -U beats (gdate +%s.%3N) $beats[1..3]&lt;br /&gt;
&lt;br /&gt;
    if test (count $beats) -lt 4&lt;br /&gt;
        return&lt;br /&gt;
    end&lt;br /&gt;
&lt;br /&gt;
    set diffs \&lt;br /&gt;
        (math $beats[1] - $beats[2]) \&lt;br /&gt;
        (math $beats[2] - $beats[3]) \&lt;br /&gt;
        (math $beats[3] - $beats[4])&lt;br /&gt;
&lt;br /&gt;
    set avg (math &amp;quot;($diffs[1] + $diffs[2] + $diffs[3]) / 3&amp;quot;)&lt;br /&gt;
    set bps (math 1 / $avg)&lt;br /&gt;
    set bpm (math &amp;quot;$bps * 60&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
    if test $bpm -gt 55&lt;br /&gt;
        printf &amp;quot;%.0f &amp;quot; $bpm&lt;br /&gt;
    end&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Razzi</name></author>
	</entry>
</feed>