Home
last modified time | relevance | path

Searched refs:nstaves (Results 1 – 25 of 83) sorted by relevance

1234

/dports/audio/musescore/MuseScore-3.6.1/libmscore/
H A Dsystem.cpp228 int nstaves = _staves.size(); in layoutSystem() local
419 int nstaves = p->nstaves(); in layoutInstrumentNames() local
479 staffIdx += nstaves; in layoutInstrumentNames()
493 int nstaves = _staves.size(); in addBrackets() local
536 int nstaves = _staves.size(); in createBracket() local
539 if (lastStaff >= nstaves) in createBracket()
540 lastStaff = nstaves - 1; in createBracket()
585 int nstaves = _staves.size(); in getBracketsColumnsCount() local
972 const int nstaves = score()->nstaves(); in searchStaff() local
973 for (; i < nstaves;) { in searchStaff()
[all …]
H A Dinstrchange.cpp82 for (int i = 0; i < part->nstaves(); i++) { in setupInstrument()
93 for (int i = 0; i < part->nstaves(); i++) { in setupInstrument()
140 int endVoice = part()->staff(part()->nstaves() - 1)->idx() * VOICES; in keySigs()
161 int endVoice = part()->staff(part()->nstaves() - 1)->idx() * VOICES; in clefs()
H A Dfingering.cpp81 int nstaves = part->nstaves(); in calculatePlacement() local
83 bool below = voices ? !chord->up() : (nstaves > 1) && (staff->rstaff() == nstaves - 1); in calculatePlacement()
H A Dmcursor.cpp98 int n = _score->nstaves(); in addKeySig()
117 for (int i = 0; i < _score->nstaves(); ++i) { in addTimeSig()
H A Dmeasure.cpp214 int n = score()->nstaves(); in Measure()
2595 int nstaves = score()->nstaves(); in scanElements() local
2843 etrack = score()->nstaves() * VOICES; in isEmpty()
2896 etrack = score()->nstaves() * VOICES; in isCutawayClef()
2931 int etrack = score()->nstaves() * VOICES; in isFullMeasureRest()
3070 int tracks = sc->nstaves() * VOICES; in cloneMeasure()
3755 int nstaves = score()->nstaves(); in createEndBarLines() local
4155 int n = score()->nstaves(); in addSystemHeader()
4201 int nstaves = score()->nstaves(); in addSystemTrailer() local
4243 int n = score()->nstaves(); in addSystemTrailer()
[all …]
H A Dsegment.cpp201 int staves = score()->nstaves(); in init()
505 Q_ASSERT(score()->nstaves() * VOICES == int(_elist.size())); in add()
614 if (track < score()->nstaves() * VOICES) { in add()
1166 for (int track = 0; track < score()->nstaves() * VOICES; ++track) { in scanElements()
1378 if (activeStaff + 1 >= score()->nstaves()) //end of score in firstInNextSegments()
1417 while (track < score()->nstaves() * VOICES - 1 && in nextElementOfSegment()
1438 while (track < score()->nstaves() * VOICES - 1 && in nextElementOfSegment()
1799 int track = score()->nstaves() * VOICES - 1; in prevElement()
1805 track = score()->nstaves() * VOICES - 1; in prevElement()
2055 for (int staffIdx = 0; staffIdx < score()->nstaves(); ++staffIdx) in createShapes()
[all …]
H A Dlayoutlinear.cpp78 system->adjustStavesNumber(nstaves()); in resetSystems()
86 system->adjustStavesNumber(nstaves()); in resetSystems()
H A Dscore.cpp757 for (int i = 0; i < nstaves(); ++i) { in spell()
1959 if (!(--nstaves)) { in addExcerpt()
1961 nstaves = ps->part()->nstaves(); in addExcerpt()
2141 int n = nstaves(); in appendMeasuresFromScore()
2398 int n = part->nstaves(); in cmdRemovePart()
2420 staff += (*i)->nstaves(); in insertPart()
3131 nstaves()); in selectAdd()
3706 selectRange(last, nstaves() - 1); in cmdSelectAll()
3811 int n = nstaves(); in appendPart()
3812 for (int i = 0; i < t->nstaves(); ++i) { in appendPart()
[all …]
H A Dexcerpt.h52 int nstaves() const;
H A DscoreOrder.cpp627 thkBracketSpan += part->nstaves(); in setBracketsAndBarlines()
640 if (ii.instrTemplate->nstaves() > 1) in setBracketsAndBarlines()
646 if (staffIdx < ii.instrTemplate->nstaves()) in setBracketsAndBarlines()
653 thnBracketSpan += part->nstaves(); in setBracketsAndBarlines()
H A Dbarline.cpp388 int nstaves = score->nstaves(); in nextVisibleSpannedStaff() local
391 for (int i = staffIdx + 1; i < nstaves; ++i) { in nextVisibleSpannedStaff()
431 int nstaves = score()->nstaves(); in getY() local
456 if (!_spanStaff || (staffIdx1 == nstaves - 1)) in getY()
546 if (idx == score()->nstaves() - 1) in isBottom()
994 int lNewSpan = qMin(spannedStaves, lscore->nstaves()); in endEdit()
1046 if (_spanTo > 0 || !(idx == idx2-1 && idx != score()->nstaves()-1)) { in endEdit()
/dports/audio/musescore/MuseScore-3.6.1/mscore/plugin/api/
H A Dselection.cpp109 const int nstaves = _select->score()->nstaves(); in selectRange() local
111 startStaff = qBound(0, startStaff, nstaves - 1); in selectRange()
112 endStaff = qBound(1, endStaff, nstaves); in selectRange()
H A Dscore.h85 Q_PROPERTY(int nstaves READ nstaves) in Q_PROPERTY()
206 int nstaves() const { return score()->nstaves(); } in nstaves() function
H A Dcursor.cpp602 int tracks = _score->nstaves() * VOICES; in setTrack()
617 int tracks = _score->nstaves() * VOICES; in setStaffIdx()
632 int tracks = _score->nstaves() * VOICES; in setVoice()
/dports/print/texlive-base/texlive-20150521-source/utils/m-tx/mtx-0.60d/
H A Dpreamble.pas252 begin nvoices:=0; nstaves:=0;
255 begin inc(nstaves); k:=0;
256 first_on_stave[nstaves] := nvoices + 1;
264 if instr_name[nstaves]='' then instr_name[nstaves]:=w;
265 setStavePos(nvoices,nstaves,k);
270 if k=2 then instr_name[nstaves]:='\mtxTwoInstruments{'
272 number_on_stave[nstaves] := k;
581 write(outfile, nstaves);
583 stave[ninstr+1]:=nstaves+1;
H A Dpreamble.c407 nstaves = 0;
411 nstaves++;
413 first_on_stave[nstaves-1] = nvoices + 1;
423 if (*instr_name[nstaves-1] == '\0') {
424 strcpy(instr_name[nstaves-1], w);
428 setStavePos(nvoices, nstaves, k);
437 sprintf(instr_name[nstaves-1], "\\mtxTwoInstruments{%s}{%s}",
442 number_on_stave[nstaves-1] = k;
1052 fprintf(outfile, "%d", nstaves); in doPMXpreamble()
1054 stave[ninstr] = nstaves + 1; in doPMXpreamble()
/dports/audio/musescore/MuseScore-3.6.1/share/plugins/
H A Dnotenames-interactive.qml35 property int nstaves: 0 // for validators in staff number inputs
290 return [0, curScore.nstaves];
292 var firstStaff = firstStaffInput.acceptableInput ? +firstStaffInput.text : curScore.nstaves;
304 nstaves = curScore.nstaves; // needed for validators in staff number inputs
347 validator: IntValidator { bottom: 0; top: nstaves - 1 }
362 validator: IntValidator { bottom: 0; top: nstaves - 1 }
/dports/audio/musescore/MuseScore-3.6.1/mtest/libmscore/rhythmicGrouping/
H A Dtst_rhythmicGrouping.cpp67 Q_ASSERT(staves < score->nstaves()); in group()
/dports/audio/musescore/MuseScore-3.6.1/mscore/
H A Deditinstrument.cpp54 staves->setValue(t->nstaves()); in setInstrument()
H A Dmeasureproperties.cpp148 int rows = score->nstaves(); in setMeasure()
252 for (int staffIdx = 0; staffIdx < score->nstaves(); ++staffIdx) { in apply()
H A Dosc.cpp156 score->selection().setStaffEnd(score->nstaves()); in oscSelectMeasure()
255 int n = cs->nstaves() * VOICES; in oscColorNote()
H A Dexcerptsdialog.cpp122 for (int i = 0; i < _part->nstaves(); ++i) { in PartItem()
123 …StaffItem* sli = new StaffItem(firstTrack, staffIdx, staffIdx + _part->nstaves() - 1, tracks, disa… in PartItem()
147 staffIdx += _part->nstaves(); in PartItem()
/dports/audio/musescore/MuseScore-3.6.1/importexport/midiimport/
H A Dimportmidi_instrument.cpp412 if (part->nstaves() == 1) { in createInstruments()
433 for (int i = 0; i != part->nstaves(); ++i) { in createInstruments()
444 for (int i = 0; i != part->nstaves(); ++i) { in createInstruments()
/dports/audio/musescore/MuseScore-3.6.1/mtest/libmscore/midi/
H A Dtst_midi.cpp225 int staves = score1->nstaves(); in compareScores()
226 if (score2->nstaves() != staves) { in compareScores()
227 printf(" stave count different %d %d\n", staves, score2->nstaves()); in compareScores()
/dports/audio/musescore/MuseScore-3.6.1/mscore/inspector/
H A DinspectorBarline.cpp106 bool bMultiStaff = bl->score()->nstaves() > 1; in setElement()
284 max = bl->score()->nstaves() - bl->staffIdx(); in manageSpanData()

1234