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

Wolfgang Woehl tito at rumford.de
Tue Sep 28 09:30:00 PDT 2004


andy <news4 at earthsong.free-online.co.uk>:

> my $s1=$reg->att("source-1");
> my $s0=$reg->att("source-0");

Don't have "session-1" in my ardour files so

> 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




More information about the Ardour-Users mailing list