diff options
author | Florian Jung <flo@windfisch.org> | 2011-05-16 11:34:53 +0000 |
---|---|---|
committer | Florian Jung <flo@windfisch.org> | 2011-05-16 11:34:53 +0000 |
commit | 4e1ca61b03bab50d5e71e6da433503ac3b4470c0 (patch) | |
tree | 4c002df0f12f916b8a30a5e115ea8fbd80c15480 | |
parent | c7d22c133d2d9a5e8494d0285af10da6a6dff9d9 (diff) |
fixed saving window state
dialogs now also save and restore their state
templates were updated and have now sane defaults for toolbars etc.
35 files changed, 2728 insertions, 1216 deletions
diff --git a/muse2/muse/conf.cpp b/muse2/muse/conf.cpp index 2f391445..e7eef503 100644 --- a/muse2/muse/conf.cpp +++ b/muse2/muse/conf.cpp @@ -14,6 +14,7 @@ #include "transport.h" #include "icons.h" #include "globals.h" +#include "functions.h" #include "drumedit.h" #include "pianoroll.h" #include "scoreedit.h" @@ -891,6 +892,8 @@ void readConfiguration(Xml& xml, bool readOnlySequencer) MasterEdit::readConfiguration(xml); else if (tag == "waveedit") WaveEdit::readConfiguration(xml); + else if (tag == "dialogs") + read_function_dialog_config(xml); else if (tag == "shortcuts") readShortCuts(xml); else if (tag == "division") @@ -1360,6 +1363,8 @@ void MusE::writeGlobalConfiguration(int level, Xml& xml) const ScoreEdit::write_configuration(level, xml); MasterEdit::writeConfiguration(level, xml); WaveEdit::writeConfiguration(level, xml); + + write_function_dialog_config(level, xml); writeShortCuts(level, xml); xml.etag(level, "configuration"); @@ -1475,6 +1480,8 @@ void MusE::writeConfiguration(int level, Xml& xml) const ScoreEdit::write_configuration(level, xml); MasterEdit::writeConfiguration(level, xml); WaveEdit::writeConfiguration(level, xml); + + write_function_dialog_config(level, xml); writeMidiTransforms(level, xml); writeMidiInputTransforms(level, xml); diff --git a/muse2/muse/functions.cpp b/muse2/muse/functions.cpp index 65369b98..e14f32b8 100644 --- a/muse2/muse/functions.cpp +++ b/muse2/muse/functions.cpp @@ -436,3 +436,70 @@ void delete_overlaps(const set<Part*>& parts, int range) if (undo_started) song->endUndo(SC_EVENT_MODIFIED); } } + + + +void read_function_dialog_config(Xml& xml) +{ + if (erase_dialog==NULL) + { + cout << "ERROR: THIS SHOULD NEVER HAPPEN: read_function_dialog_config() called, but\n" + " dialogs are still uninitalized (NULL)!"<<endl; + return; + } + + for (;;) + { + Xml::Token token = xml.parse(); + if (token == Xml::Error || token == Xml::End) + break; + + const QString& tag = xml.s1(); + switch (token) + { + case Xml::TagStart: + if (tag == "mod_len") + gatetime_dialog->read_configuration(xml); + else if (tag == "mod_velo") + velocity_dialog->read_configuration(xml); + else if (tag == "quantize") + quantize_dialog->read_configuration(xml); + else if (tag == "erase") + erase_dialog->read_configuration(xml); + else if (tag == "del_overlaps") + del_overlaps_dialog->read_configuration(xml); + else if (tag == "setlen") + set_notelen_dialog->read_configuration(xml); + else if (tag == "move") + move_notes_dialog->read_configuration(xml); + else if (tag == "transpose") + transpose_dialog->read_configuration(xml); + else + xml.unknown("function_dialogs"); + break; + + case Xml::TagEnd: + if (tag == "dialogs") + return; + + default: + break; + } + } +} + +void write_function_dialog_config(int level, Xml& xml) +{ + xml.tag(level++, "dialogs"); + + gatetime_dialog->write_configuration(level, xml); + velocity_dialog->write_configuration(level, xml); + quantize_dialog->write_configuration(level, xml); + erase_dialog->write_configuration(level, xml); + del_overlaps_dialog->write_configuration(level, xml); + set_notelen_dialog->write_configuration(level, xml); + move_notes_dialog->write_configuration(level, xml); + transpose_dialog->write_configuration(level, xml); + + xml.tag(level, "/dialogs"); +} diff --git a/muse2/muse/functions.h b/muse2/muse/functions.h index afd5b559..14797a15 100644 --- a/muse2/muse/functions.h +++ b/muse2/muse/functions.h @@ -57,4 +57,11 @@ bool transpose_notes(const std::set<Part*>& parts); bool erase_notes(const std::set<Part*>& parts); bool delete_overlaps(const std::set<Part*>& parts); + + +//functions for reading and writing default values +class Xml; +void read_function_dialog_config(Xml& xml); +void write_function_dialog_config(int level, Xml& xml); + #endif diff --git a/muse2/muse/main.cpp b/muse2/muse/main.cpp index 6481f4cb..192c0bd3 100644 --- a/muse2/muse/main.cpp +++ b/muse2/muse/main.cpp @@ -254,6 +254,7 @@ int main(int argc, char* argv[]) QApplication::setColorSpec(QApplication::ManyColor); MuseApplication app(argc, argv); + init_function_dialogs(muse); initShortCuts(); readConfiguration(); @@ -471,8 +472,6 @@ int main(int argc, char* argv[]) muse = new MusE(argc, &argv[optind]); app.setMuse(muse); muse->setWindowIcon(*museIcon); - - init_function_dialogs(muse); // Added by Tim. p3.3.22 diff --git a/muse2/muse/master/masteredit.cpp b/muse2/muse/master/masteredit.cpp index fd7000dd..9053f3a8 100644 --- a/muse2/muse/master/masteredit.cpp +++ b/muse2/muse/master/masteredit.cpp @@ -427,11 +427,9 @@ void MasterEdit::setTempo(int val) void MasterEdit::resizeEvent(QResizeEvent* ev) { QWidget::resizeEvent(ev); - _widthInit = ev->size().width(); - _heightInit = ev->size().height(); + storeInitialState(); } - //--------------------------------------------------------- // focusOutEvent //--------------------------------------------------------- @@ -439,5 +437,17 @@ void MasterEdit::resizeEvent(QResizeEvent* ev) void MasterEdit::focusOutEvent(QFocusEvent* ev) { QWidget::focusOutEvent(ev); + storeInitialState(); + } + + +//--------------------------------------------------------- +// storeInitialState +//--------------------------------------------------------- + +void MasterEdit::storeInitialState() + { + _widthInit = width(); + _heightInit = height(); _toolbarInit=saveState(); } diff --git a/muse2/muse/master/masteredit.h b/muse2/muse/master/masteredit.h index 5abcfc8d..59a5ab05 100644 --- a/muse2/muse/master/masteredit.h +++ b/muse2/muse/master/masteredit.h @@ -66,6 +66,7 @@ class MasterEdit : public MidiEditor { virtual void closeEvent(QCloseEvent*); virtual void resizeEvent(QResizeEvent*); virtual void focusOutEvent(QFocusEvent*); + void storeInitialState(); private slots: void _setRaster(int); diff --git a/muse2/muse/midiedit/drumedit.cpp b/muse2/muse/midiedit/drumedit.cpp index b762d776..b5ff9447 100644 --- a/muse2/muse/midiedit/drumedit.cpp +++ b/muse2/muse/midiedit/drumedit.cpp @@ -1023,9 +1023,7 @@ void DrumEdit::newCanvasWidth(int w) void DrumEdit::resizeEvent(QResizeEvent* ev) { QWidget::resizeEvent(ev); - _widthInit = ev->size().width(); - _heightInit = ev->size().height(); - + storeInitialState(); //TODO: Make the dlist not expand/shrink, but the canvas instead } @@ -1036,9 +1034,21 @@ void DrumEdit::resizeEvent(QResizeEvent* ev) void DrumEdit::focusOutEvent(QFocusEvent* ev) { QWidget::focusOutEvent(ev); + storeInitialState(); + } + +//--------------------------------------------------------- +// storeInitialState +//--------------------------------------------------------- + +void DrumEdit::storeInitialState() + { + _widthInit = width(); + _heightInit = height(); _toolbarInit=saveState(); } + //--------------------------------------------------------- // configChanged //--------------------------------------------------------- diff --git a/muse2/muse/midiedit/drumedit.h b/muse2/muse/midiedit/drumedit.h index ab6c6cb3..242ec963 100644 --- a/muse2/muse/midiedit/drumedit.h +++ b/muse2/muse/midiedit/drumedit.h @@ -84,9 +84,12 @@ class DrumEdit : public MidiEditor { virtual void closeEvent(QCloseEvent*); QWidget* genToolbar(QWidget* parent); + virtual void keyPressEvent(QKeyEvent*); + virtual void resizeEvent(QResizeEvent*); virtual void focusOutEvent(QFocusEvent*); - virtual void keyPressEvent(QKeyEvent*); + void storeInitialState(); + void setHeaderToolTips(); void setHeaderWhatsThis(); diff --git a/muse2/muse/midiedit/pianoroll.cpp b/muse2/muse/midiedit/pianoroll.cpp index 02fe7f5d..2a2bad5b 100644 --- a/muse2/muse/midiedit/pianoroll.cpp +++ b/muse2/muse/midiedit/pianoroll.cpp @@ -1191,8 +1191,7 @@ void PianoRoll::setSpeaker(bool val) void PianoRoll::resizeEvent(QResizeEvent* ev) { QWidget::resizeEvent(ev); - _widthInit = ev->size().width(); - _heightInit = ev->size().height(); + storeInitialState(); } @@ -1203,6 +1202,18 @@ void PianoRoll::resizeEvent(QResizeEvent* ev) void PianoRoll::focusOutEvent(QFocusEvent* ev) { QWidget::focusOutEvent(ev); + storeInitialState(); + } + + +//--------------------------------------------------------- +// storeInitialState +//--------------------------------------------------------- + +void PianoRoll::storeInitialState() + { + _widthInit = width(); + _heightInit = height(); _toolbarInit=saveState(); } diff --git a/muse2/muse/midiedit/pianoroll.h b/muse2/muse/midiedit/pianoroll.h index 6090e34f..e157db10 100644 --- a/muse2/muse/midiedit/pianoroll.h +++ b/muse2/muse/midiedit/pianoroll.h @@ -132,6 +132,7 @@ class PianoRoll : public MidiEditor { virtual void keyPressEvent(QKeyEvent*); virtual void resizeEvent(QResizeEvent*); virtual void focusOutEvent(QFocusEvent*); + void storeInitialState(); private slots: void setSelection(int, Event&, Part*); diff --git a/muse2/muse/midiedit/scoreedit.cpp b/muse2/muse/midiedit/scoreedit.cpp index 31203396..0b4111cd 100644 --- a/muse2/muse/midiedit/scoreedit.cpp +++ b/muse2/muse/midiedit/scoreedit.cpp @@ -358,12 +358,6 @@ ScoreEdit::ScoreEdit(QWidget* parent, const char* name, unsigned initPos) init_name(); } -void ScoreEdit::focusOutEvent(QFocusEvent* ev) -{ - default_toolbar_state=saveState(); - QMainWindow::focusOutEvent(ev); -} - void ScoreEdit::add_parts(PartList* pl, bool all_in_one) { score_canvas->add_staves(pl, all_in_one); @@ -470,8 +464,21 @@ void ScoreEdit::resizeEvent(QResizeEvent* ev) { QWidget::resizeEvent(ev); - width_init=ev->size().width(); - height_init=ev->size().height(); + store_initial_state(); +} + +void ScoreEdit::focusOutEvent(QFocusEvent* ev) +{ + QMainWindow::focusOutEvent(ev); + + store_initial_state(); +} + +void ScoreEdit::store_initial_state() +{ + width_init=width(); + height_init=height(); + default_toolbar_state=saveState(); } void ScoreEdit::menu_command(int cmd) diff --git a/muse2/muse/midiedit/scoreedit.h b/muse2/muse/midiedit/scoreedit.h index cfe6f34e..91d399e6 100644 --- a/muse2/muse/midiedit/scoreedit.h +++ b/muse2/muse/midiedit/scoreedit.h @@ -75,6 +75,8 @@ class ScoreEdit : public TopWin virtual void resizeEvent(QResizeEvent*); virtual void focusOutEvent(QFocusEvent*); + void store_initial_state(); + void init_name(); QGridLayout* mainGrid; diff --git a/muse2/muse/waveedit/waveedit.cpp b/muse2/muse/waveedit/waveedit.cpp index f2d936f4..99dfd5f1 100644 --- a/muse2/muse/waveedit/waveedit.cpp +++ b/muse2/muse/waveedit/waveedit.cpp @@ -443,8 +443,7 @@ void WaveEdit::readStatus(Xml& xml) void WaveEdit::resizeEvent(QResizeEvent* ev) { QWidget::resizeEvent(ev); - _widthInit = ev->size().width(); - _heightInit = ev->size().height(); + storeInitialState(); } //--------------------------------------------------------- @@ -454,6 +453,18 @@ void WaveEdit::resizeEvent(QResizeEvent* ev) void WaveEdit::focusOutEvent(QFocusEvent* ev) { QWidget::focusOutEvent(ev); + storeInitialState(); + } + + +//--------------------------------------------------------- +// storeInitialState +//--------------------------------------------------------- + +void WaveEdit::storeInitialState() + { + _widthInit = width(); + _heightInit = height(); _toolbarInit=saveState(); } diff --git a/muse2/muse/waveedit/waveedit.h b/muse2/muse/waveedit/waveedit.h index 921b314c..5c06d37f 100644 --- a/muse2/muse/waveedit/waveedit.h +++ b/muse2/muse/waveedit/waveedit.h @@ -51,9 +51,10 @@ class WaveEdit : public MidiEditor { Q_OBJECT virtual void closeEvent(QCloseEvent*); - virtual void resizeEvent(QResizeEvent* ev); virtual void keyPressEvent(QKeyEvent*); + virtual void resizeEvent(QResizeEvent* ev); virtual void focusOutEvent(QFocusEvent*); + void storeInitialState(); QMenu* menuFunctions, *select, *menuGain; diff --git a/muse2/muse/widgets/deloverlaps.cpp b/muse2/muse/widgets/deloverlaps.cpp index ed4fab83..76103d74 100644 --- a/muse2/muse/widgets/deloverlaps.cpp +++ b/muse2/muse/widgets/deloverlaps.cpp @@ -7,6 +7,7 @@ #include <QButtonGroup> #include "deloverlaps.h" +#include "xml.h" DelOverlaps::DelOverlaps(QWidget* parent) @@ -42,3 +43,37 @@ int DelOverlaps::exec() return QDialog::exec(); } +void DelOverlaps::read_configuration(Xml& xml) +{ + for (;;) + { + Xml::Token token = xml.parse(); + if (token == Xml::Error || token == Xml::End) + break; + + const QString& tag = xml.s1(); + switch (token) + { + case Xml::TagStart: + if (tag == "range") + range=xml.parseInt(); + else + xml.unknown("DelOverlaps"); + break; + + case Xml::TagEnd: + if (tag == "del_overlaps") + return; + + default: + break; + } + } +} + +void DelOverlaps::write_configuration(int level, Xml& xml) +{ + xml.tag(level++, "del_overlaps"); + xml.intTag(level, "range", range); + xml.tag(level, "/del_overlaps"); +} diff --git a/muse2/muse/widgets/deloverlaps.h b/muse2/muse/widgets/deloverlaps.h index cb0cebe6..813192a6 100644 --- a/muse2/muse/widgets/deloverlaps.h +++ b/muse2/muse/widgets/deloverlaps.h @@ -11,6 +11,7 @@ #include "ui_deloverlapsbase.h" class QButtonGroup; +class Xml; class DelOverlaps : public QDialog, public Ui::DelOverlapsBase { @@ -27,6 +28,9 @@ class DelOverlaps : public QDialog, public Ui::DelOverlapsBase int range; + void read_configuration(Xml& xml); + void write_configuration(int level, Xml& xml); + public slots: int exec(); }; diff --git a/muse2/muse/widgets/gatetime.cpp b/muse2/muse/widgets/gatetime.cpp index c64411a0..9448ab1c 100644 --- a/muse2/muse/widgets/gatetime.cpp +++ b/muse2/muse/widgets/gatetime.cpp @@ -10,6 +10,7 @@ #include "gatetime.h" +#include "xml.h" #include "song.h" //--------------------------------------------------------- @@ -63,3 +64,45 @@ int GateTime::exec() return QDialog::exec(); } + + +void GateTime::read_configuration(Xml& xml) +{ + for (;;) + { + Xml::Token token = xml.parse(); + if (token == Xml::Error || token == Xml::End) + break; + + const QString& tag = xml.s1(); + switch (token) + { + case Xml::TagStart: + if (tag == "range") + range=xml.parseInt(); + else if (tag == "rate") + rateVal=xml.parseInt(); + else if (tag == "offset") + offsetVal=xml.parseInt(); + else + xml.unknown("ModLen"); + break; + + case Xml::TagEnd: + if (tag == "mod_len") + return; + + default: + break; + } + } +} + +void GateTime::write_configuration(int level, Xml& xml) +{ + xml.tag(level++, "mod_len"); + xml.intTag(level, "range", range); + xml.intTag(level, "offset", offsetVal); + xml.intTag(level, "rate", rateVal); + xml.tag(level, "/mod_len"); +} diff --git a/muse2/muse/widgets/gatetime.h b/muse2/muse/widgets/gatetime.h index 5585d6ad..d2555872 100644 --- a/muse2/muse/widgets/gatetime.h +++ b/muse2/muse/widgets/gatetime.h @@ -12,6 +12,7 @@ class QButtonGroup; class QDialog; +class Xml; //--------------------------------------------------------- // GateTime @@ -34,6 +35,10 @@ class GateTime : public QDialog, public Ui::GateTimeBase { int rateVal; int offsetVal; + void read_configuration(Xml& xml); + void write_configuration(int level, Xml& xml); + + public slots: int exec(); }; diff --git a/muse2/muse/widgets/move.cpp b/muse2/muse/widgets/move.cpp index 116325c3..2ce6cb05 100644 --- a/muse2/muse/widgets/move.cpp +++ b/muse2/muse/widgets/move.cpp @@ -7,7 +7,7 @@ #include <QButtonGroup> #include "move.h" - +#include "xml.h" Move::Move(QWidget* parent) : QDialog(parent) @@ -44,3 +44,41 @@ int Move::exec() return QDialog::exec(); } + +void Move::read_configuration(Xml& xml) +{ + for (;;) + { + Xml::Token token = xml.parse(); + if (token == Xml::Error || token == Xml::End) + break; + + const QString& tag = xml.s1(); + switch (token) + { + case Xml::TagStart: + if (tag == "range") + range=xml.parseInt(); + else if (tag == "amount") + amount=xml.parseInt(); + else + xml.unknown("Move"); + break; + + case Xml::TagEnd: + if (tag == "move") + return; + + default: + break; + } + } +} + +void Move::write_configuration(int level, Xml& xml) +{ + xml.tag(level++, "move"); + xml.intTag(level, "range", range); + xml.intTag(level, "amount", amount); + xml.tag(level, "/move"); +} diff --git a/muse2/muse/widgets/move.h b/muse2/muse/widgets/move.h index a69a72c5..4c90a922 100644 --- a/muse2/muse/widgets/move.h +++ b/muse2/muse/widgets/move.h @@ -11,6 +11,7 @@ #include "ui_movebase.h" class QButtonGroup; +class Xml; class Move : public QDialog, public Ui::MoveBase { @@ -28,6 +29,10 @@ class Move : public QDialog, public Ui::MoveBase int range; int amount; + void read_configuration(Xml& xml); + void write_configuration(int level, Xml& xml); + + public slots: int exec(); }; diff --git a/muse2/muse/widgets/quantize.cpp b/muse2/muse/widgets/quantize.cpp index 734f3d5d..111087c2 100644 --- a/muse2/muse/widgets/quantize.cpp +++ b/muse2/muse/widgets/quantize.cpp @@ -7,7 +7,7 @@ #include <QButtonGroup> #include "quantize.h" - +#include "xml.h" Quantize::Quantize(QWidget* parent) : QDialog(parent) @@ -52,3 +52,52 @@ int Quantize::exec() return QDialog::exec(); } +void Quantize::read_configuration(Xml& xml) +{ + for (;;) + { + Xml::Token token = xml.parse(); + if (token == Xml::Error || token == Xml::End) + break; + + const QString& tag = xml.s1(); + switch (token) + { + case Xml::TagStart: + if (tag == "range") + range=xml.parseInt(); + else if (tag == "strength") + strength=xml.parseInt(); + else if (tag == "threshold") + threshold=xml.parseInt(); + else if (tag == "raster") + raster_power2=xml.parseInt(); + else if (tag == "swing") + swing=xml.parseInt(); + else if (tag == "quant_len") + quant_len=xml.parseInt(); + else + xml.unknown("Quantize"); + break; + + case Xml::TagEnd: + if (tag == "quantize") + return; + + default: + break; + } + } +} + +void Quantize::write_configuration(int level, Xml& xml) +{ + xml.tag(level++, "quantize"); + xml.intTag(level, "range", range); + xml.intTag(level, "strength", strength); + xml.intTag(level, "threshold", threshold); + xml.intTag(level, "raster", raster_power2); + xml.intTag(level, "swing", swing); + xml.intTag(level, "quant_len", quant_len); + xml.tag(level, "/quantize"); +} diff --git a/muse2/muse/widgets/quantize.h b/muse2/muse/widgets/quantize.h index 3f54bc09..399e2545 100644 --- a/muse2/muse/widgets/quantize.h +++ b/muse2/muse/widgets/quantize.h @@ -11,6 +11,7 @@ #include "ui_quantbase.h" class QButtonGroup; +class Xml; class Quantize : public QDialog, public Ui::QuantBase { @@ -32,6 +33,10 @@ class Quantize : public QDialog, public Ui::QuantBase int swing; bool quant_len; + void read_configuration(Xml& xml); + void write_configuration(int level, Xml& xml); + + public slots: int exec(); }; diff --git a/muse2/muse/widgets/remove.cpp b/muse2/muse/widgets/remove.cpp index cb75aa21..5ad272ab 100644 --- a/muse2/muse/widgets/remove.cpp +++ b/muse2/muse/widgets/remove.cpp @@ -7,7 +7,7 @@ #include <QButtonGroup> #include "remove.h" - +#include "xml.h" Remove::Remove(QWidget* parent) : QDialog(parent) @@ -42,3 +42,37 @@ int Remove::exec() return QDialog::exec(); } +void Remove::read_configuration(Xml& xml) +{ + for (;;) + { + Xml::Token token = xml.parse(); + if (token == Xml::Error || token == Xml::End) + break; + + const QString& tag = xml.s1(); + switch (token) + { + case Xml::TagStart: + if (tag == "range") + range=xml.parseInt(); + else + xml.unknown("Erase"); + break; + + case Xml::TagEnd: + if (tag == "erase") + return; + + default: + break; + } + } +} + +void Remove::write_configuration(int level, Xml& xml) +{ + xml.tag(level++, "erase"); + xml.intTag(level, "range", range); + xml.tag(level, "/erase"); +} diff --git a/muse2/muse/widgets/remove.h b/muse2/muse/widgets/remove.h index 7b749142..5615ed42 100644 --- a/muse2/muse/widgets/remove.h +++ b/muse2/muse/widgets/remove.h @@ -11,6 +11,7 @@ #include "ui_removebase.h" class QButtonGroup; +class Xml; class Remove : public QDialog, public Ui::RemoveBase { @@ -27,6 +28,10 @@ class Remove : public QDialog, public Ui::RemoveBase int range; + void read_configuration(Xml& xml); + void write_configuration(int level, Xml& xml); + + public slots: int exec(); }; diff --git a/muse2/muse/widgets/setlen.cpp b/muse2/muse/widgets/setlen.cpp index a1de875a..024cdd35 100644 --- a/muse2/muse/widgets/setlen.cpp +++ b/muse2/muse/widgets/setlen.cpp @@ -7,7 +7,7 @@ #include <QButtonGroup> #include "setlen.h" - +#include "xml.h" Setlen::Setlen(QWidget* parent) : QDialog(parent) @@ -44,3 +44,40 @@ int Setlen::exec() return QDialog::exec(); } +void Setlen::read_configuration(Xml& xml) +{ + for (;;) + { + Xml::Token token = xml.parse(); + if (token == Xml::Error || token == Xml::End) + break; + + const QString& tag = xml.s1(); + switch (token) + { + case Xml::TagStart: + if (tag == "range") + range=xml.parseInt(); + else if (tag == "len") + len=xml.parseInt(); + else + xml.unknown("SetLen"); + break; + + case Xml::TagEnd: + if (tag == "setlen") + return; + + default: + break; + } + } +} + +void Setlen::write_configuration(int level, Xml& xml) +{ + xml.tag(level++, "setlen"); + xml.intTag(level, "range", range); + xml.intTag(level, "len", len); + xml.tag(level, "/setlen"); +} diff --git a/muse2/muse/widgets/setlen.h b/muse2/muse/widgets/setlen.h index 7dc54eb6..ad66a38b 100644 --- a/muse2/muse/widgets/setlen.h +++ b/muse2/muse/widgets/setlen.h @@ -11,6 +11,7 @@ #include "ui_setlenbase.h" class QButtonGroup; +class Xml; class Setlen : public QDialog, public Ui::SetlenBase { @@ -28,6 +29,10 @@ class Setlen : public QDialog, public Ui::SetlenBase int range; int len; + void read_configuration(Xml& xml); + void write_configuration(int level, Xml& xml); + + public slots: int exec(); }; diff --git a/muse2/muse/widgets/transpose.cpp b/muse2/muse/widgets/transpose.cpp index 66411829..b10c1249 100644 --- a/muse2/muse/widgets/transpose.cpp +++ b/muse2/muse/widgets/transpose.cpp @@ -7,7 +7,7 @@ #include <QButtonGroup> #include "transpose.h" - +#include "xml.h" Transpose::Transpose(QWidget* parent) : QDialog(parent) @@ -44,3 +44,40 @@ int Transpose::exec() return QDialog::exec(); } +void Transpose::read_configuration(Xml& xml) +{ + for (;;) + { + Xml::Token token = xml.parse(); + if (token == Xml::Error || token == Xml::End) + break; + + const QString& tag = xml.s1(); + switch (token) + { + case Xml::TagStart: + if (tag == "range") + range=xml.parseInt(); + else if (tag == "amount") + amount=xml.parseInt(); + else + xml.unknown("Transpose"); + break; + + case Xml::TagEnd: + if (tag == "transpose") + return; + + default: + break; + } + } +} + +void Transpose::write_configuration(int level, Xml& xml) +{ + xml.tag(level++, "transpose"); + xml.intTag(level, "range", range); + xml.intTag(level, "amount", amount); + xml.tag(level, "/transpose"); +} diff --git a/muse2/muse/widgets/transpose.h b/muse2/muse/widgets/transpose.h index 1ade8766..97dd443e 100644 --- a/muse2/muse/widgets/transpose.h +++ b/muse2/muse/widgets/transpose.h @@ -11,6 +11,7 @@ #include "ui_transposebase.h" class QButtonGroup; +class Xml; class Transpose : public QDialog, public Ui::TransposeBase { @@ -28,6 +29,10 @@ class Transpose : public QDialog, public Ui::TransposeBase int range; int amount; + void read_configuration(Xml& xml); + void write_configuration(int level, Xml& xml); + + public slots: int exec(); }; diff --git a/muse2/muse/widgets/velocity.cpp b/muse2/muse/widgets/velocity.cpp index ad9bbfe4..ec625489 100644 --- a/muse2/muse/widgets/velocity.cpp +++ b/muse2/muse/widgets/velocity.cpp @@ -7,6 +7,7 @@ #include <QButtonGroup> #include "velocity.h" +#include "xml.h" //--------------------------------------------------------- // Velocity @@ -58,3 +59,44 @@ int Velocity::exec() return QDialog::exec(); } + +void Velocity::read_configuration(Xml& xml) +{ + for (;;) + { + Xml::Token token = xml.parse(); + if (token == Xml::Error || token == Xml::End) + break; + + const QString& tag = xml.s1(); + switch (token) + { + case Xml::TagStart: + if (tag == "range") + range=xml.parseInt(); + else if (tag == "rate") + rateVal=xml.parseInt(); + else if (tag == "offset") + offsetVal=xml.parseInt(); + else + xml.unknown("ModVelo"); + break; + + case Xml::TagEnd: + if (tag == "mod_velo") + return; + + default: + break; + } + } +} + +void Velocity::write_configuration(int level, Xml& xml) +{ + xml.tag(level++, "mod_velo"); + xml.intTag(level, "range", range); + xml.intTag(level, "offset", offsetVal); + xml.intTag(level, "rate", rateVal); + xml.tag(level, "/mod_velo"); +} diff --git a/muse2/muse/widgets/velocity.h b/muse2/muse/widgets/velocity.h index 448b3e5b..cbea4e22 100644 --- a/muse2/muse/widgets/velocity.h +++ b/muse2/muse/widgets/velocity.h @@ -11,6 +11,7 @@ #include "ui_velocitybase.h" class QButtonGroup; +class Xml; //--------------------------------------------------------- // Velocity @@ -32,6 +33,10 @@ class Velocity : public QDialog, public Ui::VelocityBase { int rateVal; int offsetVal; + void read_configuration(Xml& xml); + void write_configuration(int level, Xml& xml); + + public slots: int exec(); }; diff --git a/muse2/share/templates/audio.med b/muse2/share/templates/audio.med index 9b8e1d93..14cd9c47 100644 --- a/muse2/share/templates/audio.med +++ b/muse2/share/templates/audio.med @@ -9,27 +9,31 @@ <midiFilterCtrl2>0</midiFilterCtrl2> <midiFilterCtrl3>0</midiFilterCtrl3> <midiFilterCtrl4>0</midiFilterCtrl4> - <txDeviceId>127</txDeviceId> - <rxDeviceId>127</rxDeviceId> - <txSyncPort>1</txSyncPort> - <rxSyncPort>-1</rxSyncPort> + <waveTracksVisible>1</waveTracksVisible> + <auxTracksVisible>1</auxTracksVisible> + <groupTracksVisible>1</groupTracksVisible> + <midiTracksVisible>1</midiTracksVisible> + <inputTracksVisible>1</inputTracksVisible> + <outputTracksVisible>1</outputTracksVisible> + <synthTracksVisible>1</synthTracksVisible> <mtctype>1</mtctype> <mtcoffset>00:00:00:00:00</mtcoffset> + <sendClockDelay>1</sendClockDelay> + <useJackTransport>1</useJackTransport> + <jackTransportMaster>1</jackTransportMaster> <extSync>0</extSync> - <genMTCSync>0</genMTCSync> - <genMCSync>0</genMCSync> - <genMMC>0</genMMC> - <acceptMTC>0</acceptMTC> - <acceptMMC>1</acceptMMC> - <acceptMC>1</acceptMC> <bigtimeVisible>0</bigtimeVisible> <transportVisible>0</transportVisible> - <mixerVisible>0</mixerVisible> + <markerVisible>0</markerVisible> + <geometryMain x="0" y="0" w="878" h="468"></geometryMain> + <geometryTransport x="0" y="0" w="100" h="30"></geometryTransport> + <mixer1Visible>0</mixer1Visible> + <mixer2Visible>0</mixer2Visible> <arranger> <info>1</info> - <split>298 764 </split> + <split>298 298 </split> <list> - <header> 7 6 5 4 3 2 1 0 </header> + <header> 7 6 5 4 3 2 1 0 8 </header> </list> <xpos>0</xpos> <xmag>266</xmag> @@ -44,50 +48,323 @@ <beatvelo>70</beatvelo> <channel>9</channel> <port>0</port> - <precountEnable>1</precountEnable> - <fromMastertrack>1</fromMastertrack> + <precountEnable>0</precountEnable> + <fromMastertrack>0</fromMastertrack> <signatureZ>4</signatureZ> <signatureN>4</signatureN> <prerecord>0</prerecord> <preroll>0</preroll> <midiClickEnable>1</midiClickEnable> <audioClickEnable>0</audioClickEnable> + <audioClickVolume>0.5</audioClickVolume> </metronom> <rcEnable>0</rcEnable> <rcStop>28</rcStop> <rcRecord>31</rcRecord> <rcGotoLeft>33</rcGotoLeft> <rcPlay>29</rcPlay> + <midiport idx="0"> + <defaultOutChans>1</defaultOutChans> + <channel idx="0"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="91"> + </controller> + <controller id="93"> + </controller> + <controller id="262144"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="1"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="91"> + </controller> + <controller id="93"> + </controller> + <controller id="262144"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="2"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="91"> + </controller> + <controller id="93"> + </controller> + <controller id="262144"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="3"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="91"> + </controller> + <controller id="93"> + </controller> + <controller id="262144"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="4"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="91"> + </controller> + <controller id="93"> + </controller> + <controller id="262144"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="5"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="91"> + </controller> + <controller id="93"> + </controller> + <controller id="262144"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="6"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="91"> + </controller> + <controller id="93"> + </controller> + <controller id="262144"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="7"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="91"> + </controller> + <controller id="93"> + </controller> + <controller id="262144"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="8"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="91"> + </controller> + <controller id="93"> + </controller> + <controller id="262144"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="9"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="91"> + </controller> + <controller id="93"> + </controller> + <controller id="262144"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="10"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="91"> + </controller> + <controller id="93"> + </controller> + <controller id="262144"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="11"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="91"> + </controller> + <controller id="93"> + </controller> + <controller id="262144"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="12"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="91"> + </controller> + <controller id="93"> + </controller> + <controller id="262144"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="13"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="91"> + </controller> + <controller id="93"> + </controller> + <controller id="262144"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="14"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="91"> + </controller> + <controller id="93"> + </controller> + <controller id="262144"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="15"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="91"> + </controller> + <controller id="93"> + </controller> + <controller id="262144"> + </controller> + <controller id="262145"> + </controller> + </channel> + </midiport> </sequencer> <drumedit> - <quant>96</quant> <raster>96</raster> - <width>600</width> - <height>400</height> - <dlistwidth>50</dlistwidth> - <dcanvaswidth>300</dcanvaswidth> + <width>883</width> + <height>465</height> + <dlistwidth>126</dlistwidth> + <dcanvaswidth>753</dcanvaswidth> + <toolbars>000000ff00000000fd00000000000003730000015c00000004000000040000000800000008fc00000004000000020000000400000014004400720075006d00200074006f006f006c00730100000000000000d1000000000000000000000014004500640069007400200054006f006f006c007301000000d1000000c8000000000000000000000012007400720061006e00730070006f0072007401000001990000018400000000000000000000000a00700061006e00690063010000031dffffffff00000000000000000000000200000000000000020000000100000012004e006f0074006500200049006e0066006f0100000000ffffffff000000000000000000000002000000020000000c0063007500720073006f00720100000000ffffffff0000000000000000000000260050006f0073002f0053006e00610070002f0053006f006c006f002d0074006f006f006c00730100000083ffffffff0000000000000000</toolbars> </drumedit> <pianoroll> - <quant>96</quant> <raster>96</raster> - <quantStrength>80</quantStrength> - <quantLimit>50</quantLimit> - <quantLen>0</quantLen> - <to>0</to> - <width>600</width> - <height>400</height> + <width>879</width> + <height>467</height> <colormode>0</colormode> + <toolbars>000000ff00000000fd000000000000036f0000017800000004000000040000000800000008fc00000006000000020000000000000002000000000000000200000000000000020000000000000002000000030000001e005000690061006e006f0072006f006c006c00200074006f006f006c00730100000000ffffffff000000000000000000000014004500640069007400200054006f006f006c00730100000091ffffffff000000000000000000000012004e006f0074006500200049006e0066006f0100000103ffffffff00000000000000000000000200000003000000260050006f0073002f0053006e00610070002f0053006f006c006f002d0074006f006f006c007301000000000000024c000000000000000000000012007400720061006e00730070006f00720074010000024c000000fc00000000000000000000000a00700061006e006900630100000348ffffffff0000000000000000</toolbars> </pianoroll> + <scoreedit> + <width>880</width> + <height>466</height> + <toolbars>000000ff00000000fd00000000000003700000018500000004000000040000000800000008fc0000000200000002000000030000001e0055006e0064006f002f005200650064006f00200074006f006f006c00730100000000ffffffff000000000000000000000014004500640069007400200054006f006f006c00730100000040ffffffff000000000000000000000022004e006500770020006e006f00740065002000730065007400740069006e006700730100000099ffffffff000000000000000000000002000000030000002a005100750061006e007400690073006100740069006f006e002000730065007400740069006e0067007301000000000000024a000000000000000000000012007400720061006e00730070006f00720074010000024a000000fc00000000000000000000000a00700061006e0069006301000003460000011f0000000000000000</toolbars> + </scoreedit> <masteredit> <raster>0</raster> + <width>875</width> + <height>464</height> + <toolbars>000000ff00000000fd000000000000036b000001a400000004000000040000000800000008fc000000010000000200000004ffffffff0100000000ffffffff000000000000000000000014004500640069007400200054006f006f006c00730100000040ffffffff0000000000000000ffffffff0100000099ffffffff0000000000000000ffffffff01000000faffffffff0000000000000000</toolbars> </masteredit> <waveedit> - <bgcolor r="0" g="0" b="0"></bgcolor> - <width>600</width> - <height>400</height> + <bgcolor r="200" g="200" b="200"></bgcolor> + <width>883</width> + <height>466</height> + <toolbars>000000ff00000000fd0000000000000373000001a100000004000000040000000800000008fc0000000200000002000000030000001e00570061007600650020006500640069007400200074006f006f006c00730100000000ffffffff00000000000000000000001c0057006100760065004500640069007400200074006f006f006c007301000000400000023b000000000000000000000012007400720061006e00730070006f00720074010000027b0000003900000000000000000000000200000000</toolbars> </waveedit> + <dialogs> + <mod_len> + <range>1</range> + <offset>0</offset> + <rate>100</rate> + </mod_len> + <mod_velo> + <range>1</range> + <offset>0</offset> + <rate>100</rate> + </mod_velo> + <quantize> + <range>1</range> + <strength>90</strength> + <threshold>0</threshold> + <raster>3</raster> + <swing>0</swing> + <quant_len>1</quant_len> + </quantize> + <erase> + <range>1</range> + </erase> + <del_overlaps> + <range>1</range> + </del_overlaps> + <setlen> + <range>1</range> + <len>384</len> + </setlen> + <move> + <range>1</range> + <amount>0</amount> + </move> + <transpose> + <range>1</range> + <amount>0</amount> + </transpose> + </dialogs> </configuration> <song> + <info></info> + <showinfo>1</showinfo> <automation>0</automation> <cpos>0</cpos> <rpos>0</rpos> @@ -105,6 +382,7 @@ <quantize>0</quantize> <len>0</len> <follow>1</follow> + <sampleRate>44100</sampleRate> <wavetrack> <name>Track 1</name> <record>0</record> @@ -115,16 +393,18 @@ <height>20</height> <locked>0</locked> <selected>1</selected> - <mute>0</mute> - <solo>0</solo> <prefader>0</prefader> - <off>0</off> + <sendMetronome>0</sendMetronome> <automation>1</automation> - <auxSend idx=0>0</auxSend> - <auxSend idx=1>0</auxSend> - <controller id="0" cur="0"> + <auxSend idx="0">0</auxSend> + <auxSend idx="1">0</auxSend> + <controller id="0" cur="0" color="#ff0000" visible="0"> + 0 0, </controller> - <controller id="1" cur="0"> + <controller id="1" cur="0" color="#ff0000" visible="0"> + 0 0, + </controller> + <controller id="2" cur="0" color="#0000ff" visible="0"> </controller> </wavetrack> <wavetrack> @@ -136,16 +416,18 @@ <channels>1</channels> <height>20</height> <locked>1</locked> - <mute>0</mute> - <solo>0</solo> <prefader>0</prefader> - <off>0</off> + <sendMetronome>0</sendMetronome> <automation>1</automation> - <auxSend idx=0>0</auxSend> - <auxSend idx=1>0</auxSend> - <controller id="0" cur="0"> + <auxSend idx="0">0</auxSend> + <auxSend idx="1">0</auxSend> + <controller id="0" cur="0" color="#ff0000" visible="0"> + 0 0, + </controller> + <controller id="1" cur="0" color="#ff0000" visible="0"> + 0 0, </controller> - <controller id="1" cur="0"> + <controller id="2" cur="0" color="#0000ff" visible="0"> </controller> </wavetrack> <wavetrack> @@ -157,16 +439,18 @@ <channels>1</channels> <height>20</height> <locked>0</locked> - <mute>0</mute> - <solo>0</solo> <prefader>0</prefader> - <off>0</off> + <sendMetronome>0</sendMetronome> <automation>1</automation> - <auxSend idx=0>0</auxSend> - <auxSend idx=1>0</auxSend> - <controller id="0" cur="0"> + <auxSend idx="0">0</auxSend> + <auxSend idx="1">0</auxSend> + <controller id="0" cur="0" color="#ff0000" visible="0"> + 0 0, </controller> - <controller id="1" cur="0"> + <controller id="1" cur="0" color="#ff0000" visible="0"> + 0 0, + </controller> + <controller id="2" cur="0" color="#0000ff" visible="0"> </controller> </wavetrack> <wavetrack> @@ -178,16 +462,18 @@ <channels>1</channels> <height>20</height> <locked>0</locked> - <mute>0</mute> - <solo>0</solo> <prefader>0</prefader> - <off>0</off> + <sendMetronome>0</sendMetronome> <automation>1</automation> - <auxSend idx=0>0</auxSend> - <auxSend idx=1>0</auxSend> - <controller id="0" cur="0"> + <auxSend idx="0">0</auxSend> + <auxSend idx="1">0</auxSend> + <controller id="0" cur="0" color="#ff0000" visible="0"> + 0 0, + </controller> + <controller id="1" cur="0" color="#ff0000" visible="0"> + 0 0, </controller> - <controller id="1" cur="0"> + <controller id="2" cur="0" color="#0000ff" visible="0"> </controller> </wavetrack> <AudioGroup> @@ -199,16 +485,18 @@ <channels>1</channels> <height>20</height> <locked>1</locked> - <mute>0</mute> - <solo>0</solo> <prefader>0</prefader> - <off>0</off> + <sendMetronome>0</sendMetronome> <automation>1</automation> - <auxSend idx=0>0</auxSend> - <auxSend idx=1>0</auxSend> - <controller id="0" cur="0"> + <auxSend idx="0">0</auxSend> + <auxSend idx="1">0</auxSend> + <controller id="0" cur="0" color="#ff0000" visible="0"> + 0 0, </controller> - <controller id="1" cur="0"> + <controller id="1" cur="0" color="#ff0000" visible="0"> + 0 0, + </controller> + <controller id="2" cur="0" color="#0000ff" visible="0"> </controller> </AudioGroup> <AudioGroup> @@ -220,16 +508,18 @@ <channels>1</channels> <height>20</height> <locked>0</locked> - <mute>0</mute> - <solo>0</solo> <prefader>0</prefader> - <off>0</off> + <sendMetronome>0</sendMetronome> <automation>1</automation> - <auxSend idx=0>0</auxSend> - <auxSend idx=1>0</auxSend> - <controller id="0" cur="0"> + <auxSend idx="0">0</auxSend> + <auxSend idx="1">0</auxSend> + <controller id="0" cur="0" color="#ff0000" visible="0"> + 0 0, + </controller> + <controller id="1" cur="0" color="#ff0000" visible="0"> + 0 0, </controller> - <controller id="1" cur="0"> + <controller id="2" cur="0" color="#0000ff" visible="0"> </controller> </AudioGroup> <AudioAux> @@ -241,14 +531,16 @@ <channels>2</channels> <height>20</height> <locked>1</locked> - <mute>0</mute> - <solo>0</solo> <prefader>0</prefader> - <off>0</off> + <sendMetronome>0</sendMetronome> <automation>1</automation> - <controller id="0" cur="0"> + <controller id="0" cur="0" color="#ff0000" visible="0"> + 0 0, + </controller> + <controller id="1" cur="0" color="#ff0000" visible="0"> + 0 0, </controller> - <controller id="1" cur="0"> + <controller id="2" cur="0" color="#0000ff" visible="0"> </controller> </AudioAux> <AudioAux> @@ -260,14 +552,16 @@ <channels>2</channels> <height>20</height> <locked>1</locked> - <mute>0</mute> - <solo>0</solo> <prefader>0</prefader> - <off>0</off> + <sendMetronome>0</sendMetronome> <automation>1</automation> - <controller id="0" cur="0"> + <controller id="0" cur="0" color="#ff0000" visible="0"> + 0 0, </controller> - <controller id="1" cur="0"> + <controller id="1" cur="0" color="#ff0000" visible="0"> + 0 0, + </controller> + <controller id="2" cur="0" color="#0000ff" visible="0"> </controller> </AudioAux> <AudioInput> @@ -279,16 +573,18 @@ <channels>2</channels> <height>20</height> <locked>1</locked> - <mute>1</mute> - <solo>0</solo> <prefader>0</prefader> - <off>0</off> + <sendMetronome>0</sendMetronome> <automation>1</automation> - <auxSend idx=0>0</auxSend> - <auxSend idx=1>0</auxSend> - <controller id="0" cur="0"> + <auxSend idx="0">0</auxSend> + <auxSend idx="1">0</auxSend> + <controller id="0" cur="0" color="#ff0000" visible="0"> + 0 0, + </controller> + <controller id="1" cur="0" color="#ff0000" visible="0"> + 0 0, </controller> - <controller id="1" cur="0"> + <controller id="2" cur="0" color="#0000ff" visible="0"> </controller> </AudioInput> <AudioOutput> @@ -300,14 +596,16 @@ <channels>2</channels> <height>20</height> <locked>1</locked> - <mute>0</mute> - <solo>0</solo> <prefader>0</prefader> - <off>0</off> + <sendMetronome>0</sendMetronome> <automation>1</automation> - <controller id="0" cur="0"> + <controller id="0" cur="0" color="#ff0000" visible="0"> + 0 0, </controller> - <controller id="1" cur="0"> + <controller id="1" cur="0" color="#ff0000" visible="0"> + 0 0, + </controller> + <controller id="2" cur="0" color="#0000ff" visible="0"> </controller> </AudioOutput> <tempolist fix="500000"> @@ -323,7 +621,15 @@ <denom>4</denom> </sig> </siglist> + <keylist fix="1"> + <key at="21474837"> + <tick>0</tick> + <val>1</val> + </key> + </keylist> <drummap> </drummap> </song> + <toplevels> + </toplevels> </muse> diff --git a/muse2/share/templates/default.med b/muse2/share/templates/default.med index c0270b3a..8772f759 100644 --- a/muse2/share/templates/default.med +++ b/muse2/share/templates/default.med @@ -9,6 +9,13 @@ <midiFilterCtrl2>0</midiFilterCtrl2> <midiFilterCtrl3>0</midiFilterCtrl3> <midiFilterCtrl4>0</midiFilterCtrl4> + <waveTracksVisible>1</waveTracksVisible> + <auxTracksVisible>1</auxTracksVisible> + <groupTracksVisible>1</groupTracksVisible> + <midiTracksVisible>1</midiTracksVisible> + <inputTracksVisible>1</inputTracksVisible> + <outputTracksVisible>1</outputTracksVisible> + <synthTracksVisible>1</synthTracksVisible> <mtctype>1</mtctype> <mtcoffset>00:00:00:00:00</mtcoffset> <sendClockDelay>1</sendClockDelay> @@ -18,11 +25,13 @@ <bigtimeVisible>0</bigtimeVisible> <transportVisible>0</transportVisible> <markerVisible>0</markerVisible> + <geometryMain x="0" y="0" w="878" h="468"></geometryMain> + <geometryTransport x="0" y="0" w="100" h="30"></geometryTransport> <mixer1Visible>0</mixer1Visible> <mixer2Visible>0</mixer2Visible> <arranger> <info>1</info> - <split>418 751 </split> + <split>418 456 </split> <list> <header> 8 7 6 5 4 3 2 1 0 </header> </list> @@ -54,38 +63,308 @@ <rcRecord>31</rcRecord> <rcGotoLeft>33</rcGotoLeft> <rcPlay>29</rcPlay> + <midiport idx="0"> + <defaultOutChans>1</defaultOutChans> + <channel idx="0"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="91"> + </controller> + <controller id="93"> + </controller> + <controller id="262144"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="1"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="91"> + </controller> + <controller id="93"> + </controller> + <controller id="262144"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="2"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="91"> + </controller> + <controller id="93"> + </controller> + <controller id="262144"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="3"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="91"> + </controller> + <controller id="93"> + </controller> + <controller id="262144"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="4"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="91"> + </controller> + <controller id="93"> + </controller> + <controller id="262144"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="5"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="91"> + </controller> + <controller id="93"> + </controller> + <controller id="262144"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="6"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="91"> + </controller> + <controller id="93"> + </controller> + <controller id="262144"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="7"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="91"> + </controller> + <controller id="93"> + </controller> + <controller id="262144"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="8"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="91"> + </controller> + <controller id="93"> + </controller> + <controller id="262144"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="9"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="91"> + </controller> + <controller id="93"> + </controller> + <controller id="262144"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="10"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="91"> + </controller> + <controller id="93"> + </controller> + <controller id="262144"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="11"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="91"> + </controller> + <controller id="93"> + </controller> + <controller id="262144"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="12"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="91"> + </controller> + <controller id="93"> + </controller> + <controller id="262144"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="13"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="91"> + </controller> + <controller id="93"> + </controller> + <controller id="262144"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="14"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="91"> + </controller> + <controller id="93"> + </controller> + <controller id="262144"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="15"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="91"> + </controller> + <controller id="93"> + </controller> + <controller id="262144"> + </controller> + <controller id="262145"> + </controller> + </channel> + </midiport> </sequencer> <drumedit> - <quant>96</quant> <raster>96</raster> - <width>600</width> - <height>400</height> - <dlistwidth>50</dlistwidth> - <dcanvaswidth>300</dcanvaswidth> - <to>0</to> + <width>883</width> + <height>465</height> + <dlistwidth>126</dlistwidth> + <dcanvaswidth>753</dcanvaswidth> + <toolbars>000000ff00000000fd00000000000003730000015c00000004000000040000000800000008fc00000004000000020000000400000014004400720075006d00200074006f006f006c00730100000000000000d1000000000000000000000014004500640069007400200054006f006f006c007301000000d1000000c8000000000000000000000012007400720061006e00730070006f0072007401000001990000018400000000000000000000000a00700061006e00690063010000031dffffffff00000000000000000000000200000000000000020000000100000012004e006f0074006500200049006e0066006f0100000000ffffffff000000000000000000000002000000020000000c0063007500720073006f00720100000000ffffffff0000000000000000000000260050006f0073002f0053006e00610070002f0053006f006c006f002d0074006f006f006c00730100000083ffffffff0000000000000000</toolbars> </drumedit> <pianoroll> - <quant>96</quant> <raster>96</raster> - <quantStrength>80</quantStrength> - <quantLimit>50</quantLimit> - <quantLen>0</quantLen> - <to>0</to> - <width>600</width> - <height>400</height> + <width>879</width> + <height>467</height> <colormode>0</colormode> + <toolbars>000000ff00000000fd000000000000036f0000017800000004000000040000000800000008fc00000006000000020000000000000002000000000000000200000000000000020000000000000002000000030000001e005000690061006e006f0072006f006c006c00200074006f006f006c00730100000000ffffffff000000000000000000000014004500640069007400200054006f006f006c00730100000091ffffffff000000000000000000000012004e006f0074006500200049006e0066006f0100000103ffffffff00000000000000000000000200000003000000260050006f0073002f0053006e00610070002f0053006f006c006f002d0074006f006f006c007301000000000000024c000000000000000000000012007400720061006e00730070006f00720074010000024c000000fc00000000000000000000000a00700061006e006900630100000348ffffffff0000000000000000</toolbars> </pianoroll> + <scoreedit> + <width>880</width> + <height>466</height> + <toolbars>000000ff00000000fd00000000000003700000018500000004000000040000000800000008fc0000000200000002000000030000001e0055006e0064006f002f005200650064006f00200074006f006f006c00730100000000ffffffff000000000000000000000014004500640069007400200054006f006f006c00730100000040ffffffff000000000000000000000022004e006500770020006e006f00740065002000730065007400740069006e006700730100000099ffffffff000000000000000000000002000000030000002a005100750061006e007400690073006100740069006f006e002000730065007400740069006e0067007301000000000000024a000000000000000000000012007400720061006e00730070006f00720074010000024a000000fc00000000000000000000000a00700061006e0069006301000003460000011f0000000000000000</toolbars> + </scoreedit> <masteredit> <raster>0</raster> + <width>875</width> + <height>464</height> + <toolbars>000000ff00000000fd000000000000036b000001a400000004000000040000000800000008fc000000010000000200000004ffffffff0100000000ffffffff000000000000000000000014004500640069007400200054006f006f006c00730100000040ffffffff0000000000000000ffffffff0100000099ffffffff0000000000000000ffffffff01000000faffffffff0000000000000000</toolbars> </masteredit> <waveedit> <bgcolor r="200" g="200" b="200"></bgcolor> - <width>600</width> - <height>400</height> + <width>883</width> + <height>466</height> + <toolbars>000000ff00000000fd0000000000000373000001a100000004000000040000000800000008fc0000000200000002000000030000001e00570061007600650020006500640069007400200074006f006f006c00730100000000ffffffff00000000000000000000001c0057006100760065004500640069007400200074006f006f006c007301000000400000023b000000000000000000000012007400720061006e00730070006f00720074010000027b0000003900000000000000000000000200000000</toolbars> </waveedit> + <dialogs> + <mod_len> + <range>1</range> + <offset>0</offset> + <rate>100</rate> + </mod_len> + <mod_velo> + <range>1</range> + <offset>0</offset> + <rate>100</rate> + </mod_velo> + <quantize> + <range>1</range> + <strength>90</strength> + <threshold>0</threshold> + <raster>3</raster> + <swing>0</swing> + <quant_len>1</quant_len> + </quantize> + <erase> + <range>1</range> + </erase> + <del_overlaps> + <range>1</range> + </del_overlaps> + <setlen> + <range>1</range> + <len>384</len> + </setlen> + <move> + <range>1</range> + <amount>0</amount> + </move> + <transpose> + <range>1</range> + <amount>0</amount> + </transpose> + </dialogs> </configuration> <song> <info></info> + <showinfo>1</showinfo> <automation>1</automation> <cpos>0</cpos> <rpos>0</rpos> @@ -103,6 +382,7 @@ <quantize>0</quantize> <len>0</len> <follow>1</follow> + <sampleRate>44100</sampleRate> <AudioOutput> <name>Out 1</name> <record>0</record> @@ -116,24 +396,16 @@ <prefader>0</prefader> <sendMetronome>0</sendMetronome> <automation>0</automation> - <controller id="0" cur="1"> + <controller id="0" cur="1" color="#ff0000" visible="0"> 0 1, </controller> - <controller id="1" cur="0"> + <controller id="1" cur="0" color="#ff0000" visible="0"> 0 0, </controller> - <controller id="2" cur="0"> + <controller id="2" cur="0" color="#ff0000" visible="0"> 0 0, </controller> </AudioOutput> - <Route channel="0"> - <source name="Out 1"/> - <dest type="1" name="system:playback_1"/> - </Route> - <Route channel="1"> - <source name="Out 1"/> - <dest type="1" name="system:playback_2"/> - </Route> <tempolist fix="500000"> <tempo at="21474837"> <tick>0</tick> @@ -147,6 +419,12 @@ <denom>4</denom> </sig> </siglist> + <keylist fix="1"> + <key at="21474837"> + <tick>0</tick> + <val>1</val> + </key> + </keylist> <drummap> </drummap> </song> diff --git a/muse2/share/templates/midiGM.med b/muse2/share/templates/midiGM.med index 1314effb..bbc04498 100644 --- a/muse2/share/templates/midiGM.med +++ b/muse2/share/templates/midiGM.med @@ -9,27 +9,31 @@ <midiFilterCtrl2>0</midiFilterCtrl2> <midiFilterCtrl3>0</midiFilterCtrl3> <midiFilterCtrl4>0</midiFilterCtrl4> - <txDeviceId>127</txDeviceId> - <rxDeviceId>127</rxDeviceId> - <txSyncPort>1</txSyncPort> - <rxSyncPort>-1</rxSyncPort> + <waveTracksVisible>1</waveTracksVisible> + <auxTracksVisible>1</auxTracksVisible> + <groupTracksVisible>1</groupTracksVisible> + <midiTracksVisible>1</midiTracksVisible> + <inputTracksVisible>1</inputTracksVisible> + <outputTracksVisible>1</outputTracksVisible> + <synthTracksVisible>1</synthTracksVisible> <mtctype>1</mtctype> <mtcoffset>00:00:00:00:00</mtcoffset> + <sendClockDelay>1</sendClockDelay> + <useJackTransport>1</useJackTransport> + <jackTransportMaster>1</jackTransportMaster> <extSync>0</extSync> - <genMTCSync>0</genMTCSync> - <genMCSync>0</genMCSync> - <genMMC>0</genMMC> - <acceptMTC>0</acceptMTC> - <acceptMMC>1</acceptMMC> - <acceptMC>1</acceptMC> <bigtimeVisible>0</bigtimeVisible> <transportVisible>0</transportVisible> - <mixerVisible>0</mixerVisible> + <markerVisible>0</markerVisible> + <geometryMain x="0" y="0" w="878" h="468"></geometryMain> + <geometryTransport x="0" y="0" w="100" h="30"></geometryTransport> + <mixer1Visible>0</mixer1Visible> + <mixer2Visible>0</mixer2Visible> <arranger> <info>1</info> - <split>298 764 </split> + <split>298 298 </split> <list> - <header> 7 6 5 4 3 2 1 0 </header> + <header> 7 6 5 4 3 2 1 0 8 </header> </list> <xpos>0</xpos> <xmag>266</xmag> @@ -44,14 +48,15 @@ <beatvelo>70</beatvelo> <channel>9</channel> <port>0</port> - <precountEnable>1</precountEnable> - <fromMastertrack>1</fromMastertrack> + <precountEnable>0</precountEnable> + <fromMastertrack>0</fromMastertrack> <signatureZ>4</signatureZ> <signatureN>4</signatureN> <prerecord>0</prerecord> <preroll>0</preroll> <midiClickEnable>1</midiClickEnable> <audioClickEnable>0</audioClickEnable> + <audioClickVolume>0.5</audioClickVolume> </metronom> <rcEnable>0</rcEnable> <rcStop>28</rcStop> @@ -59,7 +64,7 @@ <rcGotoLeft>33</rcGotoLeft> <rcPlay>29</rcPlay> <midiport idx="0"> - <instrument>GM</instrument> + <defaultOutChans>1</defaultOutChans> <channel idx="0"> <controller id="7"> <val>0</val> @@ -67,6 +72,12 @@ <controller id="10"> <val>0</val> </controller> + <controller id="91"> + </controller> + <controller id="93"> + </controller> + <controller id="262144"> + </controller> <controller id="262145"> <val>0</val> </controller> @@ -78,6 +89,12 @@ <controller id="10"> <val>0</val> </controller> + <controller id="91"> + </controller> + <controller id="93"> + </controller> + <controller id="262144"> + </controller> <controller id="262145"> <val>0</val> </controller> @@ -89,6 +106,12 @@ <controller id="10"> <val>0</val> </controller> + <controller id="91"> + </controller> + <controller id="93"> + </controller> + <controller id="262144"> + </controller> <controller id="262145"> <val>0</val> </controller> @@ -100,6 +123,12 @@ <controller id="10"> <val>0</val> </controller> + <controller id="91"> + </controller> + <controller id="93"> + </controller> + <controller id="262144"> + </controller> <controller id="262145"> <val>0</val> </controller> @@ -111,6 +140,12 @@ <controller id="10"> <val>0</val> </controller> + <controller id="91"> + </controller> + <controller id="93"> + </controller> + <controller id="262144"> + </controller> <controller id="262145"> <val>0</val> </controller> @@ -122,6 +157,12 @@ <controller id="10"> <val>0</val> </controller> + <controller id="91"> + </controller> + <controller id="93"> + </controller> + <controller id="262144"> + </controller> <controller id="262145"> <val>0</val> </controller> @@ -133,6 +174,12 @@ <controller id="10"> <val>0</val> </controller> + <controller id="91"> + </controller> + <controller id="93"> + </controller> + <controller id="262144"> + </controller> <controller id="262145"> <val>0</val> </controller> @@ -144,6 +191,12 @@ <controller id="10"> <val>0</val> </controller> + <controller id="91"> + </controller> + <controller id="93"> + </controller> + <controller id="262144"> + </controller> <controller id="262145"> <val>0</val> </controller> @@ -155,6 +208,12 @@ <controller id="10"> <val>0</val> </controller> + <controller id="91"> + </controller> + <controller id="93"> + </controller> + <controller id="262144"> + </controller> <controller id="262145"> <val>0</val> </controller> @@ -166,6 +225,12 @@ <controller id="10"> <val>0</val> </controller> + <controller id="91"> + </controller> + <controller id="93"> + </controller> + <controller id="262144"> + </controller> <controller id="262145"> <val>0</val> </controller> @@ -177,6 +242,12 @@ <controller id="10"> <val>0</val> </controller> + <controller id="91"> + </controller> + <controller id="93"> + </controller> + <controller id="262144"> + </controller> <controller id="262145"> <val>0</val> </controller> @@ -188,6 +259,12 @@ <controller id="10"> <val>0</val> </controller> + <controller id="91"> + </controller> + <controller id="93"> + </controller> + <controller id="262144"> + </controller> <controller id="262145"> <val>0</val> </controller> @@ -199,6 +276,12 @@ <controller id="10"> <val>0</val> </controller> + <controller id="91"> + </controller> + <controller id="93"> + </controller> + <controller id="262144"> + </controller> <controller id="262145"> <val>0</val> </controller> @@ -210,6 +293,12 @@ <controller id="10"> <val>0</val> </controller> + <controller id="91"> + </controller> + <controller id="93"> + </controller> + <controller id="262144"> + </controller> <controller id="262145"> <val>0</val> </controller> @@ -221,6 +310,12 @@ <controller id="10"> <val>0</val> </controller> + <controller id="91"> + </controller> + <controller id="93"> + </controller> + <controller id="262144"> + </controller> <controller id="262145"> <val>0</val> </controller> @@ -232,6 +327,12 @@ <controller id="10"> <val>0</val> </controller> + <controller id="91"> + </controller> + <controller id="93"> + </controller> + <controller id="262144"> + </controller> <controller id="262145"> <val>0</val> </controller> @@ -239,34 +340,79 @@ </midiport> </sequencer> <drumedit> - <quant>96</quant> <raster>96</raster> - <width>600</width> - <height>400</height> - <dlistwidth>50</dlistwidth> - <dcanvaswidth>300</dcanvaswidth> + <width>883</width> + <height>465</height> + <dlistwidth>126</dlistwidth> + <dcanvaswidth>753</dcanvaswidth> + <toolbars>000000ff00000000fd00000000000003730000015c00000004000000040000000800000008fc00000004000000020000000400000014004400720075006d00200074006f006f006c00730100000000000000d1000000000000000000000014004500640069007400200054006f006f006c007301000000d1000000c8000000000000000000000012007400720061006e00730070006f0072007401000001990000018400000000000000000000000a00700061006e00690063010000031dffffffff00000000000000000000000200000000000000020000000100000012004e006f0074006500200049006e0066006f0100000000ffffffff000000000000000000000002000000020000000c0063007500720073006f00720100000000ffffffff0000000000000000000000260050006f0073002f0053006e00610070002f0053006f006c006f002d0074006f006f006c00730100000083ffffffff0000000000000000</toolbars> </drumedit> <pianoroll> - <quant>96</quant> <raster>96</raster> - <quantStrength>80</quantStrength> - <quantLimit>50</quantLimit> - <quantLen>0</quantLen> - <to>0</to> - <width>600</width> - <height>400</height> + <width>879</width> + <height>467</height> <colormode>0</colormode> + <toolbars>000000ff00000000fd000000000000036f0000017800000004000000040000000800000008fc00000006000000020000000000000002000000000000000200000000000000020000000000000002000000030000001e005000690061006e006f0072006f006c006c00200074006f006f006c00730100000000ffffffff000000000000000000000014004500640069007400200054006f006f006c00730100000091ffffffff000000000000000000000012004e006f0074006500200049006e0066006f0100000103ffffffff00000000000000000000000200000003000000260050006f0073002f0053006e00610070002f0053006f006c006f002d0074006f006f006c007301000000000000024c000000000000000000000012007400720061006e00730070006f00720074010000024c000000fc00000000000000000000000a00700061006e006900630100000348ffffffff0000000000000000</toolbars> </pianoroll> + <scoreedit> + <width>880</width> + <height>466</height> + <toolbars>000000ff00000000fd00000000000003700000018500000004000000040000000800000008fc0000000200000002000000030000001e0055006e0064006f002f005200650064006f00200074006f006f006c00730100000000ffffffff000000000000000000000014004500640069007400200054006f006f006c00730100000040ffffffff000000000000000000000022004e006500770020006e006f00740065002000730065007400740069006e006700730100000099ffffffff000000000000000000000002000000030000002a005100750061006e007400690073006100740069006f006e002000730065007400740069006e0067007301000000000000024a000000000000000000000012007400720061006e00730070006f00720074010000024a000000fc00000000000000000000000a00700061006e0069006301000003460000011f0000000000000000</toolbars> + </scoreedit> <masteredit> <raster>0</raster> + <width>875</width> + <height>464</height> + <toolbars>000000ff00000000fd000000000000036b000001a400000004000000040000000800000008fc000000010000000200000004ffffffff0100000000ffffffff000000000000000000000014004500640069007400200054006f006f006c00730100000040ffffffff0000000000000000ffffffff0100000099ffffffff0000000000000000ffffffff01000000faffffffff0000000000000000</toolbars> </masteredit> <waveedit> - <bgcolor r="0" g="0" b="0"></bgcolor> - <width>600</width> - <height>400</height> + <bgcolor r="200" g="200" b="200"></bgcolor> + <width>883</width> + <height>466</height> + <toolbars>000000ff00000000fd0000000000000373000001a100000004000000040000000800000008fc0000000200000002000000030000001e00570061007600650020006500640069007400200074006f006f006c00730100000000ffffffff00000000000000000000001c0057006100760065004500640069007400200074006f006f006c007301000000400000023b000000000000000000000012007400720061006e00730070006f00720074010000027b0000003900000000000000000000000200000000</toolbars> </waveedit> + <dialogs> + <mod_len> + <range>1</range> + <offset>0</offset> + <rate>100</rate> + </mod_len> + <mod_velo> + <range>1</range> + <offset>0</offset> + <rate>100</rate> + </mod_velo> + <quantize> + <range>1</range> + <strength>90</strength> + <threshold>0</threshold> + <raster>3</raster> + <swing>0</swing> + <quant_len>1</quant_len> + </quantize> + <erase> + <range>1</range> + </erase> + <del_overlaps> + <range>1</range> + </del_overlaps> + <setlen> + <range>1</range> + <len>384</len> + </setlen> + <move> + <range>1</range> + <amount>0</amount> + </move> + <transpose> + <range>1</range> + <amount>0</amount> + </transpose> + </dialogs> </configuration> <song> + <info></info> + <showinfo>1</showinfo> <automation>0</automation> <cpos>0</cpos> <rpos>0</rpos> @@ -282,8 +428,9 @@ <cycle>0</cycle> <click>0</click> <quantize>0</quantize> - <len>0</len> + <len>6144</len> <follow>1</follow> + <sampleRate>44100</sampleRate> <miditrack> <name>Track 1</name> <record>0</record> @@ -296,9 +443,8 @@ <selected>1</selected> <device>0</device> <channel>0</channel> - <inportMap>65535</inportMap> - <inchannelMap>65535</inchannelMap> <locked>0</locked> + <echo>1</echo> <transposition>0</transposition> <velocity>0</velocity> <delay>0</delay> @@ -317,9 +463,8 @@ <locked>0</locked> <device>0</device> <channel>0</channel> - <inportMap>65535</inportMap> - <inchannelMap>65535</inchannelMap> <locked>0</locked> + <echo>1</echo> <transposition>0</transposition> <velocity>0</velocity> <delay>0</delay> @@ -338,9 +483,8 @@ <locked>0</locked> <device>0</device> <channel>0</channel> - <inportMap>65535</inportMap> - <inchannelMap>65535</inchannelMap> <locked>0</locked> + <echo>1</echo> <transposition>0</transposition> <velocity>0</velocity> <delay>0</delay> @@ -359,9 +503,8 @@ <locked>0</locked> <device>0</device> <channel>0</channel> - <inportMap>65535</inportMap> - <inchannelMap>65535</inchannelMap> <locked>0</locked> + <echo>1</echo> <transposition>0</transposition> <velocity>0</velocity> <delay>0</delay> @@ -380,9 +523,8 @@ <locked>0</locked> <device>0</device> <channel>9</channel> - <inportMap>65535</inportMap> - <inchannelMap>65535</inchannelMap> <locked>0</locked> + <echo>1</echo> <transposition>0</transposition> <velocity>0</velocity> <delay>0</delay> @@ -390,6 +532,46 @@ <compression>100</compression> <automation>1</automation> </drumtrack> + <Route channelMask="65535"> + <source mport="0"/> + <dest name="Track 1"/> + </Route> + <Route channelMask="65535"> + <source mport="0"/> + <dest name="Track 1"/> + </Route> + <Route channelMask="65535"> + <source mport="0"/> + <dest name="Track 2"/> + </Route> + <Route channelMask="65535"> + <source mport="0"/> + <dest name="Track 2"/> + </Route> + <Route channelMask="65535"> + <source mport="0"/> + <dest name="Track 3"/> + </Route> + <Route channelMask="65535"> + <source mport="0"/> + <dest name="Track 3"/> + </Route> + <Route channelMask="65535"> + <source mport="0"/> + <dest name="Track 4"/> + </Route> + <Route channelMask="65535"> + <source mport="0"/> + <dest name="Track 4"/> + </Route> + <Route channelMask="65535"> + <source mport="0"/> + <dest name="Track 5"/> + </Route> + <Route channelMask="65535"> + <source mport="0"/> + <dest name="Track 5"/> + </Route> <tempolist fix="500000"> <tempo at="21474837"> <tick>0</tick> @@ -403,7 +585,15 @@ <denom>4</denom> </sig> </siglist> + <keylist fix="1"> + <key at="21474837"> + <tick>0</tick> + <val>1</val> + </key> + </keylist> <drummap> </drummap> </song> + <toplevels> + </toplevels> </muse> diff --git a/muse2/share/templates/monorecord.med b/muse2/share/templates/monorecord.med index 8ba68625..fc8b324c 100644 --- a/muse2/share/templates/monorecord.med +++ b/muse2/share/templates/monorecord.med @@ -1,322 +1,370 @@ <?xml version="1.0"?> <muse version="2.0"> <configuration> - <midiInputDevice>0</midiInputDevice> - <midiInputChannel>0</midiInputChannel> - <midiRecordType>0</midiRecordType> - <midiThruType>0</midiThruType> - <midiFilterCtrl1>0</midiFilterCtrl1> - <midiFilterCtrl2>0</midiFilterCtrl2> - <midiFilterCtrl3>0</midiFilterCtrl3> - <midiFilterCtrl4>0</midiFilterCtrl4> - <txDeviceId>127</txDeviceId> - <rxDeviceId>127</rxDeviceId> - <txSyncPort>1</txSyncPort> - <rxSyncPort>-1</rxSyncPort> - <mtctype>1</mtctype> - <mtcoffset>00:00:00:00:00</mtcoffset> - <extSync>0</extSync> - <genMTCSync>0</genMTCSync> - <genMCSync>0</genMCSync> - <genMMC>0</genMMC> - <acceptMTC>0</acceptMTC> - <acceptMMC>1</acceptMMC> - <acceptMC>1</acceptMC> - <transport visible=1> - </transport> - <bigtimeVisible>0</bigtimeVisible> - <arranger> - <info>0</info> - <split>298 296 </split> - <list> - <header> 7 6 5 4 3 2 1 0 </header> - </list> - <xpos>0</xpos> - <xmag>266</xmag> - <ypos>0</ypos> - </arranger> - <sequencer> - <metronom> - <premeasures>2</premeasures> - <measurepitch>63</measurepitch> - <measurevelo>127</measurevelo> - <beatpitch>63</beatpitch> - <beatvelo>70</beatvelo> - <channel>9</channel> - <port>0</port> - <precountEnable>1</precountEnable> - <fromMastertrack>1</fromMastertrack> - <signatureZ>4</signatureZ> - <signatureN>4</signatureN> - <prerecord>0</prerecord> - <preroll>0</preroll> - <midiClickEnable>1</midiClickEnable> - <audioClickEnable>0</audioClickEnable> - </metronom> - <rcEnable>0</rcEnable> - <rcStop>28</rcStop> - <rcRecord>31</rcRecord> - <rcGotoLeft>33</rcGotoLeft> - <rcPlay>29</rcPlay> - <midiport idx="0"> - <instrument>GM</instrument> - <name>TASCAM US-X2Y Port 0</name> - <record>1</record> - <channel idx="0"> - <controller>1</controller> - <controller>7</controller> - <controller>10</controller> - <controller>11</controller> - <controller>64</controller> - <controller>91</controller> - <controller>93</controller> - <controller>120</controller> - <controller>121</controller> - <controller>123</controller> - <controller>262144</controller> - <controller>262145</controller> - </channel> - <channel idx="1"> - <controller>1</controller> - <controller>7</controller> - <controller>10</controller> - <controller>11</controller> - <controller>64</controller> - <controller>91</controller> - <controller>93</controller> - <controller>120</controller> - <controller>121</controller> - <controller>123</controller> - <controller>262144</controller> - <controller>262145</controller> - </channel> - <channel idx="2"> - <controller>1</controller> - <controller>7</controller> - <controller>10</controller> - <controller>11</controller> - <controller>64</controller> - <controller>91</controller> - <controller>93</controller> - <controller>120</controller> - <controller>121</controller> - <controller>123</controller> - <controller>262144</controller> - <controller>262145</controller> - </channel> - <channel idx="3"> - <controller>1</controller> - <controller>7</controller> - <controller>10</controller> - <controller>11</controller> - <controller>64</controller> - <controller>91</controller> - <controller>93</controller> - <controller>120</controller> - <controller>121</controller> - <controller>123</controller> - <controller>262144</controller> - <controller>262145</controller> - </channel> - <channel idx="4"> - <controller>1</controller> - <controller>7</controller> - <controller>10</controller> - <controller>11</controller> - <controller>64</controller> - <controller>91</controller> - <controller>93</controller> - <controller>120</controller> - <controller>121</controller> - <controller>123</controller> - <controller>262144</controller> - <controller>262145</controller> - </channel> - <channel idx="5"> - <controller>1</controller> - <controller>7</controller> - <controller>10</controller> - <controller>11</controller> - <controller>64</controller> - <controller>91</controller> - <controller>93</controller> - <controller>120</controller> - <controller>121</controller> - <controller>123</controller> - <controller>262144</controller> - <controller>262145</controller> - </channel> - <channel idx="6"> - <controller>1</controller> - <controller>7</controller> - <controller>10</controller> - <controller>11</controller> - <controller>64</controller> - <controller>91</controller> - <controller>93</controller> - <controller>120</controller> - <controller>121</controller> - <controller>123</controller> - <controller>262144</controller> - <controller>262145</controller> - </channel> - <channel idx="7"> - <controller>1</controller> - <controller>7</controller> - <controller>10</controller> - <controller>11</controller> - <controller>64</controller> - <controller>91</controller> - <controller>93</controller> - <controller>120</controller> - <controller>121</controller> - <controller>123</controller> - <controller>262144</controller> - <controller>262145</controller> - </channel> - <channel idx="8"> - <controller>1</controller> - <controller>7</controller> - <controller>10</controller> - <controller>11</controller> - <controller>64</controller> - <controller>91</controller> - <controller>93</controller> - <controller>120</controller> - <controller>121</controller> - <controller>123</controller> - <controller>262144</controller> - <controller>262145</controller> - </channel> - <channel idx="9"> - <controller>1</controller> - <controller>7</controller> - <controller>10</controller> - <controller>11</controller> - <controller>64</controller> - <controller>91</controller> - <controller>93</controller> - <controller>120</controller> - <controller>121</controller> - <controller>123</controller> - <controller>262144</controller> - <controller>262145</controller> - </channel> - <channel idx="10"> - <controller>1</controller> - <controller>7</controller> - <controller>10</controller> - <controller>11</controller> - <controller>64</controller> - <controller>91</controller> - <controller>93</controller> - <controller>120</controller> - <controller>121</controller> - <controller>123</controller> - <controller>262144</controller> - <controller>262145</controller> - </channel> - <channel idx="11"> - <controller>1</controller> - <controller>7</controller> - <controller>10</controller> - <controller>11</controller> - <controller>64</controller> - <controller>91</controller> - <controller>93</controller> - <controller>120</controller> - <controller>121</controller> - <controller>123</controller> - <controller>262144</controller> - <controller>262145</controller> - </channel> - <channel idx="12"> - <controller>1</controller> - <controller>7</controller> - <controller>10</controller> - <controller>11</controller> - <controller>64</controller> - <controller>91</controller> - <controller>93</controller> - <controller>120</controller> - <controller>121</controller> - <controller>123</controller> - <controller>262144</controller> - <controller>262145</controller> - </channel> - <channel idx="13"> - <controller>1</controller> - <controller>7</controller> - <controller>10</controller> - <controller>11</controller> - <controller>64</controller> - <controller>91</controller> - <controller>93</controller> - <controller>120</controller> - <controller>121</controller> - <controller>123</controller> - <controller>262144</controller> - <controller>262145</controller> - </channel> - <channel idx="14"> - <controller>1</controller> - <controller>7</controller> - <controller>10</controller> - <controller>11</controller> - <controller>64</controller> - <controller>91</controller> - <controller>93</controller> - <controller>120</controller> - <controller>121</controller> - <controller>123</controller> - <controller>262144</controller> - <controller>262145</controller> - </channel> - <channel idx="15"> - <controller>1</controller> - <controller>7</controller> - <controller>10</controller> - <controller>11</controller> - <controller>64</controller> - <controller>91</controller> - <controller>93</controller> - <controller>120</controller> - <controller>121</controller> - <controller>123</controller> - <controller>262144</controller> - <controller>262145</controller> - </channel> - </midiport> - </sequencer> - <drumedit> - <quant>96</quant> - <raster>96</raster> - <width>600</width> - <height>400</height> - <dlistwidth>50</dlistwidth> - <dcanvaswidth>300</dcanvaswidth> - </drumedit> - <pianoroll> - <quant>96</quant> - <raster>96</raster> - <quantStrength>80</quantStrength> - <quantLimit>50</quantLimit> - <quantLen>0</quantLen> - <to>0</to> - <width>600</width> - <height>400</height> - <colormode>0</colormode> - </pianoroll> - <masteredit> - <raster>0</raster> - </masteredit> - <waveedit> - <bgcolor r="0" g="0" b="0"></bgcolor> - <width>600</width> - <height>400</height> - </waveedit> - </configuration> + <midiInputDevice>0</midiInputDevice> + <midiInputChannel>0</midiInputChannel> + <midiRecordType>0</midiRecordType> + <midiThruType>0</midiThruType> + <midiFilterCtrl1>0</midiFilterCtrl1> + <midiFilterCtrl2>0</midiFilterCtrl2> + <midiFilterCtrl3>0</midiFilterCtrl3> + <midiFilterCtrl4>0</midiFilterCtrl4> + <waveTracksVisible>1</waveTracksVisible> + <auxTracksVisible>1</auxTracksVisible> + <groupTracksVisible>1</groupTracksVisible> + <midiTracksVisible>1</midiTracksVisible> + <inputTracksVisible>1</inputTracksVisible> + <outputTracksVisible>1</outputTracksVisible> + <synthTracksVisible>1</synthTracksVisible> + <mtctype>1</mtctype> + <mtcoffset>00:00:00:00:00</mtcoffset> + <sendClockDelay>1</sendClockDelay> + <useJackTransport>1</useJackTransport> + <jackTransportMaster>1</jackTransportMaster> + <extSync>0</extSync> + <bigtimeVisible>0</bigtimeVisible> + <transportVisible>0</transportVisible> + <markerVisible>0</markerVisible> + <geometryMain x="0" y="0" w="878" h="468"></geometryMain> + <geometryTransport x="0" y="0" w="100" h="30"></geometryTransport> + <mixer1Visible>0</mixer1Visible> + <mixer2Visible>0</mixer2Visible> + <arranger> + <info>0</info> + <split>298 298 </split> + <list> + <header> 7 6 5 4 3 2 1 0 8 </header> + </list> + <xpos>0</xpos> + <xmag>266</xmag> + <ypos>0</ypos> + </arranger> + <sequencer> + <metronom> + <premeasures>2</premeasures> + <measurepitch>63</measurepitch> + <measurevelo>127</measurevelo> + <beatpitch>63</beatpitch> + <beatvelo>70</beatvelo> + <channel>9</channel> + <port>0</port> + <precountEnable>0</precountEnable> + <fromMastertrack>0</fromMastertrack> + <signatureZ>4</signatureZ> + <signatureN>4</signatureN> + <prerecord>0</prerecord> + <preroll>0</preroll> + <midiClickEnable>1</midiClickEnable> + <audioClickEnable>0</audioClickEnable> + <audioClickVolume>0.5</audioClickVolume> + </metronom> + <rcEnable>0</rcEnable> + <rcStop>28</rcStop> + <rcRecord>31</rcRecord> + <rcGotoLeft>33</rcGotoLeft> + <rcPlay>29</rcPlay> + <midiport idx="0"> + <defaultOutChans>1</defaultOutChans> + <channel idx="0"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="91"> + </controller> + <controller id="93"> + </controller> + <controller id="262144"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="1"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="91"> + </controller> + <controller id="93"> + </controller> + <controller id="262144"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="2"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="91"> + </controller> + <controller id="93"> + </controller> + <controller id="262144"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="3"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="91"> + </controller> + <controller id="93"> + </controller> + <controller id="262144"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="4"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="91"> + </controller> + <controller id="93"> + </controller> + <controller id="262144"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="5"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="91"> + </controller> + <controller id="93"> + </controller> + <controller id="262144"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="6"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="91"> + </controller> + <controller id="93"> + </controller> + <controller id="262144"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="7"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="91"> + </controller> + <controller id="93"> + </controller> + <controller id="262144"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="8"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="91"> + </controller> + <controller id="93"> + </controller> + <controller id="262144"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="9"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="91"> + </controller> + <controller id="93"> + </controller> + <controller id="262144"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="10"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="91"> + </controller> + <controller id="93"> + </controller> + <controller id="262144"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="11"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="91"> + </controller> + <controller id="93"> + </controller> + <controller id="262144"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="12"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="91"> + </controller> + <controller id="93"> + </controller> + <controller id="262144"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="13"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="91"> + </controller> + <controller id="93"> + </controller> + <controller id="262144"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="14"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="91"> + </controller> + <controller id="93"> + </controller> + <controller id="262144"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="15"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="91"> + </controller> + <controller id="93"> + </controller> + <controller id="262144"> + </controller> + <controller id="262145"> + </controller> + </channel> + </midiport> + </sequencer> + <drumedit> + <raster>96</raster> + <width>883</width> + <height>465</height> + <dlistwidth>126</dlistwidth> + <dcanvaswidth>753</dcanvaswidth> + <toolbars>000000ff00000000fd00000000000003730000015c00000004000000040000000800000008fc00000004000000020000000400000014004400720075006d00200074006f006f006c00730100000000000000d1000000000000000000000014004500640069007400200054006f006f006c007301000000d1000000c8000000000000000000000012007400720061006e00730070006f0072007401000001990000018400000000000000000000000a00700061006e00690063010000031dffffffff00000000000000000000000200000000000000020000000100000012004e006f0074006500200049006e0066006f0100000000ffffffff000000000000000000000002000000020000000c0063007500720073006f00720100000000ffffffff0000000000000000000000260050006f0073002f0053006e00610070002f0053006f006c006f002d0074006f006f006c00730100000083ffffffff0000000000000000</toolbars> + </drumedit> + <pianoroll> + <raster>96</raster> + <width>879</width> + <height>467</height> + <colormode>0</colormode> + <toolbars>000000ff00000000fd000000000000036f0000017800000004000000040000000800000008fc00000006000000020000000000000002000000000000000200000000000000020000000000000002000000030000001e005000690061006e006f0072006f006c006c00200074006f006f006c00730100000000ffffffff000000000000000000000014004500640069007400200054006f006f006c00730100000091ffffffff000000000000000000000012004e006f0074006500200049006e0066006f0100000103ffffffff00000000000000000000000200000003000000260050006f0073002f0053006e00610070002f0053006f006c006f002d0074006f006f006c007301000000000000024c000000000000000000000012007400720061006e00730070006f00720074010000024c000000fc00000000000000000000000a00700061006e006900630100000348ffffffff0000000000000000</toolbars> + </pianoroll> + <scoreedit> + <width>880</width> + <height>466</height> + <toolbars>000000ff00000000fd00000000000003700000018500000004000000040000000800000008fc0000000200000002000000030000001e0055006e0064006f002f005200650064006f00200074006f006f006c00730100000000ffffffff000000000000000000000014004500640069007400200054006f006f006c00730100000040ffffffff000000000000000000000022004e006500770020006e006f00740065002000730065007400740069006e006700730100000099ffffffff000000000000000000000002000000030000002a005100750061006e007400690073006100740069006f006e002000730065007400740069006e0067007301000000000000024a000000000000000000000012007400720061006e00730070006f00720074010000024a000000fc00000000000000000000000a00700061006e0069006301000003460000011f0000000000000000</toolbars> + </scoreedit> + <masteredit> + <raster>0</raster> + <width>875</width> + <height>464</height> + <toolbars>000000ff00000000fd000000000000036b000001a400000004000000040000000800000008fc000000010000000200000004ffffffff0100000000ffffffff000000000000000000000014004500640069007400200054006f006f006c00730100000040ffffffff0000000000000000ffffffff0100000099ffffffff0000000000000000ffffffff01000000faffffffff0000000000000000</toolbars> + </masteredit> + <waveedit> + <bgcolor r="200" g="200" b="200"></bgcolor> + <width>883</width> + <height>466</height> + <toolbars>000000ff00000000fd0000000000000373000001a100000004000000040000000800000008fc0000000200000002000000030000001e00570061007600650020006500640069007400200074006f006f006c00730100000000ffffffff00000000000000000000001c0057006100760065004500640069007400200074006f006f006c007301000000400000023b000000000000000000000012007400720061006e00730070006f00720074010000027b0000003900000000000000000000000200000000</toolbars> + </waveedit> + <dialogs> + <mod_len> + <range>1</range> + <offset>0</offset> + <rate>100</rate> + </mod_len> + <mod_velo> + <range>1</range> + <offset>0</offset> + <rate>100</rate> + </mod_velo> + <quantize> + <range>1</range> + <strength>90</strength> + <threshold>0</threshold> + <raster>3</raster> + <swing>0</swing> + <quant_len>1</quant_len> + </quantize> + <erase> + <range>1</range> + </erase> + <del_overlaps> + <range>1</range> + </del_overlaps> + <setlen> + <range>1</range> + <len>384</len> + </setlen> + <move> + <range>1</range> + <amount>0</amount> + </move> + <transpose> + <range>1</range> + <amount>0</amount> + </transpose> + </dialogs> + </configuration> <song> + <info></info> + <showinfo>1</showinfo> <automation>0</automation> <cpos>0</cpos> <rpos>0</rpos> @@ -334,6 +382,7 @@ <quantize>0</quantize> <len>0</len> <follow>1</follow> + <sampleRate>44100</sampleRate> <wavetrack> <name>Track 1</name> <record>1</record> @@ -343,15 +392,16 @@ <channels>1</channels> <height>20</height> <locked>0</locked> - <mute>0</mute> - <solo>0</solo> <prefader>0</prefader> - <off>0</off> - <auxSend idx=0>0.000000</auxSend> - <auxSend idx=1>0.000000</auxSend> - <controller id="0" cur="1.021645"> + <sendMetronome>0</sendMetronome> + <automation>0</automation> + <controller id="0" cur="1.02164" color="#ff0000" visible="0"> + 0 1.02164, + </controller> + <controller id="1" cur="0" color="#ff0000" visible="0"> + 0 0, </controller> - <controller id="1" cur="0.000000"> + <controller id="2" cur="0" color="#0000ff" visible="0"> </controller> </wavetrack> <AudioInput> @@ -364,15 +414,16 @@ <height>20</height> <locked>1</locked> <selected>1</selected> - <mute>0</mute> - <solo>0</solo> <prefader>0</prefader> - <off>0</off> - <auxSend idx=0>0.000000</auxSend> - <auxSend idx=1>0.000000</auxSend> - <controller id="0" cur="1.021645"> + <sendMetronome>0</sendMetronome> + <automation>0</automation> + <controller id="0" cur="1.02164" color="#ff0000" visible="0"> + 0 1.02164, + </controller> + <controller id="1" cur="0" color="#ff0000" visible="0"> + 0 0, </controller> - <controller id="1" cur="0.000000"> + <controller id="2" cur="0" color="#0000ff" visible="0"> </controller> </AudioInput> <AudioOutput> @@ -384,26 +435,25 @@ <channels>1</channels> <height>20</height> <locked>1</locked> - <mute>0</mute> - <solo>0</solo> <prefader>0</prefader> - <off>0</off> - <controller id="0" cur="1.301517"> + <sendMetronome>0</sendMetronome> + <automation>0</automation> + <controller id="0" cur="1.30152" color="#ff0000" visible="0"> + 0 1.30152, + </controller> + <controller id="1" cur="0" color="#ff0000" visible="0"> + 0 0, </controller> - <controller id="1" cur="0.000000"> + <controller id="2" cur="0" color="#0000ff" visible="0"> </controller> </AudioOutput> <Route> - <srcNode>alsa_pcm:capture_1</srcNode> - <dstNode>1:Input 1</dstNode> + <source name="Input 1"/> + <dest name="Out 1"/> </Route> <Route> - <srcNode>Input 1</srcNode> - <dstNode>Out 1</dstNode> - </Route> - <Route> - <srcNode>Input 1</srcNode> - <dstNode>Track 1</dstNode> + <source name="Input 1"/> + <dest name="Track 1"/> </Route> <tempolist fix="500000"> <tempo at="21474837"> @@ -418,15 +468,15 @@ <denom>4</denom> </sig> </siglist> + <keylist fix="1"> + <key at="21474837"> + <tick>0</tick> + <val>1</val> + </key> + </keylist> <drummap> </drummap> </song> <toplevels> - <audiomixer> - <topwin> - <geometry x="1216" y="30" w="180" h="503"> - </geometry> - </topwin> - </audiomixer> </toplevels> </muse> diff --git a/muse2/share/templates/synti.med b/muse2/share/templates/synti.med index b5ad8908..1a14a9ce 100644 --- a/muse2/share/templates/synti.med +++ b/muse2/share/templates/synti.med @@ -1,577 +1,773 @@ <?xml version="1.0"?> <muse version="2.0"> <configuration> - <midiInputDevice>0</midiInputDevice> - <midiInputChannel>0</midiInputChannel> - <midiRecordType>0</midiRecordType> - <midiThruType>0</midiThruType> - <midiFilterCtrl1>0</midiFilterCtrl1> - <midiFilterCtrl2>0</midiFilterCtrl2> - <midiFilterCtrl3>0</midiFilterCtrl3> - <midiFilterCtrl4>0</midiFilterCtrl4> - <txDeviceId>127</txDeviceId> - <rxDeviceId>127</rxDeviceId> - <txSyncPort>1</txSyncPort> - <rxSyncPort>-1</rxSyncPort> - <mtctype>1</mtctype> - <mtcoffset>00:00:00:00:00</mtcoffset> - <extSync>0</extSync> - <genMTCSync>0</genMTCSync> - <genMCSync>0</genMCSync> - <genMMC>0</genMMC> - <acceptMTC>0</acceptMTC> - <acceptMMC>1</acceptMMC> - <acceptMC>1</acceptMC> - <transport visible=0> - </transport> - <bigtimeVisible>0</bigtimeVisible> - <arranger> - <info>0</info> - <split>298 296 </split> - <list> - <header> 7 6 5 4 3 2 1 0 </header> - </list> - <xpos>0</xpos> - <xmag>266</xmag> - <ypos>0</ypos> - </arranger> - <sequencer> - <metronom> - <premeasures>2</premeasures> - <measurepitch>63</measurepitch> - <measurevelo>127</measurevelo> - <beatpitch>63</beatpitch> - <beatvelo>70</beatvelo> - <channel>9</channel> - <port>0</port> - <precountEnable>1</precountEnable> - <fromMastertrack>1</fromMastertrack> - <signatureZ>4</signatureZ> - <signatureN>4</signatureN> - <prerecord>0</prerecord> - <preroll>0</preroll> - <midiClickEnable>1</midiClickEnable> - <audioClickEnable>0</audioClickEnable> - </metronom> - <rcEnable>0</rcEnable> - <rcStop>28</rcStop> - <rcRecord>31</rcRecord> - <rcGotoLeft>33</rcGotoLeft> - <rcPlay>29</rcPlay> - <midiport idx="0"> - <instrument>organ-1</instrument> - <name>organ-1</name> - <record>0</record> - <channel idx="0"> - <controller>1</controller> - <controller>7</controller> - <controller>10</controller> - <controller>11</controller> - <controller>64</controller> - <controller>91</controller> - <controller>93</controller> - <controller>120</controller> - <controller>121</controller> - <controller>123</controller> - <controller>262144</controller> - <controller>262145</controller> - </channel> - <channel idx="1"> - <controller>1</controller> - <controller>7</controller> - <controller>10</controller> - <controller>11</controller> - <controller>64</controller> - <controller>91</controller> - <controller>93</controller> - <controller>120</controller> - <controller>121</controller> - <controller>123</controller> - <controller>262144</controller> - <controller>262145</controller> - </channel> - <channel idx="2"> - <controller>1</controller> - <controller>7</controller> - <controller>10</controller> - <controller>11</controller> - <controller>64</controller> - <controller>91</controller> - <controller>93</controller> - <controller>120</controller> - <controller>121</controller> - <controller>123</controller> - <controller>262144</controller> - <controller>262145</controller> - </channel> - <channel idx="3"> - <controller>1</controller> - <controller>7</controller> - <controller>10</controller> - <controller>11</controller> - <controller>64</controller> - <controller>91</controller> - <controller>93</controller> - <controller>120</controller> - <controller>121</controller> - <controller>123</controller> - <controller>262144</controller> - <controller>262145</controller> - </channel> - <channel idx="4"> - <controller>1</controller> - <controller>7</controller> - <controller>10</controller> - <controller>11</controller> - <controller>64</controller> - <controller>91</controller> - <controller>93</controller> - <controller>120</controller> - <controller>121</controller> - <controller>123</controller> - <controller>262144</controller> - <controller>262145</controller> - </channel> - <channel idx="5"> - <controller>1</controller> - <controller>7</controller> - <controller>10</controller> - <controller>11</controller> - <controller>64</controller> - <controller>91</controller> - <controller>93</controller> - <controller>120</controller> - <controller>121</controller> - <controller>123</controller> - <controller>262144</controller> - <controller>262145</controller> - </channel> - <channel idx="6"> - <controller>1</controller> - <controller>7</controller> - <controller>10</controller> - <controller>11</controller> - <controller>64</controller> - <controller>91</controller> - <controller>93</controller> - <controller>120</controller> - <controller>121</controller> - <controller>123</controller> - <controller>262144</controller> - <controller>262145</controller> - </channel> - <channel idx="7"> - <controller>1</controller> - <controller>7</controller> - <controller>10</controller> - <controller>11</controller> - <controller>64</controller> - <controller>91</controller> - <controller>93</controller> - <controller>120</controller> - <controller>121</controller> - <controller>123</controller> - <controller>262144</controller> - <controller>262145</controller> - </channel> - <channel idx="8"> - <controller>1</controller> - <controller>7</controller> - <controller>10</controller> - <controller>11</controller> - <controller>64</controller> - <controller>91</controller> - <controller>93</controller> - <controller>120</controller> - <controller>121</controller> - <controller>123</controller> - <controller>262144</controller> - <controller>262145</controller> - </channel> - <channel idx="9"> - <controller>1</controller> - <controller>7</controller> - <controller>10</controller> - <controller>11</controller> - <controller>64</controller> - <controller>91</controller> - <controller>93</controller> - <controller>120</controller> - <controller>121</controller> - <controller>123</controller> - <controller>262144</controller> - <controller>262145</controller> - </channel> - <channel idx="10"> - <controller>1</controller> - <controller>7</controller> - <controller>10</controller> - <controller>11</controller> - <controller>64</controller> - <controller>91</controller> - <controller>93</controller> - <controller>120</controller> - <controller>121</controller> - <controller>123</controller> - <controller>262144</controller> - <controller>262145</controller> - </channel> - <channel idx="11"> - <controller>1</controller> - <controller>7</controller> - <controller>10</controller> - <controller>11</controller> - <controller>64</controller> - <controller>91</controller> - <controller>93</controller> - <controller>120</controller> - <controller>121</controller> - <controller>123</controller> - <controller>262144</controller> - <controller>262145</controller> - </channel> - <channel idx="12"> - <controller>1</controller> - <controller>7</controller> - <controller>10</controller> - <controller>11</controller> - <controller>64</controller> - <controller>91</controller> - <controller>93</controller> - <controller>120</controller> - <controller>121</controller> - <controller>123</controller> - <controller>262144</controller> - <controller>262145</controller> - </channel> - <channel idx="13"> - <controller>1</controller> - <controller>7</controller> - <controller>10</controller> - <controller>11</controller> - <controller>64</controller> - <controller>91</controller> - <controller>93</controller> - <controller>120</controller> - <controller>121</controller> - <controller>123</controller> - <controller>262144</controller> - <controller>262145</controller> - </channel> - <channel idx="14"> - <controller>1</controller> - <controller>7</controller> - <controller>10</controller> - <controller>11</controller> - <controller>64</controller> - <controller>91</controller> - <controller>93</controller> - <controller>120</controller> - <controller>121</controller> - <controller>123</controller> - <controller>262144</controller> - <controller>262145</controller> - </channel> - <channel idx="15"> - <controller>1</controller> - <controller>7</controller> - <controller>10</controller> - <controller>11</controller> - <controller>64</controller> - <controller>91</controller> - <controller>93</controller> - <controller>120</controller> - <controller>121</controller> - <controller>123</controller> - <controller>262144</controller> - <controller>262145</controller> - </channel> - </midiport> - <midiport idx="1"> - <instrument>fluid-1</instrument> - <name>fluid-1</name> - <record>0</record> - <channel idx="0"> - <controller>7</controller> - <controller>10</controller> - <controller>262145</controller> - </channel> - <channel idx="1"> - <controller>7</controller> - <controller>10</controller> - <controller>262145</controller> - </channel> - <channel idx="2"> - <controller>7</controller> - <controller>10</controller> - <controller>262145</controller> - </channel> - <channel idx="3"> - <controller>7</controller> - <controller>10</controller> - <controller>262145</controller> - </channel> - <channel idx="4"> - <controller>7</controller> - <controller>10</controller> - <controller>262145</controller> - </channel> - <channel idx="5"> - <controller>7</controller> - <controller>10</controller> - <controller>262145</controller> - </channel> - <channel idx="6"> - <controller>7</controller> - <controller>10</controller> - <controller>262145</controller> - </channel> - <channel idx="7"> - <controller>7</controller> - <controller>10</controller> - <controller>262145</controller> - </channel> - <channel idx="8"> - <controller>7</controller> - <controller>10</controller> - <controller>262145</controller> - </channel> - <channel idx="9"> - <controller>7</controller> - <controller>10</controller> - <controller>262145</controller> - </channel> - <channel idx="10"> - <controller>7</controller> - <controller>10</controller> - <controller>262145</controller> - </channel> - <channel idx="11"> - <controller>7</controller> - <controller>10</controller> - <controller>262145</controller> - </channel> - <channel idx="12"> - <controller>7</controller> - <controller>10</controller> - <controller>262145</controller> - </channel> - <channel idx="13"> - <controller>7</controller> - <controller>10</controller> - <controller>262145</controller> - </channel> - <channel idx="14"> - <controller>7</controller> - <controller>10</controller> - <controller>262145</controller> - </channel> - <channel idx="15"> - <controller>7</controller> - <controller>10</controller> - <controller>262145</controller> - </channel> - </midiport> - <midiport idx="2"> - <instrument>s1-1</instrument> - <name>s1-1</name> - <record>0</record> - <channel idx="0"> - <controller>7</controller> - <controller>10</controller> - <controller>262145</controller> - </channel> - <channel idx="1"> - <controller>7</controller> - <controller>10</controller> - <controller>262145</controller> - </channel> - <channel idx="2"> - <controller>7</controller> - <controller>10</controller> - <controller>262145</controller> - </channel> - <channel idx="3"> - <controller>7</controller> - <controller>10</controller> - <controller>262145</controller> - </channel> - <channel idx="4"> - <controller>7</controller> - <controller>10</controller> - <controller>262145</controller> - </channel> - <channel idx="5"> - <controller>7</controller> - <controller>10</controller> - <controller>262145</controller> - </channel> - <channel idx="6"> - <controller>7</controller> - <controller>10</controller> - <controller>262145</controller> - </channel> - <channel idx="7"> - <controller>7</controller> - <controller>10</controller> - <controller>262145</controller> - </channel> - <channel idx="8"> - <controller>7</controller> - <controller>10</controller> - <controller>262145</controller> - </channel> - <channel idx="9"> - <controller>7</controller> - <controller>10</controller> - <controller>262145</controller> - </channel> - <channel idx="10"> - <controller>7</controller> - <controller>10</controller> - <controller>262145</controller> - </channel> - <channel idx="11"> - <controller>7</controller> - <controller>10</controller> - <controller>262145</controller> - </channel> - <channel idx="12"> - <controller>7</controller> - <controller>10</controller> - <controller>262145</controller> - </channel> - <channel idx="13"> - <controller>7</controller> - <controller>10</controller> - <controller>262145</controller> - </channel> - <channel idx="14"> - <controller>7</controller> - <controller>10</controller> - <controller>262145</controller> - </channel> - <channel idx="15"> - <controller>7</controller> - <controller>10</controller> - <controller>262145</controller> - </channel> - </midiport> - <midiport idx="3"> - <instrument>vam-1</instrument> - <name>vam-1</name> - <record>0</record> - <channel idx="0"> - <controller>7</controller> - <controller>10</controller> - <controller>262145</controller> - </channel> - <channel idx="1"> - <controller>7</controller> - <controller>10</controller> - <controller>262145</controller> - </channel> - <channel idx="2"> - <controller>7</controller> - <controller>10</controller> - <controller>262145</controller> - </channel> - <channel idx="3"> - <controller>7</controller> - <controller>10</controller> - <controller>262145</controller> - </channel> - <channel idx="4"> - <controller>7</controller> - <controller>10</controller> - <controller>262145</controller> - </channel> - <channel idx="5"> - <controller>7</controller> - <controller>10</controller> - <controller>262145</controller> - </channel> - <channel idx="6"> - <controller>7</controller> - <controller>10</controller> - <controller>262145</controller> - </channel> - <channel idx="7"> - <controller>7</controller> - <controller>10</controller> - <controller>262145</controller> - </channel> - <channel idx="8"> - <controller>7</controller> - <controller>10</controller> - <controller>262145</controller> - </channel> - <channel idx="9"> - <controller>7</controller> - <controller>10</controller> - <controller>262145</controller> - </channel> - <channel idx="10"> - <controller>7</controller> - <controller>10</controller> - <controller>262145</controller> - </channel> - <channel idx="11"> - <controller>7</controller> - <controller>10</controller> - <controller>262145</controller> - </channel> - <channel idx="12"> - <controller>7</controller> - <controller>10</controller> - <controller>262145</controller> - </channel> - <channel idx="13"> - <controller>7</controller> - <controller>10</controller> - <controller>262145</controller> - </channel> - <channel idx="14"> - <controller>7</controller> - <controller>10</controller> - <controller>262145</controller> - </channel> - <channel idx="15"> - <controller>7</controller> - <controller>10</controller> - <controller>262145</controller> - </channel> - </midiport> - </sequencer> - <drumedit> - <quant>96</quant> - <raster>96</raster> - <width>600</width> - <height>400</height> - <dlistwidth>50</dlistwidth> - <dcanvaswidth>300</dcanvaswidth> - </drumedit> - <pianoroll> - <quant>96</quant> - <raster>96</raster> - <quantStrength>80</quantStrength> - <quantLimit>50</quantLimit> - <quantLen>0</quantLen> - <to>0</to> - <width>600</width> - <height>400</height> - <colormode>0</colormode> - </pianoroll> - <masteredit> - <raster>0</raster> - </masteredit> - <waveedit> - <bgcolor r="169" g="181" b="223"></bgcolor> - <width>600</width> - <height>400</height> - </waveedit> - </configuration> + <midiInputDevice>0</midiInputDevice> + <midiInputChannel>0</midiInputChannel> + <midiRecordType>0</midiRecordType> + <midiThruType>0</midiThruType> + <midiFilterCtrl1>0</midiFilterCtrl1> + <midiFilterCtrl2>0</midiFilterCtrl2> + <midiFilterCtrl3>0</midiFilterCtrl3> + <midiFilterCtrl4>0</midiFilterCtrl4> + <waveTracksVisible>1</waveTracksVisible> + <auxTracksVisible>1</auxTracksVisible> + <groupTracksVisible>1</groupTracksVisible> + <midiTracksVisible>1</midiTracksVisible> + <inputTracksVisible>1</inputTracksVisible> + <outputTracksVisible>1</outputTracksVisible> + <synthTracksVisible>1</synthTracksVisible> + <mtctype>1</mtctype> + <mtcoffset>00:00:00:00:00</mtcoffset> + <sendClockDelay>1</sendClockDelay> + <useJackTransport>1</useJackTransport> + <jackTransportMaster>1</jackTransportMaster> + <extSync>0</extSync> + <bigtimeVisible>0</bigtimeVisible> + <transportVisible>0</transportVisible> + <markerVisible>0</markerVisible> + <geometryMain x="0" y="0" w="878" h="468"></geometryMain> + <geometryTransport x="0" y="0" w="100" h="30"></geometryTransport> + <mixer1Visible>0</mixer1Visible> + <mixer2Visible>0</mixer2Visible> + <arranger> + <info>0</info> + <split>298 298 </split> + <list> + <header> 7 6 5 4 3 2 1 0 8 </header> + </list> + <xpos>0</xpos> + <xmag>266</xmag> + <ypos>0</ypos> + </arranger> + <sequencer> + <metronom> + <premeasures>2</premeasures> + <measurepitch>63</measurepitch> + <measurevelo>127</measurevelo> + <beatpitch>63</beatpitch> + <beatvelo>70</beatvelo> + <channel>9</channel> + <port>0</port> + <precountEnable>0</precountEnable> + <fromMastertrack>0</fromMastertrack> + <signatureZ>4</signatureZ> + <signatureN>4</signatureN> + <prerecord>0</prerecord> + <preroll>0</preroll> + <midiClickEnable>1</midiClickEnable> + <audioClickEnable>0</audioClickEnable> + <audioClickVolume>0.5</audioClickVolume> + </metronom> + <rcEnable>0</rcEnable> + <rcStop>28</rcStop> + <rcRecord>31</rcRecord> + <rcGotoLeft>33</rcGotoLeft> + <rcPlay>29</rcPlay> + <midiport idx="0"> + <defaultOutChans>1</defaultOutChans> + <instrument>organ-1</instrument> + <name>organ-1</name> + <type>2</type> + <openFlags>1</openFlags> + <channel idx="0"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="91"> + </controller> + <controller id="93"> + </controller> + <controller id="262144"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="1"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="91"> + </controller> + <controller id="93"> + </controller> + <controller id="262144"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="2"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="91"> + </controller> + <controller id="93"> + </controller> + <controller id="262144"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="3"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="91"> + </controller> + <controller id="93"> + </controller> + <controller id="262144"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="4"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="91"> + </controller> + <controller id="93"> + </controller> + <controller id="262144"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="5"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="91"> + </controller> + <controller id="93"> + </controller> + <controller id="262144"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="6"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="91"> + </controller> + <controller id="93"> + </controller> + <controller id="262144"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="7"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="91"> + </controller> + <controller id="93"> + </controller> + <controller id="262144"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="8"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="91"> + </controller> + <controller id="93"> + </controller> + <controller id="262144"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="9"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="91"> + </controller> + <controller id="93"> + </controller> + <controller id="262144"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="10"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="91"> + </controller> + <controller id="93"> + </controller> + <controller id="262144"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="11"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="91"> + </controller> + <controller id="93"> + </controller> + <controller id="262144"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="12"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="91"> + </controller> + <controller id="93"> + </controller> + <controller id="262144"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="13"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="91"> + </controller> + <controller id="93"> + </controller> + <controller id="262144"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="14"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="91"> + </controller> + <controller id="93"> + </controller> + <controller id="262144"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="15"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="91"> + </controller> + <controller id="93"> + </controller> + <controller id="262144"> + </controller> + <controller id="262145"> + </controller> + </channel> + </midiport> + <midiport idx="1"> + <instrument>fluid-1</instrument> + <name>fluid-1</name> + <type>2</type> + <openFlags>1</openFlags> + <channel idx="0"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="1"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="2"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="3"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="4"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="5"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="6"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="7"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="8"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="9"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="10"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="11"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="12"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="13"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="14"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="15"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="262145"> + </controller> + </channel> + </midiport> + <midiport idx="2"> + <instrument>General Midi</instrument> + <channel idx="0"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="1"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="2"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="3"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="4"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="5"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="6"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="7"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="8"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="9"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="10"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="11"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="12"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="13"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="14"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="15"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="262145"> + </controller> + </channel> + </midiport> + <midiport idx="3"> + <instrument>vam-1</instrument> + <name>vam-1</name> + <type>2</type> + <openFlags>1</openFlags> + <channel idx="0"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="1"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="2"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="3"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="4"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="5"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="6"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="7"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="8"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="9"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="10"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="11"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="12"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="13"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="14"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="262145"> + </controller> + </channel> + <channel idx="15"> + <controller id="7"> + </controller> + <controller id="10"> + </controller> + <controller id="262145"> + </controller> + </channel> + </midiport> + </sequencer> + <drumedit> + <raster>96</raster> + <width>883</width> + <height>465</height> + <dlistwidth>126</dlistwidth> + <dcanvaswidth>753</dcanvaswidth> + <toolbars>000000ff00000000fd00000000000003730000015c00000004000000040000000800000008fc00000004000000020000000400000014004400720075006d00200074006f006f006c00730100000000000000d1000000000000000000000014004500640069007400200054006f006f006c007301000000d1000000c8000000000000000000000012007400720061006e00730070006f0072007401000001990000018400000000000000000000000a00700061006e00690063010000031dffffffff00000000000000000000000200000000000000020000000100000012004e006f0074006500200049006e0066006f0100000000ffffffff000000000000000000000002000000020000000c0063007500720073006f00720100000000ffffffff0000000000000000000000260050006f0073002f0053006e00610070002f0053006f006c006f002d0074006f006f006c00730100000083ffffffff0000000000000000</toolbars> + </drumedit> + <pianoroll> + <raster>96</raster> + <width>879</width> + <height>467</height> + <colormode>0</colormode> + <toolbars>000000ff00000000fd000000000000036f0000017800000004000000040000000800000008fc00000006000000020000000000000002000000000000000200000000000000020000000000000002000000030000001e005000690061006e006f0072006f006c006c00200074006f006f006c00730100000000ffffffff000000000000000000000014004500640069007400200054006f006f006c00730100000091ffffffff000000000000000000000012004e006f0074006500200049006e0066006f0100000103ffffffff00000000000000000000000200000003000000260050006f0073002f0053006e00610070002f0053006f006c006f002d0074006f006f006c007301000000000000024c000000000000000000000012007400720061006e00730070006f00720074010000024c000000fc00000000000000000000000a00700061006e006900630100000348ffffffff0000000000000000</toolbars> + </pianoroll> + <scoreedit> + <width>880</width> + <height>466</height> + <toolbars>000000ff00000000fd00000000000003700000018500000004000000040000000800000008fc0000000200000002000000030000001e0055006e0064006f002f005200650064006f00200074006f006f006c00730100000000ffffffff000000000000000000000014004500640069007400200054006f006f006c00730100000040ffffffff000000000000000000000022004e006500770020006e006f00740065002000730065007400740069006e006700730100000099ffffffff000000000000000000000002000000030000002a005100750061006e007400690073006100740069006f006e002000730065007400740069006e0067007301000000000000024a000000000000000000000012007400720061006e00730070006f00720074010000024a000000fc00000000000000000000000a00700061006e0069006301000003460000011f0000000000000000</toolbars> + </scoreedit> + <masteredit> + <raster>0</raster> + <width>875</width> + <height>464</height> + <toolbars>000000ff00000000fd000000000000036b000001a400000004000000040000000800000008fc000000010000000200000004ffffffff0100000000ffffffff000000000000000000000014004500640069007400200054006f006f006c00730100000040ffffffff0000000000000000ffffffff0100000099ffffffff0000000000000000ffffffff01000000faffffffff0000000000000000</toolbars> + </masteredit> + <waveedit> + <bgcolor r="200" g="200" b="200"></bgcolor> + <width>883</width> + <height>466</height> + <toolbars>000000ff00000000fd0000000000000373000001a100000004000000040000000800000008fc0000000200000002000000030000001e00570061007600650020006500640069007400200074006f006f006c00730100000000ffffffff00000000000000000000001c0057006100760065004500640069007400200074006f006f006c007301000000400000023b000000000000000000000012007400720061006e00730070006f00720074010000027b0000003900000000000000000000000200000000</toolbars> + </waveedit> + <dialogs> + <mod_len> + <range>1</range> + <offset>0</offset> + <rate>100</rate> + </mod_len> + <mod_velo> + <range>1</range> + <offset>0</offset> + <rate>100</rate> + </mod_velo> + <quantize> + <range>1</range> + <strength>90</strength> + <threshold>0</threshold> + <raster>3</raster> + <swing>0</swing> + <quant_len>1</quant_len> + </quantize> + <erase> + <range>1</range> + </erase> + <del_overlaps> + <range>1</range> + </del_overlaps> + <setlen> + <range>1</range> + <len>384</len> + </setlen> + <move> + <range>1</range> + <amount>0</amount> + </move> + <transpose> + <range>1</range> + <amount>0</amount> + </transpose> + </dialogs> + </configuration> <song> + <info></info> + <showinfo>1</showinfo> <automation>0</automation> <cpos>12288</cpos> <rpos>0</rpos> @@ -589,6 +785,7 @@ <quantize>0</quantize> <len>18432</len> <follow>1</follow> + <sampleRate>44100</sampleRate> <miditrack> <name>Track 1</name> <record>0</record> @@ -600,15 +797,14 @@ <locked>0</locked> <device>0</device> <channel>0</channel> - <inportMap>65535</inportMap> - <inchannelMap>65535</inchannelMap> <locked>0</locked> + <echo>1</echo> <transposition>0</transposition> <velocity>0</velocity> <delay>0</delay> <len>100</len> <compression>100</compression> - <midiThru>1</midiThru> + <automation>1</automation> <part> <name>Track 1</name> <poslen tick="0" len="18432" /> @@ -626,13 +822,16 @@ <height>20</height> <locked>0</locked> <selected>1</selected> - <mute>0</mute> - <solo>0</solo> <prefader>0</prefader> - <off>0</off> - <controller id="0" cur="1.021645"> + <sendMetronome>0</sendMetronome> + <automation>0</automation> + <controller id="0" cur="1.02164" color="#ff0000" visible="0"> + 0 1.02164, </controller> - <controller id="1" cur="0.000000"> + <controller id="1" cur="0" color="#ff0000" visible="0"> + 0 0, + </controller> + <controller id="2" cur="0" color="#0000ff" visible="0"> </controller> </AudioOutput> <SynthI> @@ -643,24 +842,23 @@ <off>1</off> <channels>2</channels> <height>20</height> - <locked>124</locked> - <mute>0</mute> - <solo>0</solo> + <locked>1</locked> <prefader>0</prefader> - <off>1</off> - <controller id="0" cur="1.410912"> + <sendMetronome>0</sendMetronome> + <automation>0</automation> + <controller id="0" cur="1.41091" color="#ff0000" visible="0"> + 0 1.41091, + </controller> + <controller id="1" cur="0" color="#ff0000" visible="0"> + 0 0, </controller> - <controller id="1" cur="0.000000"> + <controller id="2" cur="0" color="#0000ff" visible="0"> </controller> <class>fluid</class> + <label>fluid</label> <port>1</port> - <guiVisible>0</guiVisible> - <midistate> - <event type="2" datalen="30"> - 7c 00 01 2f 68 6f 6d 65 2f 77 73 2f 73 66 6f 6e - 74 2f 46 6c 75 69 64 52 33 2e 53 46 32 00 - </event> - </midistate> + <nativeGuiVisible>0</nativeGuiVisible> + <curProgram bankH="0" bankL="0" prog="0"/> </SynthI> <SynthI> <name>organ-1</name> @@ -671,53 +869,34 @@ <channels>1</channels> <height>20</height> <locked>0</locked> - <mute>0</mute> - <solo>0</solo> <prefader>0</prefader> - <off>0</off> - <controller id="0" cur="1.021645"> + <sendMetronome>0</sendMetronome> + <automation>0</automation> + <controller id="0" cur="1.02164" color="#ff0000" visible="0"> + 0 1.02164, + </controller> + <controller id="1" cur="-0.04" color="#ff0000" visible="0"> + 0 -0.04, </controller> - <controller id="1" cur="-0.040000"> + <controller id="2" cur="0" color="#0000ff" visible="0"> </controller> <class>organ</class> + <label>Organ</label> <port>0</port> - <guiVisible>0</guiVisible> + <nativeGuiVisible>0</nativeGuiVisible> + <nativeGeometry x="6" y="339" w="452" h="324"></nativeGeometry> + <curProgram bankH="0" bankL="0" prog="0"/> <midistate> - <event type="2" datalen="136"> - 00 00 03 00 ff 3f 00 00 01 00 03 00 ff 3f 00 00 - 02 00 03 00 ff 3f 00 00 03 00 03 00 ff 3f 00 00 - 04 00 03 00 ff 3f 00 00 05 00 03 00 ff 3f 00 00 - 06 00 03 00 a2 00 00 00 07 00 03 00 00 00 00 00 - 08 00 03 00 ff 3f 00 00 09 00 03 00 fe 1f 00 00 - 0a 00 03 00 a2 00 00 00 0b 00 03 00 00 00 00 00 - 0c 00 03 00 ff 3f 00 00 0d 00 03 00 fe 1f 00 00 - 0e 00 03 00 01 00 00 00 0f 00 03 00 01 00 00 00 - 10 00 03 00 01 00 00 00 + <event type="2" datalen="72"> + 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 + 00 00 00 00 00 00 00 00 14 00 00 00 14 00 00 00 + 00 00 00 00 14 00 00 00 0a 00 00 00 0a 00 00 00 + 00 00 00 00 0a 00 00 00 01 00 00 00 01 00 00 00 + 01 00 00 00 00 00 00 00 </event> </midistate> </SynthI> <SynthI> - <name>s1-1</name> - <record>0</record> - <mute>0</mute> - <solo>0</solo> - <off>1</off> - <channels>1</channels> - <height>20</height> - <locked>11</locked> - <mute>0</mute> - <solo>0</solo> - <prefader>0</prefader> - <off>1</off> - <controller id="0" cur="0.000000"> - </controller> - <controller id="1" cur="0.000000"> - </controller> - <class>s1</class> - <port>2</port> - <guiVisible>0</guiVisible> - </SynthI> - <SynthI> <name>vam-1</name> <record>0</record> <mute>0</mute> @@ -726,41 +905,79 @@ <channels>1</channels> <height>20</height> <locked>0</locked> - <mute>0</mute> - <solo>0</solo> <prefader>0</prefader> - <off>1</off> - <controller id="0" cur="0.000000"> + <sendMetronome>0</sendMetronome> + <automation>0</automation> + <controller id="0" cur="0" color="#ff0000" visible="0"> + 0 0, + </controller> + <controller id="1" cur="0" color="#ff0000" visible="0"> + 0 0, </controller> - <controller id="1" cur="0.000000"> + <controller id="2" cur="0" color="#0000ff" visible="0"> </controller> <class>vam</class> + <label>vam</label> <port>3</port> - <guiVisible>0</guiVisible> + <nativeGuiVisible>0</nativeGuiVisible> + <nativeGeometry x="270" y="179" w="688" h="498"></nativeGeometry> + <curProgram bankH="0" bankL="0" prog="0"/> + <midistate> + <event type="2" datalen="128"> + 00 20 00 00 00 20 00 00 01 00 00 00 01 00 00 00 + 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 + 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 + fe 3e 00 00 fe 3e 00 00 00 00 00 00 00 00 00 00 + 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 + 00 00 00 00 00 00 00 00 00 00 00 00 ff 3f 00 00 + 00 00 00 00 00 00 00 00 00 00 00 00 7a 3a 00 00 + 00 20 00 00 00 20 00 00 00 00 00 00 00 00 00 00 + </event> + </midistate> </SynthI> - <Route> - <srcNode>1:Out 1</srcNode> - <dstNode>alsa_pcm:playback_1</dstNode> + <Route channel="0" channels="2"> + <source name="fluid-1"/> + <dest name="Out 1"/> + </Route> + <Route channel="0" channels="1"> + <source name="organ-1"/> + <dest name="Out 1"/> + </Route> + <Route channel="0" channels="1"> + <source name="vam-1"/> + <dest name="Out 1"/> + </Route> + <Route channelMask="65535"> + <source mport="0"/> + <dest name="Track 1"/> </Route> - <Route> - <srcNode>2:Out 1</srcNode> - <dstNode>alsa_pcm:playback_2</dstNode> + <Route channelMask="65535"> + <source mport="0"/> + <dest name="Track 1"/> </Route> - <Route> - <srcNode>fluid-1</srcNode> - <dstNode>Out 1</dstNode> + <Route channelMask="65535"> + <source mport="1"/> + <dest name="Track 1"/> </Route> - <Route> - <srcNode>organ-1</srcNode> - <dstNode>Out 1</dstNode> + <Route channelMask="65535"> + <source mport="1"/> + <dest name="Track 1"/> </Route> - <Route> - <srcNode>s1-1</srcNode> - <dstNode>Out 1</dstNode> + <Route channelMask="65535"> + <source mport="2"/> + <dest name="Track 1"/> </Route> - <Route> - <srcNode>vam-1</srcNode> - <dstNode>Out 1</dstNode> + <Route channelMask="65535"> + <source mport="2"/> + <dest name="Track 1"/> + </Route> + <Route channelMask="65535"> + <source mport="3"/> + <dest name="Track 1"/> + </Route> + <Route channelMask="65535"> + <source mport="3"/> + <dest name="Track 1"/> </Route> <tempolist fix="500000"> <tempo at="21474837"> @@ -775,35 +992,15 @@ <denom>4</denom> </sig> </siglist> + <keylist fix="1"> + <key at="21474837"> + <tick>0</tick> + <val>1</val> + </key> + </keylist> <drummap> </drummap> </song> <toplevels> - <audiomixer> - <topwin> - </geometry> - </topwin> - </audiomixer> - <part>0:0</part> - <pianoroll> - <midieditor> - <topwin> - </topwin> - <quant>96</quant> - <raster>96</raster> - </midieditor> - <splitter>255 </splitter> - <steprec>0</steprec> - <midiin>0</midiin> - <tool>1</tool> - <quantStrength>80</quantStrength> - <quantLimit>50</quantLimit> - <quantLen>0</quantLen> - <playEvents>0</playEvents> - <xpos>0</xpos> - <xmag>346</xmag> - <ypos>390</ypos> - <ymag>286</ymag> - </pianoroll> </toplevels> </muse> |