ID3v2: Programmers' habits when describing bit-operations

Hi.
I'm trying to implement a class that can read ID3v2 tags from MP3 files. The id3.org site seems to be the only source on the net where you can get information about the organisaton of ID3 tags.
Unfortunately I haven't worked with bit operations before and get quite confused about the fact why so many programmers describe the order of bits in octal values.
Let me quote a part of the description of ID3v2:
The ID3v2 tag size is encoded with four bytes where the most significant bit (bit 7) is set to zero in every byte, making a total of 28 bits.
I could understand that part. But the following leaves a huge question mark over my head...
The zeroed bits are ignored, so a 257 bytes long tag is represented as $00 00 02 01. ... An ID3v2 tag can be detected with the following pattern:
$49 44 33 yy yy xx zz zz zz zz
Where yy is less than $FF, xx is the 'flags' byte and zz is less than $80.
Can somebody of the veterans try to help me understand the first line, where the author describes in octal basis how these four bits are structured? Moreover I'd like to know what advantages it has to express bytes in octal values.
Regards,
Wan-Hi

...why so many programmers describe the order of bits in octal values.I doubt it. The endianness of data is either big-endian or little-endian (x86).
The ID3v2 tag size is encoded with four bytes where
the most significant bit (bit 7) is set to zero in
every byte, making a total of 28 bits.
The zeroed bits are ignored, so a 257 bytes long
tag is represented as $00 00 02 01.
That's not octal. it's hexadecimal.
0x00 0x00 0x02 0x01
In binary
  0000 0000 0000 0000 0000 0010 0000 0001
Strip out the msb in each byte
  x000 0000 x000 0000 x000 0010 x000 0001
and you you are left with 28 bits
  0000000000000000000100000001
or
  0000 0000 0000 0000 0001 0000 0001
or in hexadecimal
  0x0000101
or in decimal
  257

Similar Messages

  • New iTunes still not working with 64 bit operating systems?

    When will iTunes support advanced 64 bit operating systems...
    Would seem that a next generation phone would work with the next generation of operating systems...

    iTunes does work with vista 64 bit. I can sync my iPod with it. It's the 'Apple Mobile Device Support' portion that is required by the iPhone that isn't working.

  • Can you tell me if I have a 64 bit operating system which Java update do I download

    Please can anyone advise me on what Java update I download for a Windows 7 64 bit operating system. My Firefox is telling me I need to urgently update my Java but when I click through to update all that is there is a page of confusing information about 32 bit and 64 bit systems. It asks which version am I using 64 bit version of Firefox or 32 bit. I didn't know there were two, I thought when referring to 64 bit and 32 bit it meant the operating system of my computer. Can anyone clear this up for me. Thank you.

    Of course, if you have a x64 bit system, its better to download a x64 bit Java version. However, i think Firefox won't be able to use it since Firefox isn't x64 bit (yet). So if you need Java in your browser, you'll need Java's 32bit version.
    Keep in mind i could be wrong. It's just my guessing because i tried it out some months ago. I installed 64bit Java but Firefox couldn't handle it.
    However in my opinion you won't recognize a difference between 32 and 64 bit, unless you play games in Java or do other resource intensive work. 32bit will always work on a 64bit PC, but not the other way around.

  • Satellite C660 - How to change from 32 bit to 64 bit operating system?

    Can some one please tell me how to change from a 32 bit to a 64 bit operating system for my Toshiba Satellite C660 Notebook?
    No cds came with my notebook so I can't restore.
    I installed the 32 bit when setting up by mistake and would now like to change.
    Thanks in advance

    >No cds came with my notebook so I can't restore.
    In user manual you could find a info that recovery disk needs to be created using preinstalled software called Toshiba Recovery Media (disk) Creator
    >I installed the 32 bit when setting up by mistake and would now like to change.
    The Toshiba image of some notebook models contains the Win 7 32bit and 64bit system.
    Not sure if your image supports both versions so cannot say for sure if you would be able to switch to 64bit but try this:
    http://aps2.toshiba-tro.de/kb0/HTD1303440001R01.htm
    During HDD recovery procedure you should be asked what version you want to chooseof course if both versions would be available so check thisotherwise you will need to purchase an 64bit version.

  • "This virtual machine is configured for 64-bit guest operating systems. However, 64-bit operation is not possible.  This host does not support Intel VT-x"

    Hi, I have installed vmware 5.5 hypervisor on hp G8 microserver. I have created one vm as windows 2008 R2. I have also install vmware workstation 11 on this vm. In this workstation when I tried to run vmware 5.5 hypervisor I come across "This virtual machine is configured for 64-bit guest operating systems. However, 64-bit operation is not possible.  This host does not support Intel VT-x" this statement. Which shows that the host machine does not support virtualization and for that you need to go in Bios and enable it but in present case as host machine is also a vm and you would not find much detail of Bios when you log into the Bios therefore, I am pretty much stuck here. I don't see any information in relation to this. Now my question is:
    1. Can we run ESXi inside a vm which is already sitting on ESXi?

    I moved the discussion from VMware Workstation to Nested Virtualization which contains several hints on what's possible and what needs to be configured to make things work.
    André

  • Flash Player for Windows 32-bit operating system

    I feel so stupid ....
    and I am also exhausted after trying to find a solution (which is not too technical for me ... ) to my problem:
    I use a Dell portable PC System 1555 with System 7  64-bit operation system. I need of many reasons Flash Player (my grandchild tried to play games on internet and only get a "red cross" upper left when pushing the Play-button...) and I understand that Flash Player s is not finished yet from Adobe coming to 64-bit systems.
    Now I also tried to install a streaming music program but got message back that I need to install Adobe Flash Player...
    I have not been able to find an "easy" way to get my PC working with the 32- bit Flash Player as I understand shall be one solution to my problems.
    I am a retired person not too clever technically, and am just wondering if it is possible to get an relatively easy instruction how to solve my problem.
    By phone did Dell Norway give me the advice to contact the Adobe User Forum as Dell could not help me.
    Thanking you, my advisor, much in advance !

    Thank you, all my good friends here at the forum, you have been very helpful.
    I have read all the good advices and threads and have tried many things and the problem now seemed solved. The "trick" was probably to deactivate the ie64 bit browser and activate the ie32 bit.
    Now I can again enjoy to open programs which need the Flash Player and I am able to enjoy a program providing streaming music to my portable Pc.
    Again, thank you all!

  • Configuration Items and 64 Bit Operating Systems

    I have created a few CI's that check for a value in the registry. The key I'm using in the setting is the 32 bit HKLM\Software key. I have checked the box "This registry value is associated with a 64-bit application". What I'm looking for is a
    32-bit application installed on both 32 and 64 bit operating systems. With that box checked, according to this article (http://technet.microsoft.com/en-us/library/gg712331.aspx) it will
    search in both the 32 and 64 bit registry locations, meaning it should check in HKLM\Software as I have in the setting and also in HKLM\Software\Wow6432Node. Is this correct?
    I'm asking because it isn't doing this and reporting that the 64 bit computers are non-compliant instead, when they are compliant. How do I get it to check the 64 bit registry path without building separate CI's and adding them to a separate 64 bit baseline?

    It just sounds like it checks both locations as stated below.
    This registry key is associated with a 64-bit application -
    Specifies whether the 64-bit registry keys should be searched in addition to the 32-bit registry keys on clients that are running a 64-bit version of Windows.
    Note
    If the same registry key exists in both the 64-bit and 32-bit registry locations on the same 64-bit computer, both registry keys are discovered by the global condition.
    So, how do I get it to check the HKLM\Software\Wow6432Node? Does it redirect to check here if I
    don't check that box than?

  • Is it convenient for bits operation in labview?

    Hi,
    I want to deal with the protocal to the DAQ original data. The frequent work is bits operation.But I wonder if it is convenient in labview.
    Thanks again

    gemstone wrote:
    > Thank u,Mads.
    > I wonder if the efficiency is high for frequently bits operation?
    Have a look at the bit twiddling challenge results and you'll
    get an idea of serious bit twiddling - I guess LV was working
    at about the same sort of speed as you could manage in tightly
    coded C.
    However, thats a lot more complex than most of the bit twiddles
    you need to do for protocol stuff. Mostly it is things like
    "Is bit 3 of this word set?" and "Set bit 2 of this word".
    These are most easily accomplished by doing boolean logic
    on unsigned words, the same way as yould do in almost any other
    language, and just as quick in labview.
    If you're interested in getting things to work as rapidly as possible,
    avoid the "number to boolean array
    " functions.
    HTH
    Remove "spamkill." when replying to this message

  • How to fix "A 32-bit agent is installed on 64-bit operating system" alerts

    Hi
    We have installed SCOM 2007 R2 CU1 in our environment (by properly following installation sequence given on the CU1 web page). After manually installing agent update of CU1 on 64 bit servers, we are getting alerts "A 32-bit agent is installed on 64-bit
    operating system" and the status of these 64-bit servers remains in Warning state. We have manually uninstalled and reinstalled 64-bit agent as well as 64-bit CU1 agent update but still the status is in Warning state. We can not completely uninstall cluster
    node agent, remove it from the console and reinstall agent from scratch because SCOM R2 is not allowing to do clean uninstall and reinstall of agent on cluster nodes.
    If anyone faces similar problem and have fixed it then please let me know the solution so i can also fix the issue.
    Thank you
    HRP
    Thanks & regards, H R Parikh

    This new(er) monitor is set to generate when the registry key "HKLM\SOFTWARE\Wow6432Node\Microsoft\Microsoft
    Operations Manager\3.0\Setup" is found on a 64-bit Windows server. We have several alerts like this as well, but found it had little to do with the CU1 patch and
    more to do with rolling out the updated Operations Manager management pack (v6.1.7599.0) at around the same time as well as the server having had a 32-bit agent previously installed at one point or another. We are looking into simply removing the 32-bit
    key, but have not done so just yet as we need to test this theory on a dev server first. Of course, to be safe, we could always uninstall the agent and patch, delete the keys manually, and then reinstall.
    Hope that helps.
    Larry

  • Timeline for Flash with 64 bit operating systems

    Has there been any timeline for when Adobe will put out a version on Flash Player that works with 64 bit operating sustems? I looked around the site and forums and couldn't find anything on it other than the fact that it was going to come out after Version 10. Approximately when might that be?

    i thought the 10.1 version (beta 2) was to support  64 bit browsers..  Even on Windows 7 and windows vista.  Many Computer manufacturer's are now pushing the 64 bit versions of the microsoft operating systems which come equipped with the default internet explorer 64 bit version. 
    When will this version be available for download on windows 7 64 bit?
    And if it is available (even as a beta) where can I download the flash player for 64 bit operating systems and browsers.
    Thanks,
    Doug Lubey of Louisiana
    www.douglubey.com

  • Run on a Windows 64-bit operating system either as a native application or under WOW64

    I am using Visual Studio 2013 Professional, and need to compile my application in a way that it works with existing libraries on my system that are only 32 bit.
    I read this someplace ....   "When you compile an application, you can specify that it should run on a Windows 64-bit operating system either as a native application or under WOW64 (Windows 32-bit on Windows 64-bit). WOW64 is a compatibility
    environment that enables a 32-bit application to run on a 64-bit system. WOW64 is included in all 64-bit versions of the Windows operating system."
    Can anyone tell me HOW I "specify that it should run on a Windows 64-bit operating system either as a native application or under WOW64 (Windows 32-bit on Windows 64-bit)."  ?

    Hi Davepc,
    Based on your issue, I think the pvdg42 and Wyck's suggestion are really help you. So if possible, I suggest you can try their suggestions to check your issue.
    In addition, I get some useful message from the MSDN document, I assume that it maybe useful for you.
    (1)So if your application is VB, I suggest you can refer the following document to check your issue.
    https://msdn.microsoft.com/en-us/library/8ck8e1y2(v=vs.110).aspx
    (2) If your application is c#, please refer to:
    https://msdn.microsoft.com/en-us/library/zekwfyz4(v=vs.110).aspx
    (3)If your application is c++, please see:
    https://msdn.microsoft.com/en-us/library/h2k70f3s(v=vs.80)
    Hope it help you!
    Best Regards, 
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How can I install after effects on 32 bit operating system?

    How can I install after effects on 32 bit operating system?
    I cant even find it in creative cloud.
    I want to make  a intro but it dossent allow me to even find/ istall it.
    I hope some one will help me by anwsering my question.
    Than you for time.

    If your system does not meet the minimum system requirements you have to go back to a version that does. Try the direct download links you'll find here.. CS5 comes bundled with CS4 for AE which is the last  version to run on a 32 bit system.

  • HP business inkjet 2800 Print black only option not showing in Windows 7 64 bit operating system

    HP business inkjet 2800 Print black only option not showing in Windows 7 64 bit operating system
    Please help, if any one knows any solution.

    Hi @Firoskhan,
    Welcome to the HP Forums!
    I am sorry, but to get your issue more exposure I would suggest posting it, in the commercial forums since this is a commercial product. You can do this at HP Enterprise Business Community.
    Hope this helps!  
    RnRMusicMan
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" to say “Thanks” for helping!

  • HP Laserjet p2015d auto duplex printing with Windows 7 64 bit operating system

    I have used the HP Laserjet p2015d with Windows 7 32 bit operating system and have been able to use the AUTOMATIC DUPLEX feature of the printer without problems.
    Now, however, I have installed the 64 bit version of Windows 7 operating system and the AUTO DUPLEX does not work and is not shown as being available on the PROPERTIES menu of the printer.
    Is it possible to use the AUTO DUPLEX  feature of  the printer with Windows 7   64 bit  operating system.
    All replies welcomed!   Aaron in Calif.

    Hi Aaron,
    Make sure the Automatic Duplexing option is enabled:
    Enter Control Panel > Devices and Printers.
    Right click the printer icon, then click Printer Properties.
    Click the Device Settings tab.
    Set the Automatic Two-Sided Duplex Accessory as installed and click OK to save the change.
    Now Automatic Duplexing should become available.
    Regards,
    Shlomi
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

  • Ram utilization with 64 bit operating system

    Attached is the current configuration of my 8.1 Pro PC & I have a question regarding RAM utilization with 32 bit programs running on this PC.
    It has been my understanding that the 32 bit OS (XP Pro), at best, would be able to only utilize 4GB of RAM memory.  
    I've recently built a PC for the specific task of running an application which is very CPU & output intensive. The application is a Windows based 32 bit application which analyzes and recovers data from NAND chips.  Input data comes from a 2.0 USB
    feed, is processed and is then written to a 2 disk raid array.
    Will the 64 bit operating system enable 32 bit applications to utilize more than 4GB of RAM memory?  Any suggestions on how to maximize the processing of 32 bit application on a 64 bit OS would be appreciated.
    Operating System
    Windows 8.1 Pro 64-bit
    CPU
    Intel Xeon E3 1275 v2 @ 3.50GHz
    35 °C
    Ivy Bridge 22nm Technology
    RAM
    16.0GB Dual-Channel DDR3 @ 657MHz (9-9-9-24)
    Motherboard
    Supermicro X9SAE (CPU)
    37 °C
    Graphics
    HP w2408 (1920x1200@59Hz)
    Intel HD Graphics (Super Micro Computer)
    Storage
    372GB Western Digital WDC WD4000AAKS-00TMA0 (SATA)
    30 °C
    465GB Western Digital WDC WD5000HHTZ-04N21V0 (SATA)
    28 °C
    465GB Western Digital WDC WD5001ABYS-01YNA0 (SATA)
    32 °C
    465GB Western Digital WDC WD5003ABYX-01WERA1 (SATA)
    31 °C
    Optical Drives
    PLEXTOR DVDR PX-891SAW
    TSSTcorp CDDVDW SH-224DB
    Audio
    High Definition Audio Device

    Hi,
    As far as I know, 32-bit application running on x64 Windows system had a limit of memory address space. The max usage of RAM is 4GB. I also make a test using testlimit:
    According to the screenshot, we can find that, 32-bit testlimit only can leak 4051MB memory, while 64bit testlimit can achieve to 5200 even more larger memory.
    For more information about this knowledge, you can refer to contents of chapter 9 in Windows Internal:
    http://live.sysinternals.com/WindowsInternals/WindowsInternals-Ch05.pdf
    Roger Lu
    TechNet Community Support

Maybe you are looking for

  • Nulls in join...

    I have an application which I need to modify to support an additional class of product. Specifically the new products have the same structure as the old ones, except they have one variant for each region. The obvious thing to do is add an extra field

  • Duplex Printing option won't work on ePrint Mobile Driver for P1102W?

    Hi there, I just set up my LaserJet P1102W for wireless printing, it's connected to my router so I don't have any problem in printing double side though my laptop as I can just use the printer like it's connected to my computer. The problem is I am s

  • Macbook Pro won't boot up makes clicking sound

    Hi. After upgrading to Firefox 4 on my 15inch 2006 Macbook Pro, it froze for over 5 minutes and began to make an odd repeated clicking sound. I tried force-quitting, but that wouldn't work, so I restarted it. Now it won't even boot up fully, it just

  • Link for oracle erp training

    hi all can anyone give me the link where oracle ebs certification and training is given? i want to do the training and then give the exam i am looking for training and certification in P2P,HRMS ,Discoverer kindly guide me

  • How to set F4 help ?

    hi, I have created ZHELP in  SE 11 search help. Later I used in my code as follows PARAMETER : X TYPE VBAK-VBELN MATCH CODE OBJECT ZHELP. Is this ok and also suggest is there any other way to get the same thing ? by, Raghul