Accessing Audio CD Table of Contents

I'm trying to find a way to access the track table of contents, and index numbers, which are on conventional audio CDs. The TOC of an audio CD gives the total playing time of the CD, the number of tracks, a "frame offset" for each track from which the playing times of tracks can be computed, and a flag which tells whether a track is audio or some other kind of data. In addition, every "frame" on an audio CD (1/75th of a second of audio) has a tiny block of data called a "q-subchannel" which contains track and index numbers. (Index numbers are an extremely rarely used feature of the audio CD standard, originally intended to mark separate passages within classical music tracks, but they are also used more commonly to mark the pauses between audio tracks. Most inexpensive CD players these days don't even bother with them.)
I thought I had found a shareware "scripting additon" file that would enable me to capture this data. It is called audioCDgh, and can be found at a number of sites, but it was written about 1999 for OS 9, and I haven't been able to find a way to make the Tiger Applescript editor recognize it. I've already contacted the developer, asking if he had an OS X version, but he doesn't.
Is there any way to make an OS 9 scripting addition file work under OS X? Or, as an alternative, does anyone know of another scripting addition, or of some scriptable application program, that would provide access to the same data? Or any other strategy?
Thanks

Well, ok....
I have a large number of audio CDs, over a thousand, collected over the past 27 years, and I was thinking of building a specialized index/database of their tracks in an xml application, the format of which I'm still cooking up. I'd like to be able to include as much data about disc structure as I can. What little information I've found about audio CDs suggests that they are astonishingly primitive data structures: there really isn't anything like a true file structure on them which, given that these things are made to a standard from around 1980, I suppose I should have guessed.
The problem is that the information on audio CD data structures is kept in something called "The Red Book," which seems to be Top Secret. Actually, you can get a copy on the web, but even a PDF version will set you back a couple hundred bucks. Why this should be for such an old standard, and one that I would think would be to the industry's advantage to have known as widely as possible, is a great mystery to me.
I had looked at the iTunes dictionary, and seen that I can get number of tracks, and also track lengths, but it looks like the track lengths are rounded or truncated to an integer number of seconds. From what little information I've been able to glean from various sources, track lengths are actually in multiples of 1/75th of a second: the "offsets" in the TOC are actually three byte pointers in the form mm:ss.ff, where each byte is two BCD digits, ss running from 00 to 59, and the "frame" ff running from 00 to 74.
With this information, I could compute track times to 1/75th of a second. What can I say? I'm a precision freak.
But this isn't actually enough information, because with the exception of a few so-called "gapless" discs, all my CDs have pauses of 1 to 5 seconds between tracks. These gaps are, I think (again I'm infering from inadequate information), identified by an "index zero" mark in the actual frames. If you've ever watched the counter on a CD player, you may have noted that the counter counts downward in negative numbers between tracks. I'm pretty sure this is just the traditional way CD players deal with index zero frames, and to get the true time of a track, you have to subtract these from the offset differences which you could get from the TOC -- if you could get to the TOC. I'd like to be able to experiment to check this hypothesis.
Also, I do have a few rare CDs that actually make other use of index numbers. One in particular is very odd: it's Glenn Goulds' performance of the Goldberg Variations, and the various variations are identified by index numbers rather than track numbers. There's only one track on the disc, which makes playing it very awkward, and I've never known whether this was done deliberately or whether it was some kind of mistake.
Do you know if some high-end CD manipulating program, like Roxio Toast, is (a) AppleScriptable, and (b) allows access to this low-level data? I hate to buy a program just to have a look in the dictionary.
Thanks

Similar Messages

  • Accessibility Tags - What to do with Table of Contents & More

    I am looking for some help and advice regarding tagging a PDF document for accessibility using Acrobat 9 Pro.
    Until now, the most I've ever done with Acrobat is create the occasional straight-text document and a few simple forms.  But my boss has asked me to tag a programming manual for accessibility and I'm a little lost.  There are a lot of both images and code samples in this text that I have no idea how to work with because the automatic tagging seems to have gone haywire.
    I downloaded the Acrobat 9 Pro Accessibility Repair Workflow document and have done the following:
    Determined that my document is not a scanned document.
    Determined that there are no forms or buttons in this document.
    Set the language to English.
    Set the document security to "no security".
    Determined that the document has bookmarks.
    Determined that the document is not a tagged document.
    Run the Accessibility Full Check.
    This is where I ran into problems--both because of the nature of the document and my own ignorance of the "making accessible" process.
    My table of contents is split up into multiple areas shown as tables but the individual items in the table are irregularly identified--I have no clue how to get them to appear correctly.  Any tips would be appreciated.  Should the Table of Contents even be a table?  I know it's called a table, but it has multiple levels and I'm just not sure what to do with it.
    There are also several tables in the document.  They appear mostly OK, but Acrobat seems to think that the tables are made up of individual figures and produces "No alternate text for Figure" errors on some of them.
    Finally, how on earth do I do text flow on code??  The code is all text, not images.
    If anyone knows anything about this whole accessibility thing I would greatly appreciate your input.
    Thank you!
    Jenn

    It may actually be faster to save it as a DOC file. The formatting may get messed up, but fixing that may be faster than doing all of the tagging you need to do. At the end, you have a document that can easily be modified in the future and recreated in PDF form. The long-term workflow should be better. My guess you will find that setting up a style sheet in WORD (or using an existing one) will be easy to use in addressing the issues. When I think of setting a bookmark in some location, I think of the work in setting just one bookmark manually in Acrobat. I think that WORD would actually be easier if the file transfer is readonably. Worth a try anyway.

  • OHJ menus & table of contents/accessibility

    Greetings,
    We are testing our application for accessibility, and found a problem with the OHJ help navigator. Running on WindowsXP, if I change my font size from Normal to Extra Large, the title bar of the OHJ help navigator changes but not the pull down menu fonts, or the fonts for the tabs or table of contents. I do know that I can change the font size of the actual help text via Tools->Font Size. However, we need to have the OHJ viewer respond to system changes and update the fonts for its menus, tabs, dialogs and the table of contents list.
    Are there any flags or settings we can turn on when instantiating the help object so the help navigator responds to changes in the system font settings?
    thanks,
    Elizabeth.

    Sorry, Elizabeth. There are no settings to help you with this.
    Ryan

  • Report Generation Toolkit: Table of Contents in MS Word

    Hello forum users,
    I would like to add a table of contents to a MS Word document, using the Report Generation Toolkit.
    I couldn't find a VI in the toolkit that does that, so I tried to modify the VI "Word Insert Field.vi". Doing so, I could access a property node of the class "Word._Document"  and an invoke node of the class "Word.TablesOfContents" with the method "Add".
    As this modified VI does not belong to the private LabVIEW class "NI_Word.lvclass", it is not possible to unbundle the (type cast) "report in" wire to get the "Word._Document" class reference. I can't add the modified VI to the NI_Word class either, because it is password protected.
    There are so many methods and properties that are not used in the official Report Generation Toolkit, like this one. How can I access them?
    Or maybe there is another way to add a table of contents to a MS Word document (programmatically). Maybe I have to use a template. I rather wouldn't, though.
    Operating System: Windows 7 64bit
    LabVIEW: 2009 [9.0 (32bit)]
    Report Generation Toolkit: 2009
    MS Office: 2003 SP1
    Thank you for reading an answering.
    Solved!
    Go to Solution.
    Attachments:
    Word_Insert_TOC.png ‏68 KB

    Hello again,
    in the "Word Specific" > "Word Advanced" Palette of the Report Generation Toolkit, there is a VI called "Word Get ActiveX References" which essentially unbundles the private "report" data stream / wire. Thus, I can use the property and invoke nodes that make use of the "Add TablesOfContents" method.
    I hope, that helps other users as I didn't find too many topics on Report Generation. Maybe it's just too easy...
    Attachments:
    Word_Insert_TOC_fix.png ‏60 KB

  • How do I get the table of contents to toggle? I opened it while reading one book I had checked out from my library, but it is still open when I start another book. I am using Adobe 4 and Windows 8.1 on my PC.

    How do I get the table of contents to toggle? It has remained open since I opened it while reading two books ago. Thanks for the help.

    Thank you for your advice. I followed your directions, but came up with the same results. However, I did discover that whenever I open up the iPhoto Library that is already existing on my MacBook a certain set of pictures shows up. But then when I open up the iPhoto Library from the Hard drive another set of pictures shows up. BUT not ALL of my pictures are showing up on the iPhoto Library from the hard drive. At least the last two years of pictures are not showing up?! Actually, it appears that all the pictures are there from when I started using iPhoto about 5 years ago up until around the time that I got my iMac desktop computer and started using that (2 years ago). I have noticed that more recent videos I have made are showing up in a folder on the hard drive, but will not appear when I open up iMovie?! Any ideas on how to access my pictures from the last 2 years off of the hard drive???

  • How to use different images in the Table of Contents?

    Hello everyone, I am creating an iBook about Architecture and I would like to have different images for each Chapter in the Table of Contents... But when I add an image it automatically appears on all the other chapters, too. What am i doing wrong?

    You drag the image to the screen and it replaces the placeholder image.
    When you hover over the current image, don't you get the message "this is a placeholder . . ." under your mouse pointer?
    I think the documentation states that the new image must be jpg or png, but a Photoshop image seems to work too.
    In portrait mode, only one image shows at the top of the list of chapters, and that can be changed too.
    But in landscape mode, all of the separate chapter images can be accessed by clicking the littel dots at the bottom of the screen when at the TOC page.

  • How to find out the query is accessing the DB tables or not

    Hi Gurus ,
    How to find out the query is accessing the DB tables or not.
    Where exactly we will find this information in SAP BW.
    I know that this information we can find in ST03. But where exactly we will find the query information along with DB information?

    Lakshmi
    Activate BI Technical Content for Query analysis and run query against that.
    Hope this helps
    Thanks
    sat

  • Is there a way to export the Table of Content?

    We need to insert audio files to each slide. There are 127 slides in total, and we need to name each audio file using the corresponding slide's names. To do so, I think to have the Table of Content exported is a good way. Is there a way to do this?
    we use Captivate 5.5.
    Thank you.

    Hi there
    The TOC is unique for each project. I fail to see how an ability to export one TOC and import into another project would help in any way.
    Cheers... Rick

  • Cdparanoia 004: Unable to read table of contents header

    Hi. I've been trying to rip wavs with grip but it was unable to locate any audio cd even though I could explore it from my desktop (xfce 4.10) and I am part of the optical group. Because of this, I tried running cdparanoia from the terminal.
    Running the next command: cdparanoia -vsQ displays the next warning:
    cdparanoia III release 10.2 (September 11, 2008)
    Using cdda library version: 10.2
    Using paranoia library version: 10.2
    Checking /dev/cdrom for cdrom...
        Testing /dev/cdrom for SCSI/MMC interface
            SG_IO device: /dev/sr0
    CDROM model sensed sensed: ASUS DVD-E616P3H 1.04
    Checking for SCSI emulation...
        Drive is ATAPI (using SG_IO host adaptor emulation)
    Checking for MMC style command set...
        Drive is MMC style
    004: Unable to read table of contents header
    Unable to open disc.  Is there an audio CD in the drive?
    if I try to listen a track from an external application like mplayer it won't play any audio but if I manually locate the audio and choose them an application to play, they will. Also, the hardware itself is functional since I ripped music from a debian squeeze (dvd) installation.
    Finally If it's useful, I used gvfs and exec ck-launch-session dbus-launch startxfce4 in my .xinitrc to mount usb and other devices automatically
    Thanks in advance

    You removed all mailboxes (.mbox files) located within this problem account named folder at Home > Library > Mail and the same occurs when re-launching Mail?
    The TableofContents file is a package file for a .mbox so it is hidden.
    I'm not sure how you removed all mailboxes for this account but quit Mail first and using the Finder, go to Home > Library > Mail > this POP account named folder (named by the user name and incoming mail server for the account). Move the account named folder to the Desktop.
    Launch Mail and if it launches successfully without locking up and quitting, a new account named folder will be created automatically by Mail within the account named folder.
    All email clients have limits and the recommended size limit for a Jaguar or Panther mailbox is 1GB and for Tiger Mail, 2GB.
    An "overstuffed" mailbox issue can occur at any mailbox size (which means the mailbox has some corruption and/or is over the recommended size limit) but is more likely to occur depending on the number and size of message attachments contained in a mailbox and especially as a Jaguar or Panther mailbox approaches or exceeds 1GB in size.
    Since an account's Inbox mailbox is usually the most active mailbox, it is not a good idea to use an account's Inbox mailbox as the final storage location for all received messages not deleted.

  • Table of contents using cfdocument

    Good day,
    I've been trying to create a table of contents using
    cfdocument. I've been unsuccessful in extracting the page number
    out of the document. I know they are reserved for that scope, but
    i've tried copying the value into an application variable and
    accessing it on a different page to no avail. I've tried to
    increment a basic counter, can't seem to get that to work either.
    If anyone has any experience in this, please help me out.

    I'm not sure you understood my post. I was able to do exactly as you did -- create a master page with a frame and the section marker character (which shows as "section" on the master page) and then add the actual marker text in the numbering and section options. The correct text appears on the live document page.
    When I tried to make a TOC the text was not picked up UNTIL I selected and overrode that master frame onto the document page (Ctrl + Shift + Click on Windows or Cmd + Shift + Click on Mac on the frame you want to override). Once overridden, the text appeared as expected in the TOC.
    You are correct about the page number for that page. You can use a different master without a page number, or you can override and delete the number frame from the master page. I presume you will either use a different master for the first page and following pages of any section to avoid having the marker appear on all pages, or you can override only the first page so that you don't repeat entries in the TOC for every page in each section.  If you are using the Section Marker as a running header you might want to read about Running Header Variables in the Help files instead. In many ways the use of a variable might be simpler and more straightforward.

  • How do I view bookmarks in tables of contents like I do in acrobat?

    I have a table of contents in my PDF that jumps to the appropriate page with bookmarks when I access it with Adobe Acrobat. what I can't figure out is how to use it the table of contents in the iOS app in a similar way. Can anyone help?

    Touch on the bookmark icon at the lower right edge.

  • How can i get access to a TABLE IN A TEXTOBJECT

    Hello,
    i want to edit the textobject1 on an existing report file.
    In DIAdem 8 the script was for example:
        call GraphObjopen("textobject1")
          call TxtBufOpen 
            TxtBufFont="Arial"
            TxtBufFontSize=10
            call TxtBufNextLine
            x = Round(chdx(1,Cno("myErg_" & name)),2)
            call TxtBufTabCellSet(cstr(x),4,1)
    Log file:
       "An der aktuellen Cursorposition befindet sich keine Tabelle!"
       "at the current cursor position there is no table"
    How does it work in 10.2 to get access to a table in a textobject? There is no documentation for this case.
    Regards  Bernard

    Hello Bernhard,
    during the last releases, a lot of the DIAdem modules have been completely revised which in some cases may have led to some old variables becoming obsolete.
    To find out which variables a particular dialog is using you have two options: Open the configuration dialog and use the help button to gat a context sensitive help explaining all available parameters and options. Alternatively, press Ctrl&A inside the dialog to copy all variables to the Windows clipboard. Doing so with a Textobject and pasting the clipboard content into a script you will get the following:
    Call GraphObjOpen("Text1")
      '------------------- Text -----------------------------
      TxtTxt           ="this is text"
      TxtFont          ="Arial"
      TxtSize          =3
      TxtColor         ="black"
      TxtColorRGB      =33554432
      TxtBold          =0
      TxtItal          =0
      TxtUndl          =0
      TxtStrOut        =0
      TxtFrame         =0
      TxtBackColor     =""
      TxtBackRGB       =0
      '------------------- Position -----------------------
      TxtPosX          =40.17
      TxtPosY          =62.39
      TxtAng           =0
      TxtRelPos        ="r-bot."
    Call GraphObjClose("Text1")
    Ingo Schumacher
    Systems Engineer Sound&VibrationNational Instruments Germany

  • Status Check on Table of Contents

    My status checks work fine for all of my slides, except when I have my "Next" button jump to a slide later down the line.  For some reason I'm not getting a checkmark on the TOB for that particular slide. 
    Also, on that particular slide, the duration will say "1:03" instead of "0.03."  0.03 is what I have allotted according to my slide timeline.  So I guess it's taking into account the duration for all of the slides that I'm jumping over.  Accessing the slides that I'm jumping over doesn't seem to give me a status check on the slide either.
    Has anyone had this problem? 
    Sorry if this is confusing!

    I'll give that a try and see what happens. 
    Although, my "Next" buttons are set up that way on each slide (they pause at 1.5 seconds) and they seem to be working fine.  It's only when I have the "Next" button jump over slides, for example, slide 8 jumps to slide 21 because slides 9-20 are set up as a Glossary, Examples, Resource Information, etc. 
    I put buttons on each slide so the student can access the Glossary, Examples, and Resource Information at any time during the training.  Then on the TOB, I have these slides turned off so the student only accesses them by clicking the button on the slides.
    But I'm open to trying anything so I appreciate your suggestion!
    Date: Tue, 4 May 2010 09:02:35 -0600
    From: [email protected]
    To: [email protected]
    Subject: Status Check on Table of Contents
    Hi there
    I don't believe the check mark will appear unless the slide plays fully. If you have a button on the slide that is pausing at perhaps 1.5 seconds and the total silde time is perhaps 3 seconds, you are essentially skipping over 1.5 seconds of the slide to visit the linked slide. You might try adjusting the pause point so it's at the end of the slide and see if that improves things. It may and it may not. I'm not certain. But it's worth a try.
    Cheers... Rick
    | http://www.robowizard.com/pc.gif | Helpful and Handy Links
    http://www.Adobe.com/cfusion/mmform/index.cfm?name=wishform&product=5
    http://www.ShowMeSolutions.biz
    http://sorcererstone.wordpress.com/
    http://www.gooberguides.com |
    >

  • Change formatting of table of contents in Hyperion Financial Reporting

    Hi
    We're using Hyperion Financial Reporting to generate carefully formatted books of reports. Users complain about the default table of contents in these books, specifically:
    --> formatting: the basic text-only, portrait-only, formatting does not fit with the "look and feel" of reports within the books.
    --> placement: the fact that it doesn't seem possible to place anywhere within a book, apart from as the first page (they like a title page to sit at the front of a book of reports).
    --> content: having a limited options for defining the text identifying each item within the table of contents. For example, the same combination of dimension members appear for each item in the table of contents, so the first few items look something like:
    Report1_Label
    Dimension2_Label, Dimension1_Label, Dimension3_Label, Dimension4_Label ....................1
    Report2_Label
    Dimension3_Label, Dimension1_Label, Dimension4_Label, Dimension2_Label ....................2
    I remember reading somewhere that it's possible to define custom table of contents. Has anyone had any experience of hacking this? Where can I find relevant documentation on defining custom table of contents?
    Grateful if anyone has any advice.
    Thanks
    Nathan
    Edited by: naaaate on 01-Apr-2011 09:22
    Edited by: naaaate on 01-Apr-2011 09:41
    Edited by: naaaate on 01-Apr-2011 09:42
    Edited by: naaaate on 01-Apr-2011 09:42

    Hi Nathan
    I've never done this before but there is a section in the Financial Reporting Workspace Administrators Guide (chapter 5). However this involves accessing the css style sheets and in my experience this can have unwanted and unexpected effects in other areas. It does appear to be fairly well documented though in this case so perhaps it is more reliable in this instance.
    It does specifically mention HTML format and not PDF format so if you are publishing to PDF it is worth checking the impact on that too. Take a look at the attached for version 11.1.2 but I'm fairly sure this was available in earlier versions too.
    http://download.oracle.com/docs/cd/E17236_01/epm.1112/fr_webadmin.pdf
    Hope this helps
    Stuart

  • Accessing audio file directories more easily

    Is there a way to access audio files like foley or music files more easily. Currently I locate files in the finder and drag into the FCP browser window, but would like to have a way to see the various folders in one place. Is this doable, or is there a better way to do this?

    Meg The Dog wrote:
    Hi =
    At the finder level, just use QuickLook.
    Select the file. Press the spacebar. If is is an audio file it will play, an image it will display, or a movie it will play as well.
    You can use this to sample your files and preselect and screen those you want to drag into the FCP browser.
    MtD
    Thanks for the feedback. I had hoped there was a way FCP could allow adding folders like Motion's file browser. I know I can add the four or five folders (where I have audio content of interest) to the Finder's Places Sidebar, and sample the audio as you said, but hoped there was a way to do this from within FCP file browser, or access via a right mouse click. I am setting up a Macbook as a mobile editing station, so had hoped there was a way to view and select content without having another window (finder) up. It's less cumbersome of a process with a single monitor system.

Maybe you are looking for

  • Why do i have to redownload songs i already have on my phone?

    Hi this morning i tried to listen music and some songs werent playing because they had cloud icon next to them. It says i may have to pay for it if i download it. Why do i have to download it again when i already did? It had no problem until this mor

  • MM06E005 enhancement

    hi, if anyone has displayed table control in item level tab for ME21n/2n/3n using enhancement MMO6E005 please send me some code sample as it is very urgent for me.  I tried but i can display the values only for simple fields but not in table control.

  • Jre1.7.0 04 c.msi

    I am trying to update Jave 7 to Java 9 on another computer and every time I try it says jre1.7.0 04 c.msi is not there. I have tried everything and can not figure it out. Please help me

  • Speed Grade Crashes when rendering

    SpeedGrade crashes on me when I try to render graded footage to an h.264 file.  I have tried both mts footage from the canon xh-a1 that has been converted to quicktime as well as footage straight out of the 5D Mark 2.  I can grade the footage, but ev

  • Subroutine that takes in an array, fills it in and then spits it back out.

    I'm looking for an example where I can create a generic subroutine that takes in an array and then operates on it and then spits the entire array back out. I'm pretty sure this is simple, but I just can't figure it out... In essence I want this: main