[ardour-dev] cd info patch

nick mainsbridge beatroot at optushome.com.au
Mon Jan 3 13:26:06 PST 2005

On Tue, 2004-12-21 at 15:01 -0500, Jesse Chappell wrote:
>  > treat ranges as cd track markers when exporting to toc/cue files
>  > treat markers as track indexes when exporting toc/cue files
> Nick, after doing a TOC export when i used marker style only,
> the final track in the TOC had a bogusly large length (way past
> the end of the exported file).
> I still think that there should be a standalone menu option to just
> regenerate a CUE/TOC, and not the whole file.  This option could
> be a checkbox in the export dialog "Generate CD Marker File Only (no audio)"
> if that made more sense.  This is helpful for debugging *and*
> for rearranging track boundaries (especially when they are extended
> with arbitrary track numbering).
> jlc

here's a revised patch. it should do the following;

work for ranges as well as sessions.

treat exported sessions/ranges without any track markers as one track,
with all indices being within that track. there is no pregap in this

ignore cd tracks/indexes that are wrong, such as indexes outside tracks
(except as above), tracks within tracks and incomplete tracks within
exported ranges.

add an 'export cd markers only' checkbutton to the export dialog which
is desensitised appropriately.

fix incorrectly exported preemphasis setting in previous patch.

alters the ardour_ui.rc file to include a style for the checkbutton.

nick mainsbridge <beatroot at optushome.com.au>
Beat-Route Media
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cd_info_revised.diff
Type: text/x-patch
Size: 28377 bytes
URL: <http://lists.ardour.org/pipermail/ardour-dev-ardour.org/attachments/20050104/fa0d57b3/attachment.bin>

More information about the Ardour-Dev mailing list