Home
last modified time | relevance | path

Searched refs:masterScore (Results 1 – 25 of 73) sorted by relevance

123

/dports/audio/musescore/MuseScore-3.6.1/mscore/
H A Dinstrdialog.cpp272 MasterScore* masterScore = cs->masterScore(); in editInstrList() local
274 instrList->genPartList(masterScore); in editInstrList()
277 masterScore->startCmd(); in editInstrList()
278 masterScore->deselectAll(); in editInstrList()
282 masterScore->endCmd(); in editInstrList()
291 masterScore->inputState().setTrack(-1); in editInstrList()
292 masterScore->undo(new ChangeScoreOrder(masterScore, instrList->getScoreOrder())); in editInstrList()
496 masterScore->undo(new SortStaves(masterScore, dl)); in editInstrList()
497 masterScore->undo(new MapExcerptTracks(masterScore, trackMap)); in editInstrList()
586 masterScore->setLayoutAll(); in editInstrList()
[all …]
H A Dparteditbase.cpp116 _setValue(portSpinBox, part->masterScore()->midiMapping(a->channel())->port() + 1); in setPart()
117 _setValue(channelSpinBox, part->masterScore()->midiMapping(a->channel())->channel() + 1); in setPart()
285 Channel* a = part->masterScore()->playbackChannel(instrChan); in soloToggled()
302 Channel* a = part->masterScore()->playbackChannel(instrChan); in soloToggled()
316 Channel* a = part->masterScore()->playbackChannel(instrChan); in soloToggled()
492 newChannel = part->masterScore()->getNextFreeMidiMapping(); in midiChannelChanged()
500 MasterScore* ms = part->masterScore(); in midiChannelChanged()
517 part->masterScore()->setSoloMute(); in midiChannelChanged()
528 MasterScore* ms = part->masterScore(); in midiChannelChanged()
545 int maxPort = std::max(p, part->score()->masterScore()->midiPortCount()); in midiChannelChanged()
[all …]
H A Dscoretab.cpp270 if (score->masterScore()->avsOmr()) { in setCurrent()
272 setuperView.setupView(v, score->masterScore()->avsOmr()); in setCurrent()
282 if (score->masterScore()->showOmr() && score->masterScore()->omr()) { in setCurrent()
284 Omr* omr = score->masterScore()->omr(); in setCurrent()
312 MasterScore* score = v->score()->masterScore(); in setCurrent()
365 if (sview->score() != score && sview->score()->masterScore() == score) { in updateExcerpts()
497 MasterScore* ms = s->masterScore(); in setCurrentScore()
H A Dmediadialog.cpp62 score = s->masterScore(); in setScore()
63 Omr* omr = score->masterScore()->omr(); in setScore()
98 if (score->masterScore()->omr() || path.isEmpty()) in addScanPressed()
106 score->masterScore()->setOmr(omr); in addScanPressed()
H A Dexportaudio.cpp88 score->masterScore()->rebuildAndUpdateExpressive(synth->synthesizer("Fluid")); in saveAudio()
91 score->masterScore()->rebuildAndUpdateExpressive(synti->synthesizer("Fluid")); in saveAudio()
121 const Channel* a = score->masterScore()->playbackChannel(instrChan); in saveAudio()
126 …int syntiIdx = synth->index(score->masterScore()->midiMapping(a->channel())->articulation()->synti… in saveAudio()
161 … const Channel* c = score->masterScore()->midiMapping(channelIdx)->articulation(); in saveAudio()
H A Dfile.cpp272 if (s->masterScore()->isSavable()) { in checkDirty()
406 if (s->masterScore() && s->masterScore()->fileInfo()->canonicalFilePath() == path) { in openScore()
519 return saveFile(cs->masterScore()); in saveFile()
593 int idx = scoreList.indexOf(score->masterScore()); in saveFile()
1493 if (!cs->masterScore()->savedCapture()) { in getFotoFilename()
1517 cs->masterScore()->setSavedCapture(true); in getFotoFilename()
1553 cs->masterScore()->setSavedCapture(true); in getFotoFilename()
1846 …printerDev.setOutputFileName(cs->masterScore()->fileInfo()->path() + "/" + cs->masterScore()->file… in printFile()
1913 cs_->masterScore()->fileInfo()->setFile(fn); in saveAs()
2412 if (cs_->masterScore()->fileInfo()->exists()) in saveAs()
[all …]
H A Dexportdialog.cpp199 ExportScoreItem* scoreItem = new ExportScoreItem(cs->masterScore()->score()); in loadScoreAndPartsList()
202 for (Excerpt* e : cs->masterScore()->excerpts()) { in loadScoreAndPartsList()
367 if (cs->masterScore()->fileInfo()->exists()) in accept()
368 saveDirectory = cs->masterScore()->fileInfo()->dir().path(); in accept()
446 …QString name = QString("%1/%2").arg(saveDirectory, cs->masterScore()->fileInfo()->completeBaseName… in accept()
H A Dsynthcontrol.cpp290 _score->masterScore()->updateExpressive(MuseScore::synthesizer("Fluid"), true, true); in switchExprButtonClicked()
301 _score->masterScore()->updateExpressive(MuseScore::synthesizer("Fluid"), false, true); in switchNonExprButtonClicked()
313 _score->masterScore()->updateExpressive(MuseScore::synthesizer("Fluid")); in resetExprButtonClicked()
474 _score->masterScore()->rebuildAndUpdateExpressive(MuseScore::synthesizer("Fluid")); in updateExpressivePatches()
H A Dosc.cpp295 auto& mms = cs->masterScore()->midiMapping(); in oscVolChannel()
318 auto& mms = cs->masterScore()->midiMapping(); in oscPanChannel()
341 auto& mms = cs->masterScore()->midiMapping(); in oscMuteChannel()
H A Dmusescore.cpp2679 cs->masterScore()->setPlaybackScore(_playPartOnly ? cs : cs->masterScore()); in setCurrentScoreView()
2769 MasterScore* master = cs->masterScore(); in setCurrentScoreView()
3296 int n = scoreList.indexOf(cs->masterScore()); in removeTab()
4583 int curScore = scoreList.indexOf(cs->masterScore()); in writeSettings()
4891 MasterScore* score = s->masterScore(); in dirtyChanged()
6095 MasterScore* ms = cs->masterScore(); in endCmd()
6160 cs->masterScore()->setExpandRepeats(repeat); in setPlayRepeats()
6180 cs->masterScore()->setPlaybackScore(_playPartOnly ? cs : cs->masterScore()); in setPlayPartOnly()
6256 scoreUnrolled(cs->masterScore()); in cmd()
6707 removeTab(scoreList.indexOf(score->masterScore())); in closeScore()
[all …]
/dports/audio/musescore/MuseScore-3.6.1/libmscore/
H A Dread302.cpp49 QString programVersion = masterScore()->mscoreVersion(); in read()
63 masterScore()->setOmr(new Omr(this)); in read()
64 masterScore()->omr()->read(e); in read()
74 masterScore()->setShowOmr(e.readInt()); in read()
189 MasterScore* m = masterScore(); in read()
322 if (!masterScore()->omr()) in read()
323 masterScore()->setShowOmr(false); in read()
331 masterScore()->rebuildMidiMapping(); in read()
332 masterScore()->updateChannel(); in read()
H A Dpart.cpp257 return instrument()->playbackChannel(0, masterScore())->program(); in midiProgram()
266 return masterScore()->midiChannel(instrument()->channel(0)->channel()); in midiChannel()
275 return masterScore()->midiPort(instrument()->channel(0)->channel()); in midiPort()
292 masterScore()->addMidiMapping(channel, this, port, ch); in setMidiChannel()
294 masterScore()->updateMidiMapping(channel, this, port, ch); in setMidiChannel()
581 masterScore()->rebuildMidiMapping(); in updateHarmonyChannels()
582 masterScore()->updateChannel(); in updateHarmonyChannels()
H A Dscorefile.cpp131 if (masterScore()->omr() && xml.writeOmr()) in writeMovement()
132 masterScore()->omr()->write(xml); in writeMovement()
135 xml.tag("showOmr", masterScore()->showOmr()); in writeMovement()
218 masterScore()->checkMidiMapping(); in writeMovement()
534 if (readOnly() && info == *masterScore()->fileInfo()) in saveCompressedFile()
655 if (masterScore()->omr()) { in saveCompressedFile()
656 int n = masterScore()->omr()->numPages(); in saveCompressedFile()
688 if (readOnly() && info == *masterScore()->fileInfo()) in saveFile()
775 masterScore()->revisions()->write(xml); in saveFile()
874 if (masterScore()->omr()) { in loadCompressedMsc()
[all …]
H A Dpage.cpp332 d += masterScore()->fileInfo()->completeBaseName().toHtmlEscaped(); in replaceTextMacros()
335 d += masterScore()->fileInfo()->absoluteFilePath().toHtmlEscaped(); in replaceTextMacros()
344 … d += masterScore()->fileInfo()->created().date().toString(Qt::DefaultLocaleShortDate); in replaceTextMacros()
353 … d += masterScore()->fileInfo()->lastModified().time().toString(Qt::DefaultLocaleShortDate); in replaceTextMacros()
359 … d += masterScore()->fileInfo()->lastModified().date().toString(Qt::DefaultLocaleShortDate); in replaceTextMacros()
H A Dxmlreader.cpp659 const bool masterScore = s->score()->isMaster(); in addLink() local
660 if (!masterScore) in addLink()
664 if (!masterScore) { in addLink()
680 LinkedElements* XmlReader::getLink(bool masterScore, const Location& l, int localIndexDiff) in getLink() argument
683 if (!masterScore) in getLink()
/dports/audio/musescore/MuseScore-3.6.1/mscore/plugin/api/
H A Dinstrument.cpp37 Ms::MasterScore* masterScore = score->masterScore(); in activeChannel() local
39 if (masterScore->playbackScore() == score) in activeChannel()
40 return masterScore->playbackChannel(_channel); in activeChannel()
H A Dscore.h194 QString name() const { return score()->masterScore()->title(); } in name()
195 void setName(const QString& name) { score()->masterScore()->setName(name); } in setName()
/dports/audio/musescore/MuseScore-3.6.1/mscore/plugin/
H A Dqmlpluginengine.cpp53 currScoreState = cs ? cs->masterScore()->state() : ScoreContentState(); in beginEndCmd()
60 endCmdInfo["excerptsChanged"] = !cs || cs->masterScore()->excerptsChanged(); in beginEndCmd()
61 endCmdInfo["instrumentsChanged"] = !cs || cs->masterScore()->instrumentsChanged(); in beginEndCmd()
/dports/audio/musescore/MuseScore-3.6.1/mscore/scorecmp/
H A Dscorecmp.cpp91 s = v->score()->masterScore(); in showEvent()
252 baseName = ver.score->masterScore()->fileInfo()->completeBaseName(); in openScoreVersion()
263 s->masterScore()->setReadOnly(true); in openScoreVersion()
266 s->masterScore()->fileInfo()->refresh(); in openScoreVersion()
354 _scoreVersionsModel1->setScore(s ? s->masterScore() : nullptr); in on_score1ComboBox_currentIndexChanged()
383 _scoreVersionsModel2->setScore(s ? s->masterScore() : nullptr); in on_score2ComboBox_currentIndexChanged()
/dports/audio/musescore/MuseScore-3.6.1/mscore/mixer/
H A Dmixer.cpp213 setPlaybackScore(_activeScore->masterScore()->playbackScore()); in on_partOnlyCheckBox_toggled()
216 for (const MidiMapping& mm : _activeScore->masterScore()->midiMapping()) { in on_partOnlyCheckBox_toggled()
348 setPlaybackScore(_activeScore ? _activeScore->masterScore()->playbackScore() : nullptr); in setScore()
370 … selChan = selPart->instrument(Fraction(0,1))->playbackChannel(0, _score->masterScore()); in updateTracks()
406 proxyChan = proxyInstr->playbackChannel(0, _score->masterScore()); in updateTracks()
429 Channel* chan = instr->playbackChannel(i, _score->masterScore()); in updateTracks()
H A Dmixerdetails.cpp245 portSpinBox->setValue(part->masterScore()->midiMapping(chan->channel())->port() + 1); in updateFromTrack()
246 channelSpinBox->setValue(part->masterScore()->midiMapping(chan->channel())->channel() + 1); in updateFromTrack()
564 part->masterScore()->updateMidiMapping(midiMap->articulation(), part, p, c); in midiChannelChanged()
571 int maxPort = std::max(p, part->score()->masterScore()->midiPortCount()); in midiChannelChanged()
572 part->score()->masterScore()->setMidiPortCount(maxPort); in midiChannelChanged()
H A Dmixertrackitem.cpp43 return _part->masterScore()->midiMapping(focusedChan()->channel()); in midiMap()
61 return _part->masterScore()->playbackChannel(channel); in playbackChannel()
/dports/audio/musescore/MuseScore-3.6.1/mscore/script/
H A Dtestscript.cpp53 MasterScore* score = ctx.mscore()->currentScore()->masterScore(); in fromContext()
80 MasterScore* curScore = ctx.mscore()->currentScore()->masterScore(); in execute()
/dports/audio/musescore/MuseScore-3.6.1/audio/exports/
H A Dexportmidi.cpp277 const Channel* ch = part->masterScore()->playbackChannel(instrChan); in write()
278 char port = part->masterScore()->midiPort(ch->channel()); in write()
279 char channel = part->masterScore()->midiChannel(ch->channel()); in write()
343 char eventPort = cs->masterScore()->midiPort(event.channel()); in write()
344 char eventChannel = cs->masterScore()->midiChannel(event.channel()); in write()
/dports/audio/musescore/MuseScore-3.6.1/mscore/cloud/
H A Duploadscoredialog.cpp102 Score* score = mscore->currentScore()->masterScore(); in upload()
136 MasterScore* score = mscore->currentScore()->masterScore(); in uploadSuccess()
229 QString source = mscore->currentScore()->masterScore()->metaTag("source"); in display()

123