Skip to content

Commit 28652ee

Browse files
committed
Maybe better spectrogram labels
1 parent 6b35cdf commit 28652ee

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/spectrogram.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
$num = count($data);
2929
for ($c=0; $c < $num; $c++) {
3030
$exp = explode(';',$data[$c]);
31-
echo $exp[0].",".$exp[3].",".$exp[4]."\n";
31+
echo (($exp[0]+$exp[1])/2).",".$exp[3].",".$exp[4]."\n";
3232
}
3333
}
3434
$row++;

0 commit comments

Comments
 (0)