# Request: new function HEX2DEC and DEC2HEX

**URL:** https://community.mp3tag.de/t/request-new-function-hex2dec-and-dec2hex/19239
**Category:** General Discussion
**Created:** [August 18, 2017, 5:47am UTC](https://community.mp3tag.de/t/request-new-function-hex2dec-and-dec2hex/19239 "2017-08-18T05:47:08Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![TOGETOGE](https://community.mp3tag.de/user_avatar/community.mp3tag.de/togetoge/32/388_2.png) [@TOGETOGE](https://community.mp3tag.de/u/TOGETOGE)
#### Post date: [August 18, 2017, 5:47am UTC](https://community.mp3tag.de/t/request-new-function-hex2dec-and-dec2hex/19239/1 "2017-08-18T05:47:08Z")

</div>

I would like to use them to edit m4a duration info (iTunSMPB/delay,content samples,padding) at my own risk.  
Thanks.

---

<div class="post-metadata">

### Author: ![Etz](https://community.mp3tag.de/user_avatar/community.mp3tag.de/etz/32/7648_2.png) [@Etz](https://community.mp3tag.de/u/Etz)
#### Post date: [June 3, 2018, 7:10am UTC](https://community.mp3tag.de/t/request-new-function-hex2dec-and-dec2hex/19239/2 "2018-06-03T07:10:10Z")

</div>

I bet, you could add some sort of hex editor under tools menu.

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [June 3, 2018, 5:47pm UTC](https://community.mp3tag.de/t/request-new-function-hex2dec-and-dec2hex/19239/3 "2018-06-03T17:47:49Z")

</div>

> [@Etz](#):
>
> hex editor under tools menu

I found this link to a command line script to calculate hex values.

> <https://gist.github.com/ijprest/1207832>

you probably can divert the output to a text file and then import the data into MP3tag.  
Yet, I do not see a field called "iTunSMPB"
