[ardour-users] Re: perl script to extract regions from ardour session.
andy
news4 at earthsong.free-online.co.uk
Tue Sep 28 15:02:36 PDT 2004
On Tue, 28 Sep 2004 18:30:00 +0200, Wolfgang Woehl wrote:
> 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
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">
--
http://www.niftybits.ukfsn.org/
remove 'n-u-l-l' to email me. html mail or attachments will go in the spam
bin unless notified with [html] or [attachment] in the subject line.
More information about the Ardour-Users
mailing list