Trim <PatchBank>s with unresolved <UsesPatchNameList>s
authorCarl Hetherington <carl@carlh.net>
Sun, 3 Jun 2012 15:47:28 +0000 (15:47 +0000)
committerCarl Hetherington <carl@carlh.net>
Sun, 3 Jun 2012 15:47:28 +0000 (15:47 +0000)
to stop errors on startup (#4900).

git-svn-id: svn://localhost/ardour2/branches/3.0@12552 d708f5d6-7413-0410-9779-e7cbd77b26cf

patchfiles/Korg Karma.midnam
patchfiles/Korg_Triton.midnam
patchfiles/Roland JP-8080.midnam
patchfiles/Roland XV-3080.midnam
patchfiles/Roland_JV-1010.midnam
patchfiles/korg_trinity_rack.midnam

index 75390c5f08ca908d9753023f224f86621d636bab..4b59137be6d03d5f915aea9720332ea90ccea179 100755 (executable)
                                <AvailableChannel Channel="15" Available="true" />
                                <AvailableChannel Channel="16" Available="true" />
                        </AvailableForChannels>
-
-                       <PatchBank Name="Combinations 0000" ROM="false">
-                               <MIDICommands>
-                                       <ControlChange Control="0" Value="0" />
-                                       <ControlChange Control="32" Value="0" />
-                               </MIDICommands>
-                               <UsesPatchNameList Name="Combinations 0000" />
-                       </PatchBank>
-                       <PatchBank Name="Combinations 0001" ROM="false">
-                               <MIDICommands>
-                                       <ControlChange Control="0" Value="0" />
-                                       <ControlChange Control="32" Value="1" />
-                               </MIDICommands>
-                               <UsesPatchNameList Name="Combinations 0001" />
-                       </PatchBank>
                </ChannelNameSet>
 
                <ChannelNameSet Name="Programs">
index 7c7ba0b7b496933df124a750a5f8c68b479db909..90cbf0a3eaf9c59a631d80bc1f468caf9542ebd6 100755 (executable)
                                <AvailableChannel Channel="15" Available="true" />
                                <AvailableChannel Channel="16" Available="true" />
                        </AvailableForChannels>
-
-                       <PatchBank Name="Combinations 0000" ROM="false">
-                               <MIDICommands>
-                                       <ControlChange Control="0" Value="0" />
-                                       <ControlChange Control="32" Value="0" />
-                               </MIDICommands>
-                               <UsesPatchNameList Name="Combinations 0000" />
-                       </PatchBank>
-                       <PatchBank Name="Combinations 0001" ROM="false">
-                               <MIDICommands>
-                                       <ControlChange Control="0" Value="0" />
-                                       <ControlChange Control="32" Value="1" />
-                               </MIDICommands>
-                               <UsesPatchNameList Name="Combinations 0001" />
-                       </PatchBank>
                </ChannelNameSet>
 
                <ChannelNameSet Name="Programs">
index 9a9b9db2285fd5644b2f25d1a01efdf72032056d..7df7c9570e3dc2bb779cec5f743379b4af251d77 100755 (executable)
                                <AvailableChannel Channel="15" Available="true" />
                                <AvailableChannel Channel="16" Available="true" />
                        </AvailableForChannels>
-
-                       <PatchBank Name="User Performances" ROM="false">
-                               <MIDICommands>
-                                       <ControlChange Control="0" Value="85" />
-                                       <ControlChange Control="32" Value="0" />
-                               </MIDICommands>
-                               <UsesPatchNameList Name="User Performances" />
-                       </PatchBank>
-                       <PatchBank Name="Preset A Performances" ROM="false">
-                               <MIDICommands>
-                                       <ControlChange Control="0" Value="85" />
-                                       <ControlChange Control="32" Value="64" />
-                               </MIDICommands>
-                               <UsesPatchNameList Name="Preset A Performances" />
-                       </PatchBank>
-                       <PatchBank Name="Preset B Performances" ROM="false">
-                               <MIDICommands>
-                                       <ControlChange Control="0" Value="85" />
-                                       <ControlChange Control="32" Value="65" />
-                               </MIDICommands>
-                               <UsesPatchNameList Name="Preset B Performances" />
-                       </PatchBank>
                </ChannelNameSet>
 
                <ChannelNameSet Name="Drums">
                                <AvailableChannel Channel="16" Available="true" />
                        </AvailableForChannels>
 
-                       <PatchBank Name="User Drums" ROM="false">
-                               <MIDICommands>
-                                       <ControlChange Control="0" Value="86" />
-                                       <ControlChange Control="32" Value="0" />
-                               </MIDICommands>
-                               <UsesPatchNameList Name="User Drums" />
-                       </PatchBank>
                </ChannelNameSet>
 
                <PatchNameList Name="User Patches">
index 6ef4c526ccf44b9242d0e81f6a9c9d82eeb90116..f138f921e3fd83abba6c47a4763addaf211fe18b 100755 (executable)
                                </MIDICommands>
                                <UsesPatchNameList Name="Techno Drums" />
                        </PatchBank>
-                       <PatchBank Name="Dynamic Drums 1" ROM="false">
-                               <MIDICommands>
-                                       <ControlChange Control="0" Value="92" />
-                                       <ControlChange Control="32" Value="0" />
-                               </MIDICommands>
-                               <UsesPatchNameList Name="Dynamic Drums 1 Patches" />
-                       </PatchBank>
-                       <PatchBank Name="Dynamic Drums 2" ROM="false">
-                               <MIDICommands>
-                                       <ControlChange Control="0" Value="93" />
-                                       <ControlChange Control="32" Value="0" />
-                               </MIDICommands>
-                               <UsesPatchNameList Name="Dynamic Drums 2 Patches" />
-                       </PatchBank>
                        <PatchBank Name="Studio SRX Drums" ROM="false">
                                <MIDICommands>
                                        <ControlChange Control="0" Value="92" />
index d19ab70be17218c0b98a21da3ba0c2ed27e3da38..f125590254bad6d7eab8e3ad93d7cd5e04f1e4d7 100755 (executable)
                                </MIDICommands>
                                <UsesPatchNameList Name="Performances PR-A" />
                        </PatchBank>
-                       <PatchBank Name="Performances PR-B" ROM="false">
-                               <MIDICommands>
-                                       <ControlChange Control="0" Value="81" />
-                                       <ControlChange Control="32" Value="1" />
-                               </MIDICommands>
-                               <UsesPatchNameList Name="Performances PR-B" />
-                       </PatchBank>
                </ChannelNameSet>
 
                <ChannelNameSet Name="Drums">
index c44d8ed4fb827d0d8884bafcd0488a564a1d5901..e3ffddcc2dfbe8d6f1832c6bb02f9c869e2ae421 100755 (executable)
                                </MIDICommands>
                                <UsesPatchNameList Name="Combinations 0000" />
                        </PatchBank>
-                       <PatchBank Name="Combinations 0001" ROM="false">
-                               <MIDICommands>
-                                       <ControlChange Control="0" Value="0" />
-                                       <ControlChange Control="32" Value="1" />
-                               </MIDICommands>
-                               <UsesPatchNameList Name="Combinations 0001" />
-                       </PatchBank>
                </ChannelNameSet>
 
                <ChannelNameSet Name="Programs">