View Issue Details

IDProjectCategoryView StatusLast Update
0000051OpenMPTFeature Requestpublic2015-01-10 13:28
Reporterharbinger Assigned ToSaga Musix  
PrioritylowSeverityfeatureReproducibilityN/A
Status resolvedResolutionfixed 
Target VersionOpenMPT 1.24.02.00 / libopenmpt 0.2-beta10 (upgrade first)Fixed in VersionOpenMPT 1.24.02.00 / libopenmpt 0.2-beta10 (upgrade first) 
Summary0000051: Status Bar Hex Translation
Description

Since hexadecimal is not second nature to me, i'd like to see a quick decimal representation (in the Status Bar) when using certain Channel FX. The one i'm mostly concerned with is Tempo, but it can be applied to other parameters that use both nibbles for a value (so, for example, SDx commands don't need to be translated).
The decimal number can appear next to the FX command in the Status Bar, such as "Set Tempo = 64." I mostly need this because the Tempo setting in both the General page and the Main Toolbar is in decimal, and trying to figure out the hex of the tempo i'm trying to get to is not quick for me...

TagsNo tags attached.
Has the bug occurred in previous versions?
Tested code revision (in case you know it)

Activities

Really Weird Person

Really Weird Person

2010-12-14 21:42

reporter   ~0000023

I am not sure if this is viewable to all users or if it is viewable only to the poster. Perhaps this is the issue tracker's equivalent to doing a quick reply to a standard forum topic. If you do see it, here is something to remember. Treat hexadecimal the same way that you do decimal, except use sixteen instead of ten.
Some teachers have students draw charts that look similar to the one below.
1,048,576|65,536|4,096|256|16|1

So, in the case of sixty-four, place a four in the sixteen column and multiply the two together. This returns sixty-four. Place a zero in the one column to fill in the gap. It is not necessary to place zeros at the beginning—only the end. Add them together. 64 + 0 = 64. 64 in decimal = 40 in hexadecimal.
This works for any amount. For example, 255 = 15 (F) × 16 (240) + 15 × 1 (15). The chart above can be expanded to any amount. Remember though, those should be powers of sixteen, beginning at zero (1) (anything to the power of zero is one). By the way, this technique works for any base greater-than or equal to two (though if you want to base your math on the ASCII table, then you would be stopping at 256 (ÿ)) because this is the end of it. I hope that this make sense and helps you in future conversions.

rakib

rakib

2011-08-02 01:26

reporter   ~0000292

This is fixed?

Saga Musix

Saga Musix

2015-01-10 13:28

administrator   ~0001931

As a side effect of something different I wanted to implement, this is now fixed: The status bar now shows the same verbose information as the Note Properties dialog, so for example for a tempo command, it shows the tempo in decimal, etc.
An updated test version (r4707 or later) can as always be grabbed from http://buildbot.openmpt.org/builds/

Issue History

Date Modified Username Field Change
2010-12-10 13:36 harbinger New Issue
2010-12-14 21:42 Really Weird Person Note Added: 0000023
2011-08-02 01:26 rakib Note Added: 0000292
2015-01-10 13:28 Saga Musix Note Added: 0001931
2015-01-10 13:28 Saga Musix Assigned To => Saga Musix
2015-01-10 13:28 Saga Musix Status new => resolved
2015-01-10 13:28 Saga Musix Resolution open => fixed
2015-01-10 13:28 Saga Musix OS XP =>
2015-01-10 13:28 Saga Musix Platform Windows =>
2015-01-10 13:28 Saga Musix Fixed in Version => OpenMPT 1.24.02.00 / libopenmpt 0.2-beta10 (upgrade first)
2015-01-10 13:28 Saga Musix Target Version => OpenMPT 1.24.02.00 / libopenmpt 0.2-beta10 (upgrade first)