[ardour-users] Re: perl script to extract regions from ardour session.

Wolfgang Woehl tito at rumford.de
Thu Sep 30 00:40:00 PDT 2004


Jesse Chappell <jesse at essej.net>:
> andy wrote on Tue, 28-Sep-2004:
>  > >> my ($s1fe)=$twig->get_xpath("/Session/Sources/Source[\@id=\"$s1\"]");
>  > >
>  > > this returns an undefined value. Do you mean
>  > >
>  > > "source" -> source-0
>  > > "source-0" -> source-1 ?
>  > >
>  > > Wolfgang
>  >
>  > sorry, it's this bit .
>  >
>  > <Region id="1096228188964266" name="rec2.1" start="0" length="30222336"
>  > position="1359872" layer="0" sync-position="0" flags="0x31a"
>  > scale-gain="1.000000" source="1096225604226481"
>  > source-0="1096225604226481" source-1="1096225604226886" channels="2">

Andy: A new session made with Ardour/GTK 0.531.1 libardour 0.832.2 has 
"source" and "source-0". Must be missing something since you do have 
"source-1". Tell me what.

>
> As you'll notice, source and source-0 refer to the same object.
> source was left there for backwards compatibility a long time
> ago (back when multichannel tracks were introduced).  Just to
> clarify....
>
> jlc
> _______________________________________________
> ardour-users-ardour.org mailing list
> ardour-users at lists.ardour.org
> http://lists.ardour.org/listinfo.cgi/ardour-users-ardour.org




More information about the Ardour-Users mailing list