replaced basic and advanced workspaces with default
This commit is contained in:
parent
ef4f173842
commit
3969fb33a0
8 changed files with 481 additions and 1274 deletions
|
@ -20,11 +20,18 @@
|
|||
|
||||
#include "settings.h"
|
||||
|
||||
#include "workspacetypes.h"
|
||||
|
||||
using namespace mu;
|
||||
using namespace mu::workspace;
|
||||
using namespace mu::framework;
|
||||
|
||||
static const Settings::Key CURRENT_WORKSPACE("workspace", "application/workspacer");
|
||||
static const Settings::Key CURRENT_WORKSPACE("workspace", "application/workspace");
|
||||
|
||||
void WorkspaceConfiguration::init()
|
||||
{
|
||||
settings()->setDefaultValue(CURRENT_WORKSPACE, Val(std::string(DEFAULT_WORKSPACE_NAME)));
|
||||
}
|
||||
|
||||
std::vector<io::path> WorkspaceConfiguration::workspacePaths() const
|
||||
{
|
||||
|
|
|
@ -32,6 +32,7 @@ class WorkspaceConfiguration : public IWorkspaceConfiguration
|
|||
INJECT(workspace, extensions::IExtensionsConfiguration, extensionsConfiguration)
|
||||
|
||||
public:
|
||||
void init();
|
||||
|
||||
std::vector<io::path> workspacePaths() const override;
|
||||
std::string currentWorkspaceName() const override;
|
||||
|
|
|
@ -26,9 +26,6 @@ using namespace mu;
|
|||
using namespace mu::workspace;
|
||||
using namespace mu::extensions;
|
||||
|
||||
static const std::string WORKSPACE_BASIC("Basic");
|
||||
static const std::string WORKSPACE_ADVANCED("Advanced");
|
||||
|
||||
RetValCh<std::shared_ptr<IWorkspace> > WorkspaceManager::currentWorkspace() const
|
||||
{
|
||||
RetValCh<std::shared_ptr<IWorkspace> > rv;
|
||||
|
@ -92,8 +89,8 @@ void WorkspaceManager::setupCurrentWorkspace()
|
|||
|
||||
std::shared_ptr<Workspace> w = findAndInit(wsname);
|
||||
if (!w) {
|
||||
LOGW() << "filed get workspace: " << wsname << ", will use Basic";
|
||||
w = findAndInit(WORKSPACE_BASIC);
|
||||
LOGW() << "filed get workspace: " << wsname << ", will use Default";
|
||||
w = findAndInit(std::string(DEFAULT_WORKSPACE_NAME));
|
||||
}
|
||||
|
||||
// IF_ASSERT_FAILED(w) {
|
||||
|
|
|
@ -29,8 +29,9 @@
|
|||
|
||||
using namespace mu::workspace;
|
||||
|
||||
static std::shared_ptr<WorkspaceManager> m_manager = std::make_shared<WorkspaceManager>();
|
||||
static std::shared_ptr<WorkspaceDataStreamRegister> m_sregister = std::make_shared<WorkspaceDataStreamRegister>();
|
||||
static std::shared_ptr<WorkspaceManager> s_manager = std::make_shared<WorkspaceManager>();
|
||||
static std::shared_ptr<WorkspaceDataStreamRegister> s_streamRegister = std::make_shared<WorkspaceDataStreamRegister>();
|
||||
static std::shared_ptr<WorkspaceConfiguration> s_configuration = std::make_shared<WorkspaceConfiguration>();
|
||||
|
||||
std::string WorkspaceModule::moduleName() const
|
||||
{
|
||||
|
@ -39,18 +40,19 @@ std::string WorkspaceModule::moduleName() const
|
|||
|
||||
void WorkspaceModule::registerExports()
|
||||
{
|
||||
framework::ioc()->registerExport<IWorkspaceConfiguration>(moduleName(), new WorkspaceConfiguration());
|
||||
framework::ioc()->registerExport<IWorkspaceManager>(moduleName(), m_manager);
|
||||
framework::ioc()->registerExport<WorkspaceDataStreamRegister>(moduleName(), m_sregister);
|
||||
framework::ioc()->registerExport<IWorkspaceConfiguration>(moduleName(), s_configuration);
|
||||
framework::ioc()->registerExport<IWorkspaceManager>(moduleName(), s_manager);
|
||||
framework::ioc()->registerExport<WorkspaceDataStreamRegister>(moduleName(), s_streamRegister);
|
||||
}
|
||||
|
||||
void WorkspaceModule::resolveImports()
|
||||
{
|
||||
m_sregister->regStream("Preferences", std::make_shared<WorkspaceSettingsStream>());
|
||||
m_sregister->regStream("Toolbar", std::make_shared<WorkspaceSettingsStream>());
|
||||
s_streamRegister->regStream("Preferences", std::make_shared<WorkspaceSettingsStream>());
|
||||
s_streamRegister->regStream("Toolbar", std::make_shared<WorkspaceToolbarStream>());
|
||||
}
|
||||
|
||||
void WorkspaceModule::onInit()
|
||||
{
|
||||
m_manager->init();
|
||||
s_configuration->init();
|
||||
s_manager->init();
|
||||
}
|
||||
|
|
|
@ -46,6 +46,8 @@ struct ToolbarData : public AbstractData
|
|||
std::vector<std::string /*action*/> actions;
|
||||
};
|
||||
}
|
||||
|
||||
static constexpr std::string_view DEFAULT_WORKSPACE_NAME("Default");
|
||||
}
|
||||
|
||||
#endif // MU_WORKSPACE_WORKSPACETYPES_H
|
||||
|
|
|
@ -1,945 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<museScore version="3.00">
|
||||
<Workspace>
|
||||
<source>Basic</source>
|
||||
<PaletteBox>
|
||||
<Palette name="Clefs">
|
||||
<type>Clef</type>
|
||||
<gridWidth>35</gridWidth>
|
||||
<gridHeight>50</gridHeight>
|
||||
<mag>0.8</mag>
|
||||
<moreElements>1</moreElements>
|
||||
<yoffset>1</yoffset>
|
||||
<Cell name="Treble clef">
|
||||
<staff>1</staff>
|
||||
<Clef>
|
||||
<concertClefType>G</concertClefType>
|
||||
<transposingClefType>G</transposingClefType>
|
||||
</Clef>
|
||||
</Cell>
|
||||
<Cell name="Bass clef">
|
||||
<staff>1</staff>
|
||||
<Clef>
|
||||
<concertClefType>F</concertClefType>
|
||||
<transposingClefType>F</transposingClefType>
|
||||
</Clef>
|
||||
</Cell>
|
||||
<Cell name="Alto clef">
|
||||
<staff>1</staff>
|
||||
<Clef>
|
||||
<concertClefType>C3</concertClefType>
|
||||
<transposingClefType>C3</transposingClefType>
|
||||
</Clef>
|
||||
</Cell>
|
||||
<Cell name="Tenor clef">
|
||||
<staff>1</staff>
|
||||
<Clef>
|
||||
<concertClefType>C4</concertClefType>
|
||||
<transposingClefType>C4</transposingClefType>
|
||||
</Clef>
|
||||
</Cell>
|
||||
</Palette>
|
||||
<Palette name="Key Signatures">
|
||||
<type>KeySig</type>
|
||||
<gridWidth>56</gridWidth>
|
||||
<gridHeight>55</gridHeight>
|
||||
<mag>1</mag>
|
||||
<moreElements>1</moreElements>
|
||||
<yoffset>1</yoffset>
|
||||
<Cell name="G major, E minor">
|
||||
<staff>1</staff>
|
||||
<KeySig>
|
||||
<accidental>1</accidental>
|
||||
</KeySig>
|
||||
</Cell>
|
||||
<Cell name="D major, B minor">
|
||||
<staff>1</staff>
|
||||
<KeySig>
|
||||
<accidental>2</accidental>
|
||||
</KeySig>
|
||||
</Cell>
|
||||
<Cell name="A major, F♯ minor">
|
||||
<staff>1</staff>
|
||||
<KeySig>
|
||||
<accidental>3</accidental>
|
||||
</KeySig>
|
||||
</Cell>
|
||||
<Cell name="E major, C♯ minor">
|
||||
<staff>1</staff>
|
||||
<KeySig>
|
||||
<accidental>4</accidental>
|
||||
</KeySig>
|
||||
</Cell>
|
||||
<Cell name="B major, G♯ minor">
|
||||
<staff>1</staff>
|
||||
<KeySig>
|
||||
<accidental>5</accidental>
|
||||
</KeySig>
|
||||
</Cell>
|
||||
<Cell name="F♯ major, D♯ minor">
|
||||
<staff>1</staff>
|
||||
<KeySig>
|
||||
<accidental>6</accidental>
|
||||
</KeySig>
|
||||
</Cell>
|
||||
<Cell name="C♯ major, A♯ minor">
|
||||
<staff>1</staff>
|
||||
<KeySig>
|
||||
<accidental>7</accidental>
|
||||
</KeySig>
|
||||
</Cell>
|
||||
<Cell name="C♭ major, A♭ minor">
|
||||
<staff>1</staff>
|
||||
<KeySig>
|
||||
<accidental>-7</accidental>
|
||||
</KeySig>
|
||||
</Cell>
|
||||
<Cell name="G♭ major, E♭ minor">
|
||||
<staff>1</staff>
|
||||
<KeySig>
|
||||
<accidental>-6</accidental>
|
||||
</KeySig>
|
||||
</Cell>
|
||||
<Cell name="D♭ major, B♭ minor">
|
||||
<staff>1</staff>
|
||||
<KeySig>
|
||||
<accidental>-5</accidental>
|
||||
</KeySig>
|
||||
</Cell>
|
||||
<Cell name="A♭ major, F minor">
|
||||
<staff>1</staff>
|
||||
<KeySig>
|
||||
<accidental>-4</accidental>
|
||||
</KeySig>
|
||||
</Cell>
|
||||
<Cell name="E♭ major, C minor">
|
||||
<staff>1</staff>
|
||||
<KeySig>
|
||||
<accidental>-3</accidental>
|
||||
</KeySig>
|
||||
</Cell>
|
||||
<Cell name="B♭ major, G minor">
|
||||
<staff>1</staff>
|
||||
<KeySig>
|
||||
<accidental>-2</accidental>
|
||||
</KeySig>
|
||||
</Cell>
|
||||
<Cell name="F major, D minor">
|
||||
<staff>1</staff>
|
||||
<KeySig>
|
||||
<accidental>-1</accidental>
|
||||
</KeySig>
|
||||
</Cell>
|
||||
<Cell name="C major, A minor">
|
||||
<staff>1</staff>
|
||||
<KeySig>
|
||||
<accidental>0</accidental>
|
||||
</KeySig>
|
||||
</Cell>
|
||||
</Palette>
|
||||
<Palette name="Time Signatures">
|
||||
<type>TimeSig</type>
|
||||
<gridWidth>42</gridWidth>
|
||||
<gridHeight>38</gridHeight>
|
||||
<mag>0.8</mag>
|
||||
<moreElements>1</moreElements>
|
||||
<Cell name="2/4">
|
||||
<staff>1</staff>
|
||||
<TimeSig>
|
||||
<sigN>2</sigN>
|
||||
<sigD>4</sigD>
|
||||
</TimeSig>
|
||||
</Cell>
|
||||
<Cell name="3/4">
|
||||
<staff>1</staff>
|
||||
<TimeSig>
|
||||
<sigN>3</sigN>
|
||||
<sigD>4</sigD>
|
||||
</TimeSig>
|
||||
</Cell>
|
||||
<Cell name="4/4">
|
||||
<staff>1</staff>
|
||||
<TimeSig>
|
||||
<sigN>4</sigN>
|
||||
<sigD>4</sigD>
|
||||
</TimeSig>
|
||||
</Cell>
|
||||
<Cell name="5/4">
|
||||
<staff>1</staff>
|
||||
<TimeSig>
|
||||
<sigN>5</sigN>
|
||||
<sigD>4</sigD>
|
||||
</TimeSig>
|
||||
</Cell>
|
||||
<Cell name="6/4">
|
||||
<staff>1</staff>
|
||||
<TimeSig>
|
||||
<sigN>6</sigN>
|
||||
<sigD>4</sigD>
|
||||
</TimeSig>
|
||||
</Cell>
|
||||
<Cell name="3/8">
|
||||
<staff>1</staff>
|
||||
<TimeSig>
|
||||
<sigN>3</sigN>
|
||||
<sigD>8</sigD>
|
||||
</TimeSig>
|
||||
</Cell>
|
||||
<Cell name="6/8">
|
||||
<staff>1</staff>
|
||||
<TimeSig>
|
||||
<sigN>6</sigN>
|
||||
<sigD>8</sigD>
|
||||
</TimeSig>
|
||||
</Cell>
|
||||
<Cell name="9/8">
|
||||
<staff>1</staff>
|
||||
<TimeSig>
|
||||
<sigN>9</sigN>
|
||||
<sigD>8</sigD>
|
||||
</TimeSig>
|
||||
</Cell>
|
||||
<Cell name="12/8">
|
||||
<staff>1</staff>
|
||||
<TimeSig>
|
||||
<sigN>12</sigN>
|
||||
<sigD>8</sigD>
|
||||
</TimeSig>
|
||||
</Cell>
|
||||
<Cell name="4/4 common time">
|
||||
<staff>1</staff>
|
||||
<TimeSig>
|
||||
<subtype>1</subtype>
|
||||
<sigN>4</sigN>
|
||||
<sigD>4</sigD>
|
||||
</TimeSig>
|
||||
</Cell>
|
||||
<Cell name="2/2 alla breve">
|
||||
<staff>1</staff>
|
||||
<TimeSig>
|
||||
<subtype>2</subtype>
|
||||
<sigN>2</sigN>
|
||||
<sigD>2</sigD>
|
||||
</TimeSig>
|
||||
</Cell>
|
||||
</Palette>
|
||||
<Palette name="Accidentals">
|
||||
<type>Accidental</type>
|
||||
<gridWidth>33</gridWidth>
|
||||
<gridHeight>36</gridHeight>
|
||||
<mag>1</mag>
|
||||
<grid>1</grid>
|
||||
<moreElements>1</moreElements>
|
||||
<Cell name="No symbol">
|
||||
<Accidental>
|
||||
<subtype>noSym</subtype>
|
||||
</Accidental>
|
||||
</Cell>
|
||||
<Cell name="Sharp">
|
||||
<Accidental>
|
||||
<subtype>accidentalSharp</subtype>
|
||||
</Accidental>
|
||||
</Cell>
|
||||
<Cell name="Flat">
|
||||
<Accidental>
|
||||
<subtype>accidentalFlat</subtype>
|
||||
</Accidental>
|
||||
</Cell>
|
||||
<Cell name="Natural">
|
||||
<Accidental>
|
||||
<subtype>accidentalNatural</subtype>
|
||||
</Accidental>
|
||||
</Cell>
|
||||
<Cell name="Add brackets to accidental">
|
||||
<Icon>
|
||||
<subtype>21</subtype>
|
||||
<action>add-brackets</action>
|
||||
</Icon>
|
||||
</Cell>
|
||||
<Cell name="Add parentheses to element">
|
||||
<Icon>
|
||||
<subtype>22</subtype>
|
||||
<action>add-parentheses</action>
|
||||
</Icon>
|
||||
</Cell>
|
||||
</Palette>
|
||||
<Palette name="Articulations">
|
||||
<type>Articulation</type>
|
||||
<gridWidth>42</gridWidth>
|
||||
<gridHeight>25</gridHeight>
|
||||
<mag>1</mag>
|
||||
<grid>1</grid>
|
||||
<moreElements>1</moreElements>
|
||||
<Cell name="Fermata above">
|
||||
<Fermata>
|
||||
<subtype>fermataAbove</subtype>
|
||||
</Fermata>
|
||||
</Cell>
|
||||
<Cell name="Accent above">
|
||||
<Articulation>
|
||||
<subtype>articAccentAbove</subtype>
|
||||
</Articulation>
|
||||
</Cell>
|
||||
<Cell name="Staccato above">
|
||||
<Articulation>
|
||||
<subtype>articStaccatoAbove</subtype>
|
||||
</Articulation>
|
||||
</Cell>
|
||||
<Cell name="Tenuto above">
|
||||
<Articulation>
|
||||
<subtype>articTenutoAbove</subtype>
|
||||
</Articulation>
|
||||
</Cell>
|
||||
<Cell name="Louré (tenuto-staccato) above">
|
||||
<Articulation>
|
||||
<subtype>articTenutoStaccatoAbove</subtype>
|
||||
</Articulation>
|
||||
</Cell>
|
||||
<Cell name="Marcato above">
|
||||
<Articulation>
|
||||
<subtype>articMarcatoAbove</subtype>
|
||||
</Articulation>
|
||||
</Cell>
|
||||
<Cell name="Trill">
|
||||
<Articulation>
|
||||
<subtype>ornamentTrill</subtype>
|
||||
</Articulation>
|
||||
</Cell>
|
||||
</Palette>
|
||||
<Palette name="Grace Notes">
|
||||
<type>GraceNote</type>
|
||||
<gridWidth>32</gridWidth>
|
||||
<gridHeight>40</gridHeight>
|
||||
<mag>1</mag>
|
||||
<grid>1</grid>
|
||||
<moreElements>1</moreElements>
|
||||
<Cell name="Acciaccatura">
|
||||
<Icon>
|
||||
<subtype>0</subtype>
|
||||
<action>acciaccatura</action>
|
||||
</Icon>
|
||||
</Cell>
|
||||
<Cell name="Appoggiatura">
|
||||
<Icon>
|
||||
<subtype>1</subtype>
|
||||
<action>appoggiatura</action>
|
||||
</Icon>
|
||||
</Cell>
|
||||
<Cell name="Grace: quarter">
|
||||
<Icon>
|
||||
<subtype>2</subtype>
|
||||
<action>grace4</action>
|
||||
</Icon>
|
||||
</Cell>
|
||||
<Cell name="Grace: 16th">
|
||||
<Icon>
|
||||
<subtype>3</subtype>
|
||||
<action>grace16</action>
|
||||
</Icon>
|
||||
</Cell>
|
||||
</Palette>
|
||||
<Palette name="Lines">
|
||||
<type>Line</type>
|
||||
<gridWidth>75</gridWidth>
|
||||
<gridHeight>28</gridHeight>
|
||||
<mag>0.8</mag>
|
||||
<grid>1</grid>
|
||||
<moreElements>1</moreElements>
|
||||
<Cell name="Slur">
|
||||
<Slur id="2">
|
||||
</Slur>
|
||||
</Cell>
|
||||
<Cell name="Crescendo hairpin">
|
||||
<HairPin id="3">
|
||||
<subtype>0</subtype>
|
||||
<track>0</track>
|
||||
</HairPin>
|
||||
</Cell>
|
||||
<Cell name="Diminuendo hairpin">
|
||||
<HairPin id="4">
|
||||
<subtype>1</subtype>
|
||||
<track>0</track>
|
||||
</HairPin>
|
||||
</Cell>
|
||||
<Cell name="Crescendo line">
|
||||
<HairPin id="5">
|
||||
<subtype>2</subtype>
|
||||
<beginText>cresc.</beginText>
|
||||
<continueText>(cresc.)</continueText>
|
||||
<track>0</track>
|
||||
</HairPin>
|
||||
</Cell>
|
||||
<Cell name="Diminuendo line">
|
||||
<HairPin id="6">
|
||||
<subtype>3</subtype>
|
||||
<beginText>dim.</beginText>
|
||||
<continueText>(dim.)</continueText>
|
||||
<track>0</track>
|
||||
</HairPin>
|
||||
</Cell>
|
||||
<Cell name="Prima volta">
|
||||
<Volta id="7">
|
||||
<endHookType>1</endHookType>
|
||||
<beginText>1.</beginText>
|
||||
<ticks>0</ticks>
|
||||
<track>0</track>
|
||||
<length>200</length>
|
||||
<endings>1</endings>
|
||||
</Volta>
|
||||
</Cell>
|
||||
<Cell name="Seconda volta">
|
||||
<Volta id="8">
|
||||
<endHookType>1</endHookType>
|
||||
<beginText>2.</beginText>
|
||||
<ticks>0</ticks>
|
||||
<track>0</track>
|
||||
<length>200</length>
|
||||
<endings>2</endings>
|
||||
</Volta>
|
||||
</Cell>
|
||||
<Cell name="Seconda volta, open">
|
||||
<Volta id="9">
|
||||
<beginText>2.</beginText>
|
||||
<ticks>0</ticks>
|
||||
<track>0</track>
|
||||
<length>200</length>
|
||||
<endings>2</endings>
|
||||
</Volta>
|
||||
</Cell>
|
||||
<Cell name="8va alta">
|
||||
<Ottava id="10">
|
||||
<subtype>8va</subtype>
|
||||
<track>0</track>
|
||||
</Ottava>
|
||||
</Cell>
|
||||
<Cell name="8va bassa">
|
||||
<Ottava id="11">
|
||||
<subtype>8vb</subtype>
|
||||
<track>0</track>
|
||||
</Ottava>
|
||||
</Cell>
|
||||
<Cell name="Pedal (straight hooks)">
|
||||
<Pedal id="12">
|
||||
<endHookType>1</endHookType>
|
||||
<beginHookType>1</beginHookType>
|
||||
<track>0</track>
|
||||
</Pedal>
|
||||
</Cell>
|
||||
<Cell name="Pedal (angled end hook)">
|
||||
<Pedal id="13">
|
||||
<endHookType>2</endHookType>
|
||||
<beginHookType>1</beginHookType>
|
||||
<track>0</track>
|
||||
</Pedal>
|
||||
</Cell>
|
||||
<Cell name="Pedal (both hooks angled)">
|
||||
<Pedal id="14">
|
||||
<endHookType>2</endHookType>
|
||||
<beginHookType>2</beginHookType>
|
||||
<track>0</track>
|
||||
</Pedal>
|
||||
</Cell>
|
||||
<Cell name="Pedal (angled start hook)">
|
||||
<Pedal id="15">
|
||||
<endHookType>1</endHookType>
|
||||
<beginHookType>2</beginHookType>
|
||||
<track>0</track>
|
||||
</Pedal>
|
||||
</Cell>
|
||||
</Palette>
|
||||
<Palette name="Barlines">
|
||||
<type>BarLine</type>
|
||||
<gridWidth>42</gridWidth>
|
||||
<gridHeight>38</gridHeight>
|
||||
<mag>0.8</mag>
|
||||
<moreElements>1</moreElements>
|
||||
<Cell name="Single barline">
|
||||
<staff>1</staff>
|
||||
<BarLine>
|
||||
</BarLine>
|
||||
</Cell>
|
||||
<Cell name="Double barline">
|
||||
<staff>1</staff>
|
||||
<BarLine>
|
||||
<subtype>double</subtype>
|
||||
</BarLine>
|
||||
</Cell>
|
||||
<Cell name="Left (start) repeat sign">
|
||||
<staff>1</staff>
|
||||
<BarLine>
|
||||
<subtype>start-repeat</subtype>
|
||||
</BarLine>
|
||||
</Cell>
|
||||
<Cell name="Right (end) repeat sign">
|
||||
<staff>1</staff>
|
||||
<BarLine>
|
||||
<subtype>end-repeat</subtype>
|
||||
</BarLine>
|
||||
</Cell>
|
||||
<Cell name="Right and left repeat sign">
|
||||
<staff>1</staff>
|
||||
<BarLine>
|
||||
<subtype>end-start-repeat</subtype>
|
||||
</BarLine>
|
||||
</Cell>
|
||||
<Cell name="Dashed barline">
|
||||
<staff>1</staff>
|
||||
<BarLine>
|
||||
<subtype>dashed</subtype>
|
||||
</BarLine>
|
||||
</Cell>
|
||||
<Cell name="Final barline">
|
||||
<staff>1</staff>
|
||||
<BarLine>
|
||||
<subtype>end</subtype>
|
||||
</BarLine>
|
||||
</Cell>
|
||||
<Cell name="Dotted barline">
|
||||
<staff>1</staff>
|
||||
<BarLine>
|
||||
<subtype>dotted</subtype>
|
||||
</BarLine>
|
||||
</Cell>
|
||||
</Palette>
|
||||
<Palette name="Text">
|
||||
<type>Text</type>
|
||||
<gridWidth>84</gridWidth>
|
||||
<gridHeight>28</gridHeight>
|
||||
<mag>0.85</mag>
|
||||
<grid>1</grid>
|
||||
<moreElements>0</moreElements>
|
||||
<Cell name="Staff text" trElement="1">
|
||||
<StaffText>
|
||||
<text>Staff Text</text>
|
||||
</StaffText>
|
||||
</Cell>
|
||||
<Cell name="Expression text" trElement="1">
|
||||
<StaffText>
|
||||
<placement>below</placement>
|
||||
<style>Expression</style>
|
||||
<text>Expression</text>
|
||||
</StaffText>
|
||||
</Cell>
|
||||
<Cell name="Instrument change" trElement="1">
|
||||
<InstrumentChange>
|
||||
<Instrument>
|
||||
<trackName></trackName>
|
||||
<Channel>
|
||||
<synti>Fluid</synti>
|
||||
</Channel>
|
||||
</Instrument>
|
||||
<text>Change Instr.</text>
|
||||
</InstrumentChange>
|
||||
</Cell>
|
||||
<Cell name="Staff type change">
|
||||
<StaffTypeChange>
|
||||
</StaffTypeChange>
|
||||
</Cell>
|
||||
<Cell name="Rehearsal mark">
|
||||
<RehearsalMark>
|
||||
<text>B1</text>
|
||||
</RehearsalMark>
|
||||
</Cell>
|
||||
<Cell name="Swing" trElement="1">
|
||||
<SystemText>
|
||||
<swing unit="eighth" ratio= "60"/>
|
||||
<style>Tempo</style>
|
||||
<text>Swing</text>
|
||||
</SystemText>
|
||||
</Cell>
|
||||
<Cell name="System text" trElement="1">
|
||||
<SystemText>
|
||||
<placement>above</placement>
|
||||
<text>System Text</text>
|
||||
</SystemText>
|
||||
</Cell>
|
||||
<Cell name="Pizzicato" trElement="1">
|
||||
<StaffText>
|
||||
<channelSwitch voice="0" name="pizzicato"/>
|
||||
<channelSwitch voice="1" name="pizzicato"/>
|
||||
<channelSwitch voice="2" name="pizzicato"/>
|
||||
<channelSwitch voice="3" name="pizzicato"/>
|
||||
<text>pizz.</text>
|
||||
</StaffText>
|
||||
</Cell>
|
||||
<Cell name="Arco" trElement="1">
|
||||
<StaffText>
|
||||
<channelSwitch voice="0" name="arco"/>
|
||||
<channelSwitch voice="1" name="arco"/>
|
||||
<channelSwitch voice="2" name="arco"/>
|
||||
<channelSwitch voice="3" name="arco"/>
|
||||
<text>arco</text>
|
||||
</StaffText>
|
||||
</Cell>
|
||||
<Cell name="Mute" trElement="1">
|
||||
<StaffText>
|
||||
<channelSwitch voice="0" name="mute"/>
|
||||
<channelSwitch voice="1" name="mute"/>
|
||||
<channelSwitch voice="2" name="mute"/>
|
||||
<channelSwitch voice="3" name="mute"/>
|
||||
<text>mute</text>
|
||||
</StaffText>
|
||||
</Cell>
|
||||
<Cell name="Open" trElement="1">
|
||||
<StaffText>
|
||||
<channelSwitch voice="0" name="open"/>
|
||||
<channelSwitch voice="1" name="open"/>
|
||||
<channelSwitch voice="2" name="open"/>
|
||||
<channelSwitch voice="3" name="open"/>
|
||||
<text>open</text>
|
||||
</StaffText>
|
||||
</Cell>
|
||||
</Palette>
|
||||
<Palette name="Tempo">
|
||||
<type>Tempo</type>
|
||||
<gridWidth>66</gridWidth>
|
||||
<gridHeight>28</gridHeight>
|
||||
<mag>0.65</mag>
|
||||
<grid>1</grid>
|
||||
<moreElements>1</moreElements>
|
||||
<Cell name="Half note = 80 BPM">
|
||||
<mag>1.5</mag>
|
||||
<Tempo>
|
||||
<tempo>2.66667</tempo>
|
||||
<followText>1</followText>
|
||||
<text><sym>metNoteHalfUp</sym> = 80</text>
|
||||
</Tempo>
|
||||
</Cell>
|
||||
<Cell name="Quarter note = 80 BPM">
|
||||
<mag>1.5</mag>
|
||||
<Tempo>
|
||||
<tempo>1.33333</tempo>
|
||||
<followText>1</followText>
|
||||
<text><sym>metNoteQuarterUp</sym> = 80</text>
|
||||
</Tempo>
|
||||
</Cell>
|
||||
<Cell name="Eigth note = 80 BPM">
|
||||
<mag>1.5</mag>
|
||||
<Tempo>
|
||||
<tempo>0.666667</tempo>
|
||||
<followText>1</followText>
|
||||
<text><sym>metNote8thUp</sym> = 80</text>
|
||||
</Tempo>
|
||||
</Cell>
|
||||
<Cell name="Dotted quarter note = 80 BPM">
|
||||
<mag>1.5</mag>
|
||||
<Tempo>
|
||||
<tempo>2</tempo>
|
||||
<followText>1</followText>
|
||||
<text><sym>metNoteQuarterUp</sym><sym>space</sym><sym>metAugmentationDot</sym> = 80</text>
|
||||
</Tempo>
|
||||
</Cell>
|
||||
</Palette>
|
||||
<Palette name="Dynamics">
|
||||
<type>Dynamic</type>
|
||||
<gridWidth>42</gridWidth>
|
||||
<gridHeight>28</gridHeight>
|
||||
<mag>0.8</mag>
|
||||
<grid>1</grid>
|
||||
<moreElements>1</moreElements>
|
||||
<Cell name="ppp">
|
||||
<Dynamic>
|
||||
<subtype>ppp</subtype>
|
||||
<velocity>16</velocity>
|
||||
</Dynamic>
|
||||
</Cell>
|
||||
<Cell name="pp">
|
||||
<Dynamic>
|
||||
<subtype>pp</subtype>
|
||||
<velocity>33</velocity>
|
||||
</Dynamic>
|
||||
</Cell>
|
||||
<Cell name="p">
|
||||
<Dynamic>
|
||||
<subtype>p</subtype>
|
||||
<velocity>49</velocity>
|
||||
</Dynamic>
|
||||
</Cell>
|
||||
<Cell name="mp">
|
||||
<Dynamic>
|
||||
<subtype>mp</subtype>
|
||||
<velocity>64</velocity>
|
||||
</Dynamic>
|
||||
</Cell>
|
||||
<Cell name="mf">
|
||||
<Dynamic>
|
||||
<subtype>mf</subtype>
|
||||
<velocity>80</velocity>
|
||||
</Dynamic>
|
||||
</Cell>
|
||||
<Cell name="f">
|
||||
<Dynamic>
|
||||
<subtype>f</subtype>
|
||||
<velocity>96</velocity>
|
||||
</Dynamic>
|
||||
</Cell>
|
||||
<Cell name="ff">
|
||||
<Dynamic>
|
||||
<subtype>ff</subtype>
|
||||
<velocity>112</velocity>
|
||||
</Dynamic>
|
||||
</Cell>
|
||||
<Cell name="fff">
|
||||
<Dynamic>
|
||||
<subtype>fff</subtype>
|
||||
<velocity>126</velocity>
|
||||
</Dynamic>
|
||||
</Cell>
|
||||
</Palette>
|
||||
<Palette name="Repeats & Jumps">
|
||||
<type>Repeat</type>
|
||||
<gridWidth>75</gridWidth>
|
||||
<gridHeight>28</gridHeight>
|
||||
<mag>0.65</mag>
|
||||
<grid>1</grid>
|
||||
<moreElements>0</moreElements>
|
||||
<Cell name="One-measure repeat">
|
||||
<MeasureRepeat>
|
||||
<subtype>1</subtype>
|
||||
</MeasureRepeat>
|
||||
</Cell>
|
||||
<Cell name="Two-measure repeat">
|
||||
<MeasureRepeat>
|
||||
<subtype>2</subtype>
|
||||
</MeasureRepeat>
|
||||
</Cell>
|
||||
<Cell name="Four-measure repeat">
|
||||
<MeasureRepeat>
|
||||
<subtype>4</subtype>
|
||||
</MeasureRepeat>
|
||||
</Cell>
|
||||
<Cell name="Segno">
|
||||
<Marker>
|
||||
<style>Repeat Text Left</style>
|
||||
<text><sym>segno</sym></text>
|
||||
<label>segno</label>
|
||||
</Marker>
|
||||
</Cell>
|
||||
<Cell name="Coda">
|
||||
<Marker>
|
||||
<style>Repeat Text Left</style>
|
||||
<text><sym>coda</sym></text>
|
||||
<label>codab</label>
|
||||
</Marker>
|
||||
</Cell>
|
||||
<Cell name="Fine">
|
||||
<Marker>
|
||||
<style>Repeat Text Left</style>
|
||||
<text>Fine</text>
|
||||
<label>fine</label>
|
||||
</Marker>
|
||||
</Cell>
|
||||
<Cell name="To Coda">
|
||||
<Marker>
|
||||
<style>Repeat Text Left</style>
|
||||
<text>To Coda</text>
|
||||
<label>coda</label>
|
||||
</Marker>
|
||||
</Cell>
|
||||
<Cell name="Da Capo">
|
||||
<Jump>
|
||||
<style>Repeat Text Right</style>
|
||||
<text>D.C.</text>
|
||||
<jumpTo>start</jumpTo>
|
||||
<playUntil>end</playUntil>
|
||||
<continueAt></continueAt>
|
||||
</Jump>
|
||||
</Cell>
|
||||
<Cell name="Da Capo al Fine">
|
||||
<Jump>
|
||||
<style>Repeat Text Right</style>
|
||||
<text>D.C. al Fine</text>
|
||||
<jumpTo>start</jumpTo>
|
||||
<playUntil>fine</playUntil>
|
||||
<continueAt></continueAt>
|
||||
</Jump>
|
||||
</Cell>
|
||||
<Cell name="Da Capo al Coda">
|
||||
<Jump>
|
||||
<style>Repeat Text Right</style>
|
||||
<text>D.C. al Coda</text>
|
||||
<jumpTo>start</jumpTo>
|
||||
<playUntil>coda</playUntil>
|
||||
<continueAt>codab</continueAt>
|
||||
</Jump>
|
||||
</Cell>
|
||||
<Cell name="D.S. al Coda">
|
||||
<Jump>
|
||||
<style>Repeat Text Right</style>
|
||||
<text>D.S. al Coda</text>
|
||||
<jumpTo>segno</jumpTo>
|
||||
<playUntil>coda</playUntil>
|
||||
<continueAt>codab</continueAt>
|
||||
</Jump>
|
||||
</Cell>
|
||||
<Cell name="D.S. al Fine">
|
||||
<Jump>
|
||||
<style>Repeat Text Right</style>
|
||||
<text>D.S. al Fine</text>
|
||||
<jumpTo>segno</jumpTo>
|
||||
<playUntil>fine</playUntil>
|
||||
<continueAt></continueAt>
|
||||
</Jump>
|
||||
</Cell>
|
||||
<Cell name="D.S.">
|
||||
<Jump>
|
||||
<style>Repeat Text Right</style>
|
||||
<text>D.S.</text>
|
||||
<jumpTo>segno</jumpTo>
|
||||
<playUntil>end</playUntil>
|
||||
<continueAt></continueAt>
|
||||
</Jump>
|
||||
</Cell>
|
||||
<Cell name="Left (start) repeat sign">
|
||||
<BarLine>
|
||||
<subtype>start-repeat</subtype>
|
||||
</BarLine>
|
||||
</Cell>
|
||||
<Cell name="Right (end) repeat sign">
|
||||
<BarLine>
|
||||
<subtype>end-repeat</subtype>
|
||||
</BarLine>
|
||||
</Cell>
|
||||
<Cell name="Right and left repeat sign">
|
||||
<BarLine>
|
||||
<subtype>end-start-repeat</subtype>
|
||||
</BarLine>
|
||||
</Cell>
|
||||
</Palette>
|
||||
<Palette name="Breaks & Spacers">
|
||||
<type>Break</type>
|
||||
<gridWidth>42</gridWidth>
|
||||
<gridHeight>36</gridHeight>
|
||||
<mag>1</mag>
|
||||
<grid>1</grid>
|
||||
<moreElements>0</moreElements>
|
||||
<Cell name="System break">
|
||||
<mag>1.2</mag>
|
||||
<LayoutBreak>
|
||||
<subtype>line</subtype>
|
||||
</LayoutBreak>
|
||||
</Cell>
|
||||
<Cell name="Page break">
|
||||
<mag>1.2</mag>
|
||||
<LayoutBreak>
|
||||
<subtype>page</subtype>
|
||||
</LayoutBreak>
|
||||
</Cell>
|
||||
<Cell name="Section break">
|
||||
<mag>1.2</mag>
|
||||
<LayoutBreak>
|
||||
<subtype>section</subtype>
|
||||
</LayoutBreak>
|
||||
</Cell>
|
||||
<Cell name="Group measures">
|
||||
<mag>1.2</mag>
|
||||
<LayoutBreak>
|
||||
<subtype>nobreak</subtype>
|
||||
</LayoutBreak>
|
||||
</Cell>
|
||||
<Cell name="Staff spacer down">
|
||||
<mag>0.7</mag>
|
||||
<Spacer>
|
||||
<subtype>1</subtype>
|
||||
<space>3</space>
|
||||
</Spacer>
|
||||
</Cell>
|
||||
<Cell name="Staff spacer up">
|
||||
<mag>0.7</mag>
|
||||
<Spacer>
|
||||
<subtype>0</subtype>
|
||||
<space>3</space>
|
||||
</Spacer>
|
||||
</Cell>
|
||||
<Cell name="Staff spacer fixed down">
|
||||
<mag>0.7</mag>
|
||||
<Spacer>
|
||||
<subtype>2</subtype>
|
||||
<space>3</space>
|
||||
</Spacer>
|
||||
</Cell>
|
||||
</Palette>
|
||||
<Palette name="Beam Properties">
|
||||
<type>Beam</type>
|
||||
<gridWidth>27</gridWidth>
|
||||
<gridHeight>40</gridHeight>
|
||||
<mag>1</mag>
|
||||
<grid>1</grid>
|
||||
<moreElements>1</moreElements>
|
||||
<Cell name="Beam start">
|
||||
<Icon>
|
||||
<subtype>8</subtype>
|
||||
<action>beam-start</action>
|
||||
</Icon>
|
||||
</Cell>
|
||||
<Cell name="Beam middle">
|
||||
<Icon>
|
||||
<subtype>9</subtype>
|
||||
<action>beam-mid</action>
|
||||
</Icon>
|
||||
</Cell>
|
||||
<Cell name="No beam">
|
||||
<Icon>
|
||||
<subtype>10</subtype>
|
||||
<action>no-beam</action>
|
||||
</Icon>
|
||||
</Cell>
|
||||
<Cell name="Beam 16th sub">
|
||||
<Icon>
|
||||
<subtype>11</subtype>
|
||||
<action>beam32</action>
|
||||
</Icon>
|
||||
</Cell>
|
||||
<Cell name="Auto beam">
|
||||
<Icon>
|
||||
<subtype>13</subtype>
|
||||
<action>auto-beam</action>
|
||||
</Icon>
|
||||
</Cell>
|
||||
</Palette>
|
||||
</PaletteBox>
|
||||
<Toolbar name="noteInput">
|
||||
<action>note-input</action>
|
||||
<action>pad-note-32</action>
|
||||
<action>pad-note-16</action>
|
||||
<action>pad-note-8</action>
|
||||
<action>pad-note-4</action>
|
||||
<action>pad-note-2</action>
|
||||
<action>pad-note-1</action>
|
||||
<action>pad-dot</action>
|
||||
<action>tie</action>
|
||||
<action></action>
|
||||
<action>pad-rest</action>
|
||||
<action></action>
|
||||
<action>sharp</action>
|
||||
<action>nat</action>
|
||||
<action>flat</action>
|
||||
<action>flip</action>
|
||||
<action></action>
|
||||
<action>voice-1</action>
|
||||
<action>voice-2</action>
|
||||
<action>voice-3</action>
|
||||
<action>voice-4</action>
|
||||
</Toolbar>
|
||||
<Toolbar name="fileOperation">
|
||||
<action>file-new</action>
|
||||
<action>file-open</action>
|
||||
<action>file-save</action>
|
||||
<action>file-save-online</action>
|
||||
<action>print</action>
|
||||
<action>undo</action>
|
||||
<action>redo</action>
|
||||
</Toolbar>
|
||||
<Toolbar name="playbackControl">
|
||||
<action>midi-on</action>
|
||||
<action></action>
|
||||
<action>rewind</action>
|
||||
<action>play</action>
|
||||
<action>loop</action>
|
||||
<action></action>
|
||||
<action>repeat</action>
|
||||
<action>pan</action>
|
||||
<action>metronome</action>
|
||||
</Toolbar>
|
||||
</Workspace>
|
||||
</museScore>
|
|
@ -35,8 +35,7 @@ endfunction(build_workspace)
|
|||
|
||||
set(GENERATED_WORKSPACES "") # create empty list
|
||||
|
||||
build_workspace(Basic)
|
||||
build_workspace(Advanced)
|
||||
build_workspace(Default)
|
||||
|
||||
# custom commands do not run unless something depends on their output
|
||||
add_custom_target(workspaces DEPENDS ${GENERATED_WORKSPACES})
|
||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue