On 6/29/06, Drew <[EMAIL PROTECTED]> wrote:
On Thu, 2006-06-29 at 20:37 +0100, Drew wrote:
> I've had an idea, I'll write a program to inject some recognisable
> subcode into a RW_RAW image. Then I'll burn the image with the injected
> subcode, read it back with cdrdao in RW mode and look for the sub code
> in the image.
>
> Seems like along winded way round, but I suppose it's not a very complex
> programming exercise.
>
> I'll post if it works :)

I've written the program, injected the subcode but now I can't find a
way to burn the image....

What do people use to burn a toc/bin with subcode?

I use cdrdao with this command:
sudo cdrdao write -device /dev/hdc -speed 4 disc.toc

Inside the TOC file, instead of:

// Track 1
TRACK AUDIO

use:

// Track 1
TRACK AUDIO RW

which tells it to write subchannel data.

Here's track 1 from a complete example, as written by the cdg2bin.py tool I added to cdgtools:

// Track 1
TRACK AUDIO RW
NO COPY
NO PRE_EMPHASIS
TWO_CHANNEL_AUDIO
DATAFILE "disc.bin" 06:17:01 // length in bytes: 69219648

This produces discs that standalone CDG players grok just fine. The -speed 4 bit is to ensure they play without glitches. Damned old players are picky.

--
Looking for something to read? Visit http://willfe.com/ ... it's easy, safe, and fun for the whole family!
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Pykaraoke-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pykaraoke-discuss

Reply via email to