calculate stats with speed applied
// https://osu.ppy.sh/b/ 759056 const speedRate = 1.15; const approachRate = 9.2; const overallDifficulty = 8; const bpm = 189; const songLength = 189; const newStats = speed(speedRate, { ar: approachRate, od: overallDifficulty, bpm, songLength }); // => // { // ar: 9.7, // od: 8.68, // bpm: 217.35, // songLength: 164.34782608695653, // extra: { // arMs: 495.6521739130436, // odMs: { // hitwindow_300: 27.39130434782609, // hitwindow_100: 65.65217391304348, // hitwindow_50: 103.91304347826087, // }, // }, // } Copy
// https://osu.ppy.sh/b/ 759056 const speedRate = 1.15; const approachRate = 9.2; const overallDifficulty = 8; const bpm = 189; const songLength = 189; const newStats = speed(speedRate, { ar: approachRate, od: overallDifficulty, bpm, songLength }); // => // { // ar: 9.7, // od: 8.68, // bpm: 217.35, // songLength: 164.34782608695653, // extra: { // arMs: 495.6521739130436, // odMs: { // hitwindow_300: 27.39130434782609, // hitwindow_100: 65.65217391304348, // hitwindow_50: 103.91304347826087, // }, // }, // }
the level of speed to apply. Using DT or HT will apply 1.5 and 0.75 speed, respectively.
calculate stats with speed applied
Example