Logo

Timing calculations

注册账号 登录 Back To Forums

Post #1 · Posted at 2013-05-13 12:55:43pm 12.1 years ago

Offline Dossar
Dossar Avatar Member
139 帖子
United States
Reg. 2013-01-08

"Indeed *sips tea*"

Last updated: 2013-05-13 12:55pm
I am posting this in Simfile Discussion because the information I provide here can be very useful for people looking to step files. For instance, what stop value should I use if I don't want my file to go offsync? How many seconds is the person actually streaming for if I have 16 measures of 8th notes at a certain BPM? The use of these formulas are not limited to just these questions, but I'll leave them here for reference if anyone wants something to look back at.


Stepmania Judge Difficulty

In Stepmania.ini, look for "JudgeWindowScale="

J1 = 1.500000
J2 = 1.330000
J3 = 1.160000
J4 = 1.000000
J5 = 0.840000
J6 = 0.660000
J7 = 0.500000
J8 = 0.330000
JUSTICE = 0.200000

The above values are the values used for the available judge options. The base values of the judge windows of marvelous, perfect, etc. are multiplied by the above numbers.

Examples

J7 Perfect = 0.045000 x 0.5 = 0.022500 (therefore we can conclude that a perfect on judge 7 is equivalent to the window of a judge 4 marvelous)


Finding taps-per-second values (TPS)

4th notes = ( BPM / 60 ) notes per second
8th notes = ( BPM / 30 ) notes per second
12th notes = ( BPM / 20 ) notes per second
16th notes = ( BPM / 15 ) notes per second
24th notes = ( BPM / 10 ) notes per second <-- Decimal slide left!
32nd notes = ( BPM / 7.5 ) notes per second
48th notes = ( BPM / 5 ) notes per second
64th notes = ( BPM / 3.75 ) notes per second
192nd notes = ( BPM / 1.25 ) notes per second


Converting Measures

BPM/60 denotes the number of 4th notes each second, and there are four 4th notes in a measure (assuming the time signature is 4/4 time).

Measures To Seconds: ( Measures * 4 ) / ( BPM / 60 )

Seconds To Measures: ( Seconds / 4 ) * ( BPM / 60 )

Examples

1.) Convert 24 measures of 180 BPM stream into seconds.

( 24 * 4 ) / ( 180 / 60 ) = 96 / 3 = 32 seconds of 180 BPM stream

2.) Convert 60 seconds of 150 BPM stream into measures.

( 60 / 4 ) * ( 150 / 60 ) = 15 * ( 2.5 ) = 37.5 measures of 150 BPM stream


Finding time intervals between notes

If you want to find the interval between notes in seconds or milliseconds, then these formulas will give those second values. Of course you can use either and multiply by 1000 or divide by 1000 depending on which you use.

Timing (seconds) between each note
4th: 60 / BPM
8th: 30 / BPM
12th: 20 / BPM
16th: 15 / BPM
24th: 10 / BPM
32nd: 7.5 / BPM
48th: 5 / BPM
64th: 3.75 / BPM
192nd: 1.25 / BPM

Timing (milliseconds) between each note
4th: 60000 / BPM
8th: 30000 / BPM
12th: 20000 / BPM
16th: 15000 / BPM
24th: 10000 / BPM
32nd: 7500 / BPM
48th: 5000 / BPM
64th: 3750 / BPM
192nd: 1250 / BPM

Examples

1.) How many milliseconds apart are two 250 BPM 16th notes?

15000 / 250 = 60 milliseconds

2.) How many seconds apart are two 300 BPM 16th notes?

15 / 300 = 0.05 seconds

Now if you want to find what BPM is required to hit within a certain timing window, you can use the following formulas:

With seconds
4th: 60 / ( Interval in Seconds )
8th: 30 / ( Interval in Seconds )
12th: 20 / ( Interval in Seconds )
16th: 15 / ( Interval in Seconds )
24th: 10 / ( Interval in Seconds )
32nd: 7.5 / ( Interval in Seconds )
48th: 5 / ( Interval in Seconds )
64th: 3.75 / ( Interval in Seconds )
192nd: 1.25 / ( Interval in Seconds )

or

With milliseconds
4th: 60000 / ( Interval in Milliseconds )
8th: 30000 / ( Interval in Milliseconds )
12th: 20000 / ( Interval in Milliseconds )
16th: 15000 / ( Interval in Milliseconds )
24th: 10000 / ( Interval in Milliseconds )
32nd: 7500 / ( Interval in Milliseconds )
48th: 5000 / ( Interval in Milliseconds )
64th: 3750 / ( Interval in Milliseconds )
192nd: 1250 / ( Interval in Milliseconds )

Examples

1.) For OpenITG a player needs to hit within 0.086000 seconds to get an excellent (0.043000 on each side). What BPM 16th interval would this be?

15 / 0.086000 = 174.419 BPM 16th (rounded)

2.) For OpenITG a player needs to hit within 43 milliseconds to get a fantastic (0.021500 on each side). What BPM 16th interval would this be?

15000 / 43 = 348.837 BPM 16th (rounded)
注册账号 登录 Back To Forums

0 User(s) Viewing This Thread (Past 15 Minutes)

©2006-2025 Zenius -I- vanisher.com -5th style- IIPrivacy Policy
Web Server: 5% · Database: 12% · Server Time: 2025-07-08 06:10:54
This page took 0.003 seconds to execute.
Theme: starlight · Language: chinesesimplified
Reset Theme & Language