[ardour-users] generating (and testing?) Ardour XML
Carlos J. Muentes
carlos.muentes at gmail.com
Thu Jun 14 08:38:41 PDT 2007
I'm not super familiar with Ardour's XML parser, but I believe XML is
case-sensitive, so 'Diskstreams' and 'DiskStreams' are different values.
On 6/14/07, Christopher Bailey <chris at music.columbia.edu> wrote:
>
>
> This will probably be a fruitless question, but does anyone see any issues
> with this Ardour xml found below? It doesn't load .. .the only error I've
> been able to squeeze out of the system is "no DiskStreams section", which
> isn't the case.
>
> Perhaps a useful question is: any advice on how to systematically test
> this? I'm starting with 1 soundfile, but there's already so much
> complexity I have no clue where the problem may lie.
>
> I'm wondering if there is a problem with all of the ids: I believe I have
> connected the id's that need to be connected, and otherwise, ids are all
> unique. However, one possible issue is that when defining for example, a
> "Controllable id", I assumed that it didn't matter if that was the same
> as some Region id, since they are from different worlds (again, I
> assume).
>
> (By the way, if you copy/paste this xml into a doc, and call it "hi.xml"
> or whatever, you can look at it nicely in Firefox.)
>
> Thanks,
> CB
>
>
>
>
>
>
>
> <?xml version="1.0" encoding="UTF-8"?>
> <Session version="2.0.0" name="peesuuu" id-counter="692">
> <Config>
> <Option name="output-auto-connect" value="2"/>
> <Option name="mtc-port-name" value="ardour"/>
> <Option name="mmc-port-name" value="ardour"/>
> <Option name="midi-port-name" value="ardour"/>
> <Option name="seamless-loop" value="1"/>
> <Option name="meter-falloff" value="32"/>
> <end-marker-is-free val="no"/>
> </Config>
>
> <Sources>
>
> <Source name="wildpanpourryt.wav" id="1572"
> flags="Writable,CanRename,Removable,RemovableIfEmpty" channel="0"/>
> </Sources>
>
> <Regions>
>
> <Region id="786" name="wildpanpourryt" start="0" length="204050"
> position="0" first_edit="name" layer="0" sync-position="0"
> flags="Opaque,DefaultFadeIn,DefaultFadeOut,WholeFile,FadeIn,FadeOut"
> scale-gain="1" source-0="1572" channels="1">
> <FadeIn default="yes" active="yes"/>
> <FadeOut default="yes" active="yes"/>
> <Envelope default="yes"/>
> </Region>
>
> </Regions>
>
> <Diskstreams>
>
> <AudioDiskstream flags="Recordable" channels="1" playlist="mono2"
> speed="1" name="mono2" id="131"/>
>
> </Diskstreams>
>
> <Locations>
> <Location id="17" name="start" start="0" end="0"
> flags="IsMark,IsStart"/>
> <Location id="51" name="Loop" start="0" end="13230000"
> flags="IsAutoLoop,IsHidden"/>
> <Location id="52" name="Punch" start="0" end="13230000"
> flags="IsAutoPunch,IsHidden"/>
> <Location id="16" name="end" start="13230000" end="13230000"
> flags="IsMark,IsEnd"/>
> </Locations>
> <Connections/>
>
> <Routes>
>
> <Route flags="MasterOut" default-type="audio" active="yes" muted="no"
> soloed="no" phase-invert="no" mute-affects-pre-fader="yes"
> mute-affects-post-fader="yes" mute-affects-control-outs="yes"
> mute-affects-main-outs="yes" order-keys="editor=0:signal=0">
> <IO name="master" id="18" inputs="{mono2/out 1}{mono2/out 2}"
> outputs="{coreaudio:Built-in Audio:in1}{coreaudio:Built-in Audio:in2}"
> gain="1.000000000000" iolimits="-1,2,-1,2">
> <Panner linked="no" link_direction="SameDirection" bypassed="no">
> <Output x="0" y="0"/>
> <Output x="1" y="0"/>
> <StreamPanner x="0" type="Equal Power Stereo" muted="no">
> <Automation>
> <AutomationList id="47" default="0" min_yval="0" max_yval="1"
> max_xval="0" state="Off" style="Absolute"/>
> </Automation>
> <controllable name="panner" id="46"/>
> </StreamPanner>
> <StreamPanner x="1" type="Equal Power Stereo" muted="no">
> <Automation>
> <AutomationList id="50" default="1" min_yval="0" max_yval="1"
> max_xval="0" state="Off" style="Absolute"/>
> </Automation>
> <controllable name="panner" id="49"/>
> </StreamPanner>
> </Panner>
> <controllable name="gaincontrol" id="19"/>
> <Automation>
> <AutomationList id="20" default="1" min_yval="0" max_yval="2"
> max_xval="0" state="Off" style="Absolute"/>
> </Automation>
> </IO>
> <controllable name="solo" id="22"/>
> <controllable name="mute" id="23"/>
> <remote_control id="1"/>
> <extra>
> <GUI color="17383:12777:18886" shown_mixer="yes" shown_editor="yes"
> track_height="normal">
> <gain track_height="normal" shown="no"/>
> <pan track_height="normal" shown="no"/>
> </GUI>
> </extra>
> </Route>
>
> <Route default-type="audio" active="yes" muted="no" soloed="no"
> phase-invert="no" mute-affects-pre-fader="yes"
> mute-affects-post-fader="yes" mute-affects-control-outs="yes"
> mute-affects-main-outs="yes" order-keys="editor=1:signal=1" mode="Normal"
> diskstream-id="131">
> <IO name="mono2" id="318" inputs="{}" outputs="{master/in 1}{master/in
> 2}" gain="1.000000000000" iolimits="1,-1,-1,-1">
> <Panner linked="no" link_direction="SameDirection" bypassed="no">
> <Output x="0" y="0"/>
> <Output x="1" y="0"/>
> <StreamPanner x=".2222222222222222" type="Equal Power Stereo"
> muted="no">
> <Automation>
> <AutomationList id="319" default="0.5" min_yval="0" max_yval="1"
> max_xval="0" state="Play" style="Absolute">
> <events>0 .2222222222222222 204050 .2222222222222222
> </events>
> </AutomationList>
> </Automation>
> <controllable name="panner" id="320"/>
> </StreamPanner>
> </Panner>
> <controllable name="gaincontrol" id="321"/>
> <Automation>
> <AutomationList id="322" default="1" min_yval="0" max_yval="2"
> max_xval="0" state="Off" style="Absolute"/>
> </Automation>
> </IO>
> <controllable name="solo" id="323"/>
> <controllable name="mute" id="324"/>
> <remote_control id="325"/>
> <extra>
> <GUI color="48296:32015:24043" shown_mixer="yes" strip_width="Wide"
> shown_editor="yes" track_height="normal">
> <gain track_height="normal" shown="no"/>
> <pan track_height="normal" shown="no"/>
> </GUI>
> </extra>
> <alignment style="ExistingMaterial"/>
> <controllable name="recenable" id="326"/>
> </Route>
>
> </Routes>
>
> <EditGroups/>
> <MixGroups/>
>
> <Playlists>
>
> <Playlist name="mono2" orig_diskstream_id="131" frozen="no">
> <Region id="929" name="wildpanpourryt" start="0" length="204050"
> position="0" first_edit="id" layer="0" sync-position="0"
> flags="Opaque,DefaultFadeIn,DefaultFadeOut,WholeFile,FadeIn,FadeOut"
> scale-gain="1" source-0="1572" channels="1">
> <FadeIn default="yes" active="yes"/>
> <FadeOut default="yes" active="yes"/>
> <Envelope default="yes"/>
> <extra>
> <GUI waveform-visible="yes" envelope-visible="no"
> waveform-rectified="no"
> waveform-logscaled="no"/>
> </extra>
> </Region>
> </Playlist>
> </Playlists>
>
> <UnusedPlaylists/>
>
> <Click>
> <IO name="click" id="331" inputs="" outputs="{coreaudio:Built-in
> Audio:in1}" gain="1.000000000000" iolimits="0,0,-1,-1">
> <Panner linked="no" link_direction="SameDirection" bypassed="no"/>
> <controllable name="gaincontrol" id="332"/>
> <Automation>
> <AutomationList id="333" default="1" min_yval="0" max_yval="2"
> max_xval="0" state="Off" style="Absolute"/>
> </Automation>
> </IO>
> </Click>
>
> <NamedSelections/>
>
> <TempoMap>
> <Tempo start="1|1|0" beats-per-minute="120.000000" movable="no"/>
> <Meter start="1|1|0" note-type="4.000000" beats-per-bar="4.000000"
> movable="no"/>
> </TempoMap>
> <ControlProtocols>
> <Protocol name="Generic MIDI" active="no"/>
> <Protocol name="Mackie" active="no"/>
> </ControlProtocols>
> <extra>
> <ClockModes primary="SMPTE" secondary="BBT" preroll="MinSec"
> postroll="MinSec" bigclock="SMPTE" editcursor="SMPTE" zoomrange="SMPTE"
> nudge="SMPTE"/>
> </extra>
>
>
>
> </Session>
>
> _______________________________________________
> ardour-users mailing list
> ardour-users at lists.ardour.org
> http://lists.ardour.org/listinfo.cgi/ardour-users-ardour.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ardour.org/pipermail/ardour-users-ardour.org/attachments/20070614/8eb296ae/attachment-0002.htm>
More information about the Ardour-Users
mailing list