MusE Sequencer forum
Project crashing MusE when loading - Printable Version

+- MusE Sequencer forum (http://muse-sequencer.org/forum)
+-- Forum: MusE Forum (http://muse-sequencer.org/forum/forumdisplay.php?fid=5)
+--- Forum: Getting Help (http://muse-sequencer.org/forum/forumdisplay.php?fid=3)
+--- Thread: Project crashing MusE when loading (/showthread.php?tid=81)

Pages: 1 2 3


Re: Project crashing MusE when loading - d-sweaters - 12-29-2013

Hi Robert,

Its version 2.0 rc2

I tried with the -a option and it still crashes as soon as trying to open this project. Here's the console output.

user@ChrUbuntu:~$ muse -a
Denormal protection enabled.
Trying RTC timer...
fatal error: open /dev/rtc failed: Permission denied
hint: check if 'rtc' kernel module is loaded, or used by something else
Trying ALSA timer...
AlsaTimer::initTimer(): best available ALSA timer: system timer
got timer = 68
starting with default template
Route::read(): jack port <system:playback_2> not found
Warning - route invalid. Ignoring route!
Route::read(): jack port <system:playback_1> not found
Warning - route invalid. Ignoring route!
Setting project path to /home/user/MusE
fluidsynth: warning: No preset found on channel 9 [bank=128 prog=0]
Route::read(): jack port <system:capture_1> not found
Warning - route invalid. Ignoring route!
Route::read(): jack port <system:capture_2> not found
Warning - route invalid. Ignoring route!
Route::read(): jack port <system:playback_2> not found
Warning - route invalid. Ignoring route!
Route::read(): jack port <system:playback_1> not found
Warning - route invalid. Ignoring route!
Route::read(): jack port <a2j:Midi Through [14] (playback): Midi Through Port-0> not found
Warning - route invalid. Ignoring route!
Route::read(): jack port <a2j:USB Midi Cable [20] (playback): USB Midi Cable MIDI 1> not found
Warning - route invalid. Ignoring route!
Route::read(): jack port <a2j:TiMidity [128] (playback): TiMidity port 0> not found
Warning - route invalid. Ignoring route!
Route::read(): jack port <a2j:TiMidity [128] (playback): TiMidity port 1> not found
Warning - route invalid. Ignoring route!
Route::read(): jack port <a2j:TiMidity [128] (playback): TiMidity port 2> not found
Warning - route invalid. Ignoring route!
Route::read(): jack port <a2j:TiMidity [128] (playback): TiMidity port 3> not found
Warning - route invalid. Ignoring route!
Route::read(): jack port <a2j:MusE [131] (playback): MusE Port 0> not found
Warning - route invalid. Ignoring route!
Route::read(): jack port <a2j:Midi Through [14] (capture): Midi Through Port-0> not found
Warning - route invalid. Ignoring route!
Route::read(): jack port <a2j:USB Midi Cable [20] (capture): USB Midi Cable MIDI 1> not found
Warning - route invalid. Ignoring route!
Route::read(): jack port <a2j:MusE [131] (capture): MusE Port 0> not found
Warning - route invalid. Ignoring route!
QVariantMap DBusMenuExporterDBus::getProperties(int, const QStringList&) const: Condition failed: action
QVariantMap DBusMenuExporterDBus::getProperties(int, const QStringList&) const: Condition failed: action
QVariantMap DBusMenuExporterDBus::getProperties(int, const QStringList&) const: Condition failed: action
QVariantMap DBusMenuExporterDBus::getProperties(int, const QStringList&) const: Condition failed: action
QVariantMap DBusMenuExporterDBus::getProperties(int, const QStringList&) const: Condition failed: action
QVariantMap DBusMenuExporterDBus::getProperties(int, const QStringList&) const: Condition failed: action
QVariantMap DBusMenuExporterDBus::getProperties(int, const QStringList&) const: Condition failed: action
QVariantMap DBusMenuExporterDBus::getProperties(int, const QStringList&) const: Condition failed: action
QVariantMap DBusMenuExporterDBus::getProperties(int, const QStringList&) const: Condition failed: action
QVariantMap DBusMenuExporterDBus::getProperties(int, const QStringList&) const: Condition failed: action
Segmentation fault


Thanks!


Re: Project crashing MusE when loading - spamatica - 12-30-2013

Hi Justin,

I tried 2.0rc2 and it crashes in a very similar way. But 2.0rc2 is very old, I would urge you to install a recent version, it would fix lots of potential issues.

What distribution did you get this version with? We should probably push them to add a never version.

I can walk you through installing a recent version from source if you are not comfortable with that on your own, for that I need to know what distribution you are using though.
The most recent source from <!-- m --><a class="postlink" href="https://github.com/muse-sequencer/muse/">https://github.com/muse-sequencer/muse/</a><!-- m --> is what I would recommend.

Have a happy new year!
Robert


Re: Project crashing MusE when loading - d-sweaters - 12-30-2013

Okay great, the distro I'm using is ubuntu 12.04.3 LTS. I'd love to build the new version. I've compiled a few programs in the past, but I'm pretty lost as to how to use github. Would you mind giving me a basic walk through?

Thanks so much for all the help on this!


Re: Project crashing MusE when loading - spamatica - 12-30-2013

Okay, I see, at that time Ubuntu had an old version of MusE, they have rectified it in recent versions.

There is a choice (there's always a difficult choice).

1. Install from a third party ubuntu repository, PPA.
this is the recommended way if you want most bang for the buck.
The repository <!-- m --><a class="postlink" href="https://launchpad.net/~kxstudio-team/+archive/ppa">https://launchpad.net/~kxstudio-team/+archive/ppa</a><!-- m -->
Gives you lots of recent audio software including the latest released MusE (2.1.2)
I wish I could wholehartedly recommend this as it should be the final solution but I have to note that I have had some trouble with adding audio software from PPAs. The linux-audio world is probably just a bit on the complex side.

What you need to are the following commands.
Code:
sudo add-apt-repository ppa:kxstudio-team/ppa
sudo apt-get update
sudo apt-get upgrade (which should bring in the new muse version along with new versions of jack etc )

2. Install from source.
This gives you ultimate control and you can install the bleeding edge version of MusE.
Appart from possibly installing a bunch of development tools that you might not need later it should interfere with your current installation very little.
Of the top of my head I think these are the commands needed.

Code:
# To get dependencies for building:
sudo apt-get install build-essential dssi-dev libfluidsynth-dev libsndfile1-dev libsamplerate0-dev uuid-dev libasound2-dev libqt4-dev cmake git

# To get recent source code:
git clone https://github.com/muse-sequencer/muse.git muse_source
cd muse_source/muse2/
./compile_muse.sh
# it should now build everything which takes a while, if there are errors report it back here.
cd build
sudo make install

This build is installed in /usr/local/bin and can coexist with the already installed muse. I recommend uninstalling the muse package to avoid confusion.

So. Try one or the other, or both <!-- sSmile --><img src="{SMILIES_PATH}/icon_e_smile.gif" alt="Smile" title="Smile" /><!-- sSmile -->
Oh, the PPA has another benefit, it is built with support for windows VST(i) plugins so it is actually possible to use some VSTs (not all).

So, all I can think of at the moment. Have fun!


Re: Project crashing MusE when loading - d-sweaters - 12-30-2013

Thanks again Robert, I'll build it from source when I get home from work tonight. I don't want to mess with the repositories or do it that way, since I have everything else in my system working quite well I don't want to break something else, haha. I'll let you know how it goes!
Justin


Re: Project crashing MusE when loading - d-sweaters - 12-31-2013

unfortunately that didn't work. It wouldn't build. Here's the output.

ser@ChrUbuntu:~/muse_source/muse2$ ./compile_muse.sh
Create build dir
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
vst header path: /home/user/muse_source/muse2/vestige
-- Found Git: /usr/bin/git
Unix (probably linux) found
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Found Qt4: /usr/bin/qmake (found suitable version "4.8.1", required is "4.3.0")
-- Looking for ladspa.h
-- Looking for ladspa.h - found
-- checking for module 'alsa>=0.9.0'
-- found alsa, version 1.0.25
-- checking for module 'sndfile>=1.0.0'
-- found sndfile, version 1.0.25
-- checking for module 'samplerate>=0.1.0'
-- found samplerate, version 0.1.8
-- checking for module 'uuid>=0.0.1'
-- found uuid, version 2.20.0
-- checking for module 'jack>=0.103'
-- found jack, version 0.121.2
-- checking for module 'lash-1.0>=0.2'
-- package 'lash-1.0>=0.2' not found
-- checking for module 'liblo>=0.23'
-- package 'liblo>=0.23' not found
-- checking for module 'dssi>=0.9.0'
-- found dssi, version 1.1.1
Native VST support enabled
-- checking for module 'fluidsynth>=0.9.0'
-- found fluidsynth, version 1.1.5


** WARNING: lash (>= 0.2) was enabled, but development files were not found.
** HINT: Don't have LASH? Try installing the LADISH LASH compatibility package instead.
** WARNING: liblo (>= 0.23) (Lightweight Open Sound Control) was enabled, but development files were not found.


The following components will be built:
-----------------------------------------------
DSSI support
Native VST support
Fluidsynth support

The following components WILL NOT be built:
-----------------------------------------------
Lash support
OSC (Liblo) support
Python support
Experimental features

Internal modules will be built as shared components.
Build type: release

-- Configuring done
-- Generating done
-- Build files have been written to: /home/user/muse_source/muse2/build
[ 0%] Generating ../all.h
Scanning dependencies of target al
[ 0%] Building CXX object al/CMakeFiles/al.dir/al.o
[ 0%] Building CXX object al/CMakeFiles/al.dir/dsp.o
[ 0%] Building CXX object al/CMakeFiles/al.dir/sig.o
[ 0%] Building CXX object al/CMakeFiles/al.dir/xml.o
Linking CXX shared library libmuse_al.so
[ 0%] Built target al
[ 0%] Generating moc_volslider.cxx
[ 0%] Generating moc_aslider.cxx
[ 1%] Generating moc_checkbox.cxx
[ 1%] Generating moc_combobox.cxx
[ 1%] Generating moc_drawbar.cxx
[ 1%] Generating moc_floatentry.cxx
[ 1%] Generating moc_knob.cxx
[ 1%] Generating moc_midimeter.cxx
[ 1%] Generating moc_midimslider.cxx
[ 2%] Generating moc_midipanentry.cxx
[ 2%] Generating moc_midipanknob.cxx
[ 2%] Generating moc_midivolentry.cxx
[ 2%] Generating moc_mslider.cxx
[ 2%] Generating moc_panentry.cxx
[ 2%] Generating moc_panknob.cxx
[ 2%] Generating moc_pitchedit.cxx
[ 3%] Generating moc_pitchlabel.cxx
[ 3%] Generating moc_posedit.cxx
[ 3%] Generating moc_sigedit.cxx
[ 3%] Generating moc_sigspinbox.cxx
[ 3%] Generating moc_slider.cxx
[ 3%] Generating moc_tempoedit.cxx
[ 3%] Generating moc_tempolabel.cxx
[ 4%] Generating moc_volentry.cxx
[ 4%] Generating moc_volknob.cxx
Scanning dependencies of target awl
[ 5%] Building CXX object awl/CMakeFiles/awl.dir/aslider.o
[ 5%] Building CXX object awl/CMakeFiles/awl.dir/awl.o
[ 5%] Building CXX object awl/CMakeFiles/awl.dir/checkbox.o
[ 5%] Building CXX object awl/CMakeFiles/awl.dir/combobox.o
[ 5%] Building CXX object awl/CMakeFiles/awl.dir/drawbar.o
[ 5%] Building CXX object awl/CMakeFiles/awl.dir/floatentry.o
[ 6%] Building CXX object awl/CMakeFiles/awl.dir/knob.o
[ 6%] Building CXX object awl/CMakeFiles/awl.dir/midimeter.o
[ 6%] Building CXX object awl/CMakeFiles/awl.dir/midimslider.o
[ 6%] Building CXX object awl/CMakeFiles/awl.dir/midipanentry.o
[ 6%] Building CXX object awl/CMakeFiles/awl.dir/midipanknob.o
[ 6%] Building CXX object awl/CMakeFiles/awl.dir/midivolentry.o
[ 6%] Building CXX object awl/CMakeFiles/awl.dir/mslider.o
[ 7%] Building CXX object awl/CMakeFiles/awl.dir/panentry.o
[ 7%] Building CXX object awl/CMakeFiles/awl.dir/panknob.o
[ 7%] Building CXX object awl/CMakeFiles/awl.dir/pitchedit.o
[ 7%] Building CXX object awl/CMakeFiles/awl.dir/pitchlabel.o
[ 7%] Building CXX object awl/CMakeFiles/awl.dir/posedit.o
[ 7%] Building CXX object awl/CMakeFiles/awl.dir/sigedit.o
[ 7%] Building CXX object awl/CMakeFiles/awl.dir/sigspinbox.o
[ 8%] Building CXX object awl/CMakeFiles/awl.dir/slider.o
[ 8%] Building CXX object awl/CMakeFiles/awl.dir/tempoedit.o
[ 8%] Building CXX object awl/CMakeFiles/awl.dir/tempolabel.o
[ 8%] Building CXX object awl/CMakeFiles/awl.dir/utils.o
[ 8%] Building CXX object awl/CMakeFiles/awl.dir/volentry.o
[ 8%] Building CXX object awl/CMakeFiles/awl.dir/volknob.o
[ 8%] Building CXX object awl/CMakeFiles/awl.dir/volslider.o
[ 9%] Building CXX object awl/CMakeFiles/awl.dir/moc_aslider.o
[ 9%] Building CXX object awl/CMakeFiles/awl.dir/moc_checkbox.o
[ 9%] Building CXX object awl/CMakeFiles/awl.dir/moc_combobox.o
[ 9%] Building CXX object awl/CMakeFiles/awl.dir/moc_drawbar.o
[ 9%] Building CXX object awl/CMakeFiles/awl.dir/moc_floatentry.o
[ 9%] Building CXX object awl/CMakeFiles/awl.dir/moc_knob.o
[ 10%] Building CXX object awl/CMakeFiles/awl.dir/moc_midimeter.o
[ 10%] Building CXX object awl/CMakeFiles/awl.dir/moc_midimslider.o
[ 10%] Building CXX object awl/CMakeFiles/awl.dir/moc_midipanentry.o
[ 10%] Building CXX object awl/CMakeFiles/awl.dir/moc_midipanknob.o
[ 10%] Building CXX object awl/CMakeFiles/awl.dir/moc_midivolentry.o
[ 10%] Building CXX object awl/CMakeFiles/awl.dir/moc_mslider.o
[ 10%] Building CXX object awl/CMakeFiles/awl.dir/moc_panentry.o
[ 11%] Building CXX object awl/CMakeFiles/awl.dir/moc_panknob.o
[ 11%] Building CXX object awl/CMakeFiles/awl.dir/moc_pitchedit.o
[ 11%] Building CXX object awl/CMakeFiles/awl.dir/moc_pitchlabel.o
[ 11%] Building CXX object awl/CMakeFiles/awl.dir/moc_posedit.o
[ 11%] Building CXX object awl/CMakeFiles/awl.dir/moc_sigedit.o
[ 11%] Building CXX object awl/CMakeFiles/awl.dir/moc_sigspinbox.o
[ 11%] Building CXX object awl/CMakeFiles/awl.dir/moc_slider.o
[ 12%] Building CXX object awl/CMakeFiles/awl.dir/moc_tempoedit.o
[ 12%] Building CXX object awl/CMakeFiles/awl.dir/moc_tempolabel.o
[ 12%] Building CXX object awl/CMakeFiles/awl.dir/moc_volentry.o
[ 12%] Building CXX object awl/CMakeFiles/awl.dir/moc_volknob.o
[ 12%] Building CXX object awl/CMakeFiles/awl.dir/moc_volslider.o
Linking CXX shared library libmuse_awl.so
[ 12%] Built target awl
Scanning dependencies of target grepmidi
[ 12%] Building CXX object grepmidi/CMakeFiles/grepmidi.dir/grepmidi.o
/home/user/muse_source/muse2/grepmidi/grepmidi.cpp: In function ‘int grep(FILE*)’:
/home/user/muse_source/muse2/grepmidi/grepmidi.cpp:261:26: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
/home/user/muse_source/muse2/grepmidi/grepmidi.cpp: In function ‘int grepTrack(FILE*, int)’:
/home/user/muse_source/muse2/grepmidi/grepmidi.cpp:134:26: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
Linking CXX executable grepmidi
[ 12%] Built target grepmidi
[ 12%] Generating ../../all-pic.h
Scanning dependencies of target synti
[ 12%] Building CXX object synti/libsynti/CMakeFiles/synti.dir/mess.o
[ 12%] Building CXX object synti/libsynti/CMakeFiles/synti.dir/gui.o
/home/user/muse_source/muse2/synti/libsynti/gui.cpp: In member function ‘void MessGui::writeEvent(const MusECore::MidiPlayEvent&)’:
/home/user/muse_source/muse2/synti/libsynti/gui.cpp:130:29: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result]
/home/user/muse_source/muse2/synti/libsynti/gui.cpp: In member function ‘void MessGui::readMessage()’:
/home/user/muse_source/muse2/synti/libsynti/gui.cpp:70:34: warning: ignoring return value of ‘ssize_t read(int, void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result]
[ 12%] Building CXX object synti/libsynti/CMakeFiles/synti.dir/mono.o
[ 12%] Building CXX object synti/libsynti/CMakeFiles/synti.dir/poly.o
Linking CXX shared library libmuse_synti.so
[ 12%] Built target synti
Scanning dependencies of target icons
[ 12%] Building CXX object muse/CMakeFiles/icons.dir/icons.o
Linking CXX shared library libmuse_icons.so
[ 12%] Built target icons
[ 12%] Generating ui_editinstrumentbase.h
[ 12%] Generating moc_editinstrument.cxx
Scanning dependencies of target instruments
[ 12%] Building CXX object muse/instruments/CMakeFiles/instruments.dir/editinstrument.o
In file included from /home/user/muse_source/muse2/muse/track.h:39:0,
from /home/user/muse_source/muse2/muse/song.h:39,
from /home/user/muse_source/muse2/muse/instruments/editinstrument.cpp:45:
/home/user/muse_source/muse2/muse/ctrl.h:34:29: fatal error: lo/lo_osc_types.h: No such file or directory
compilation terminated.
make[2]: *** [muse/instruments/CMakeFiles/instruments.dir/editinstrument.o] Error 1
make[1]: *** [muse/instruments/CMakeFiles/instruments.dir/all] Error 2
make: *** [all] Error 2
user@ChrUbuntu:~/muse_source/muse2$ cd build
user@ChrUbuntu:~/muse_source/muse2/build$ sudo make install
[ 0%] Built target al
[ 12%] Built target awl
[ 12%] Built target grepmidi
[ 12%] Built target synti
[ 12%] Built target icons
[ 12%] Building CXX object muse/instruments/CMakeFiles/instruments.dir/editinstrument.o
In file included from /home/user/muse_source/muse2/muse/track.h:39:0,
from /home/user/muse_source/muse2/muse/song.h:39,
from /home/user/muse_source/muse2/muse/instruments/editinstrument.cpp:45:
/home/user/muse_source/muse2/muse/ctrl.h:34:29: fatal error: lo/lo_osc_types.h: No such file or directory
compilation terminated.
make[2]: *** [muse/instruments/CMakeFiles/instruments.dir/editinstrument.o] Error 1
make[1]: *** [muse/instruments/CMakeFiles/instruments.dir/all] Error 2
make: *** [all] Error 2


Re: Project crashing MusE when loading - d-sweaters - 12-31-2013

I was able to get the new muse installed using PPA and tried it, but it still crashes when opening that project :\

Here's what the console outputed

user@ChrUbuntu:~$ muse
Config File </home/user/.config/MusE/MusE.cfg>
configuration: unknown tag <drumTrackLabelBg> at line 119
configuration: unknown tag <auxTrackLabelBg> at line 124
Config file might be corrupted. Unknown shortcut: paste_dialog
Config file might be corrupted. Unknown shortcut: open_waveedit
Config file might be corrupted. Unknown shortcut: configure_shortcuts
Config file might be corrupted. Unknown shortcut: paste_as_clone
Config file might be corrupted. Unknown shortcut: paste_as_clone_dialog
LOCALE en_US
Denormal protection enabled.
Trying RTC timer...
fatal error: open /dev/rtc failed: Permission denied
hint: check if 'rtc' kernel module is loaded, or used by something else
Trying ALSA timer...
AlsaTimer::initTimer(): best available ALSA timer: system timer
got timer = 79
Aquired timer frequency: 1000
JACK: buffersize changed 256
starting with template /usr/share/muse/templates/default.med
JACK: buffersize changed 256
unknown NRT Msg 0x01
dump 4
7e 7f 09 01
Setting project path to /home/user/MusE
synthi type:1 class:fluid label:fluid not found
Route::read(): track <fluid-0> not found
Warning - route invalid. Ignoring route!
Route::read(): jack port <a2j:MusE [131] (playback): MusE Port 0> not found
Warning - route invalid. Ignoring route!
Route::read(): jack port <a2j:MusE [131] (capture): MusE Port 0> not found
Warning - route invalid. Ignoring route!
Arranger: unknown tag <list> at line 9241
QVariantMap DBusMenuExporterDBus::getProperties(int, const QStringList&) const: Condition failed: action
QVariantMap DBusMenuExporterDBus::getProperties(int, const QStringList&) const: Condition failed: action
QVariantMap DBusMenuExporterDBus::getProperties(int, const QStringList&) const: Condition failed: action
QVariantMap DBusMenuExporterDBus::getProperties(int, const QStringList&) const: Condition failed: action
QVariantMap DBusMenuExporterDBus::getProperties(int, const QStringList&) const: Condition failed: action
QVariantMap DBusMenuExporterDBus::getProperties(int, const QStringList&) const: Condition failed: action
QVariantMap DBusMenuExporterDBus::getProperties(int, const QStringList&) const: Condition failed: action
QVariantMap DBusMenuExporterDBus::getProperties(int, const QStringList&) const: Condition failed: action
QVariantMap DBusMenuExporterDBus::getProperties(int, const QStringList&) const: Condition failed: action
QVariantMap DBusMenuExporterDBus::getProperties(int, const QStringList&) const: Condition failed: action
JACK: buffersize changed 256
Segmentation fault

I'm stumpped :\


Re: Project crashing MusE when loading - spamatica - 12-31-2013

Hi Justin,

I'm sorry, seems I didn't look closely enough at the problem.. that it worked on my system originally made me draw the wrong conclusion.
It seems the issue was pretty much the same as last time.. a route in the song file that for some reason I can't understand had connected midi to an audio track.

I've attached a fixed version.

Though since your muse version was so old I definitely don't think your efforts were in vain. I'm still very much hoping this error was caused by a bug that no longer exist.

---
The PPA was working so that is good and all.

For the source build it seems I forgot (alteast) one dependency
sudo apt-get install liblo-dev

if you wish to try again, install that and run the compile script again

And have a happy new year!
Robert


Re: Project crashing MusE when loading - d-sweaters - 01-03-2014

Yep, that fixed it. Thanks for doing that again! Do you mind telling me exactly where the problem was so if it happens again I can know what to look for in the XML?

Thanks,

Justin


Re: Project crashing MusE when loading - spamatica - 01-04-2014

Hi Justin,

Below is the diff between the file I sent you and the original:
Code:
ddskrjo@faeroe:~/Downloads$ diff vamp.med vamp_fixed.med
9129,9132d9128
<       <source mport="0"/>
<       <dest name="Track 1"/>
<       </Route>
<     <Route channelMask="65535">
9137,9140d9132
<       <source mport="1"/>
<       <dest name="Track 1"/>
<       </Route>
<     <Route channelMask="65535">
9145,9148d9136
<       <source mport="2"/>
<       <dest name="Track 1"/>
<       </Route>
<     <Route channelMask="65535">
9153,9156d9140
<       <source mport="3"/>
<       <dest name="Track 1"/>
<       </Route>
<     <Route channelMask="65535">
9161,9164d9144
<       <source mport="4"/>
<       <dest name="Track 1"/>
<       </Route>
<     <Route channelMask="65535">
9169,9172d9148
<       <source mport="5"/>
<       <dest name="Track 1"/>
<       </Route>
<     <Route channelMask="65535">
9177,9180d9152
<       <source mport="6"/>
<       <dest name="Track 1"/>
<       </Route>
<     <Route channelMask="65535">
9185,9188d9156
<       <source mport="7"/>
<       <dest name="Track 1"/>
<       </Route>
<     <Route channelMask="65535">
9193,9196d9160
<       <source mport="8"/>
<       <dest name="Track 1"/>
<       </Route>
<     <Route channelMask="65535">
9199,9202d9162
<       </Route>
<     <Route channelMask="65535">
<       <source mport="9"/>
<       <dest name="Track 1"/>

I found that Track 1 was an audio track and all the <route></route> bits I removed had to do with connecting midi (mport)