[ardour-users] external generation of Ardour file -- ids?

John Emmas johne53 at tiscali.co.uk
Thu Jun 7 04:38:08 PDT 2007

----- Original Message ----- 
From: "Christopher Bailey" <chris at music.columbia.edu>
> Hello,
> I am writing an application that writes Ardour mix files externally.  I'm
> understanding the xml format pretty well.  One question I have:   where do
> the various IDs come from?  specifically:
> Session id-counter
> source
> Region
> Diskstream
> Looks like increments of 7, 9, 15 or 20 are happening, but I'm not sure of
> the logic behind that.
Hi there - I'm also writing an app that writes Ardour session files and
I asked this question myself, a few weeks ago.  If I understood the
answer correctly, I don't think there's any significance at all to the
ID numbers.  Each ID needs to be unique but, apart from that, you just
need to increment them in whatever order you create your objects.
If there seemed to be a pattern at work, it's just a happy coincidence
due to the objects being created in a 'patterned' order.

Hope that helps,


More information about the Ardour-Users mailing list