Hi,
I've some software which converts RTTTL ringtones to Hex.
This:
ATeam:d=4,o=5,b=132:4d#6,8a#,2d#6,16p,8g#,4a#,4d#.,8p,16g,16a#,8d#6,8a#,8f6,2d#6,16p,8c#.6,16c6,16a#,8g#.,2a#
Becomes:
024A3A5505519585B4041E4D1EA28849B628A1084126589368494490624C4126E0A28C49B628B314508420A24D511824DC1265A9364000
I've tried with PHP.
$rtttl=bin2hex($rtttl);
echo "$rtttl";
This outputs:
415465616d3a643d342c6f3d352c623d3133323a346423362c3861232c326423362c3136702c3867232c3461232c3464232e2c38702c3136672c313661232c386423362c3861232c3866362c326423362c3136702c3863232e362c313663362c313661232c3867232e2c326123
How do I get it output the same result as the software?
Please help.
Thanks in advance