Home
last modified time | relevance | path

Searched refs:tpc2 (Results 1 – 25 of 28) sorted by relevance

12

/dports/audio/musescore/MuseScore-3.6.1/libmscore/
H A Dnoteentry.cpp112 nval.tpc2 = step2tpc(step % 7, acci); in noteValForPosition()
115 nval.tpc1 = nval.tpc2; in noteValForPosition()
117 nval.tpc1 = Ms::transposeTpc(nval.tpc2, v, true); in noteValForPosition()
216 undoChangePitch(tn, note->pitch(), note->tpc1(), note->tpc2()); in addPitch()
395 int tpc2 = note->tpc2default(nval.pitch); in putNote() local
396 … undoChangeFretting(note, nval.pitch, nval.string, nval.fret, tpc1, tpc2); in putNote()
466 nval.tpc2 = step2tpc(step % 7, acci); in repitchNote()
522 undoChangePitch(tn, note->pitch(), note->tpc1(), note->tpc2()); in repitchNote()
542 int tpc = styleB(Sid::concertPitch) ? nval.tpc1 : nval.tpc2; in repitchNote()
H A Dcmd.cpp588 ntpc2 = on->tpc2(); in cmdAddInterval()
643 note->setTpc2(n->tpc2()); in setGraceNote()
1428 if (tpc2 > Tpc::TPC_A + int(key)) in upDownChromatic()
1445 if (tpc2 > Tpc::TPC_C + int(key)) in upDownChromatic()
1485 int tpc2 = oNote->tpc2(); in upDown() local
1488 int newTpc2 = tpc2; // default to unchanged in upDown()
1778 int tpc2 = n->transposeTpc(tpc); in changeAccidental2() local
1782 tpc1 = tpc2; in changeAccidental2()
1783 tpc2 = tpc; in changeAccidental2()
1805 score->undoChangePitch(n, pitch, tpc1, tpc2); in changeAccidental2()
[all …]
H A Dnote.h189 int tpc2 { Tpc::TPC_INVALID };
360 void setPitch(int pitch, int tpc1, int tpc2);
376 int tpc2() const { return _tpc[1]; } // transposed tpc in tpc2() function
H A Dundo.cpp1134 tpc2 = _tpc2; in ChangePitch()
1141 int f_tpc2 = note->tpc2(); in flip()
1143 if (f_pitch == pitch && f_tpc1 == tpc1 && f_tpc2 == tpc2) in flip()
1146 note->setPitch(pitch, tpc1, tpc2); in flip()
1149 tpc2 = f_tpc2; in flip()
1170 tpc2 = _tpc2; in ChangeFretting()
1179 int f_tpc2 = note->tpc2(); in flip()
1181 …if (f_pitch == pitch && f_string == string && f_fret == fret && f_tpc1 == tpc1 && f_tpc2 == tpc2) { in flip()
1185 note->setPitch(pitch, tpc1, tpc2); in flip()
1192 tpc2 = f_tpc2; in flip()
H A Dundo.h381 int tpc2; variable
385 ChangePitch(Note* note, int pitch, int tpc1, int tpc2);
399 int tpc2; variable
403 ChangeFretting(Note* note, int pitch, int string, int fret, int tpc1, int tpc2);
H A Dpitchspelling.cpp662 int tpc2 = Ms::transposeTpc(tpc1, v, true); in changeAllTpcs() local
664 n->undoChangeProperty(Pid::TPC2, tpc2); in changeAllTpcs()
H A Dnote.cpp696 void Note::setPitch(int pitch, int tpc1, int tpc2) in setPitch() argument
699 Q_ASSERT(tpcIsValid(tpc2)); in setPitch()
701 _tpc[1] = tpc2; in setPitch()
794 if (v != tpc2()) in undoSetTpc()
2727 _tpc[1] = nval.tpc2; in setNval()
2738 if (nval.tpc2 == Tpc::TPC_INVALID) { in setNval()
3132 nval.tpc2 = tpc2(); in noteVal()
H A Dread114.cpp761 if (!tpcIsValid(note->tpc1()) && !tpcIsValid(note->tpc2())) { in readNote()
769 if (!(tpcIsValid(note->tpc1()) && tpcIsValid(note->tpc2()))) { in readNote()
781 note->setTpc1(note->tpc2()); in readNote()
783 note->setTpc1(Ms::transposeTpc(note->tpc2(), v, true)); in readNote()
795 int tpc2Pitch = (tpc2pitch(note->tpc2()) + 12) % 12; in readNote()
H A Dedit.cpp224 nn->setTpc2(n->tpc2()); in addChord()
381 int tpc = styleB(Sid::concertPitch) ? noteVal.tpc1 : noteVal.tpc2; in addNote()
2767 note->setTpc2(oldNote->tpc2()); in cmdCreateTuplet()
3840 void Score::undoChangePitch(Note* note, int pitch, int tpc1, int tpc2) in undoChangePitch() argument
3844 undoStack()->push(new ChangePitch(n, pitch, tpc1, tpc2), 0); in undoChangePitch()
3857 void Score::undoChangeFretting(Note* note, int pitch, int string, int fret, int tpc1, int tpc2) in undoChangeFretting() argument
3863 undo(new ChangeFretting(n, pitch, string, fret, tpc1, tpc2)); in undoChangeFretting()
3867 undo(new ChangeFretting(note, pitch, string, fret, tpc1, tpc2)); in undoChangeFretting()
H A Dtranspose.cpp224 …transposeInterval(n->pitch() - n->transposition(), n->tpc2(), &p, &ntpc2, interval, useDoubleSharp… in transpose()
H A Dscore.h667 void undoChangePitch(Note* note, int pitch, int tpc1, int tpc2);
668 void undoChangeFretting(Note* note, int pitch, int string, int fret, int tpc1, int tpc2);
H A Dread206.cpp895 if (!tpcIsValid(note->tpc1()) && !tpcIsValid(note->tpc2())) { in readNote()
903 if (!(tpcIsValid(note->tpc1()) && tpcIsValid(note->tpc2()))) { in readNote()
915 note->setTpc1(note->tpc2()); in readNote()
917 note->setTpc1(Ms::transposeTpc(note->tpc2(), v, true)); in readNote()
/dports/audio/musescore/MuseScore-3.6.1/mtest/scripting/
H A Dp1.qml40 // log2(" tpc2:", note.tpc2);
/dports/emulators/mess/mame-mame0226/3rdparty/bimg/3rdparty/astc/
H A Dmathlib.cpp492 float3 tpc2 = cross(p.v[0].xyw, p.v[1].xyw); in adjugate() local
493 …res.v[2] = float4(dot(bpc2, p.v[1].xyw), -dot(bpc2, p.v[0].xyw), dot(tpc2, p.v[3].xyw), -dot(tpc2,… in adjugate()
528 float3 tpc2 = cross(p.v[0].xyw, p.v[1].xyw); in invert() local
530 …res.v[2] = float4(row1.z, -dot(bpc2, p.v[0].xyw), dot(tpc2, p.v[3].xyw), -dot(tpc2, p.v[2].xyw)) *… in invert()
622 float3 tpc2 = cross(r0.xyw, r1.xyw); in eigenvector() local
627 dot(r2.xyw, tpc2), in eigenvector()
632 dot(r3.xyw, tpc2), in eigenvector()
/dports/emulators/mame/mame-mame0226/3rdparty/bimg/3rdparty/astc/
H A Dmathlib.cpp492 float3 tpc2 = cross(p.v[0].xyw, p.v[1].xyw); in adjugate() local
493 …res.v[2] = float4(dot(bpc2, p.v[1].xyw), -dot(bpc2, p.v[0].xyw), dot(tpc2, p.v[3].xyw), -dot(tpc2,… in adjugate()
528 float3 tpc2 = cross(p.v[0].xyw, p.v[1].xyw); in invert() local
530 …res.v[2] = float4(row1.z, -dot(bpc2, p.v[0].xyw), dot(tpc2, p.v[3].xyw), -dot(tpc2, p.v[2].xyw)) *… in invert()
622 float3 tpc2 = cross(r0.xyw, r1.xyw); in eigenvector() local
627 dot(r2.xyw, tpc2), in eigenvector()
632 dot(r3.xyw, tpc2), in eigenvector()
/dports/audio/musescore/MuseScore-3.6.1/doc/
H A Dtpc.md5 - \ref Ms::PluginAPI::Note::tpc2
/dports/audio/musescore/MuseScore-3.6.1/mtest/libmscore/note/
H A Dtst_note.cpp90 QCOMPARE(n->tpc2(), 23); in note()
206 QCOMPARE(n->tpc2(), 22); in note()
/dports/audio/musescore/MuseScore-3.6.1/mscore/plugin/api/
H A Delements.h488 API_PROPERTY_T( int, tpc2, TPC2 ) in Q_PROPERTY()
/dports/audio/musescore/MuseScore-3.6.1/mscore/debugger/
H A Ddebugger.cpp1160 nb.tpc2->setValue(note->tpc2()); in setElement()
/dports/audio/musescore/MuseScore-3.6.1/importexport/musicxml/
H A Dimportmxmlpass2.cpp236 int tpc2 = step2tpc(step, AccidentalVal(alter)); in xmlSetPitch() local
237 int tpc1 = Ms::transposeTpc(tpc2, intval, true); in xmlSetPitch()
238 n->setPitch(pitch, tpc1, tpc2); in xmlSetPitch()
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/hotspot/cpu/aarch64/
H A DmacroAssembler_aarch64.cpp4499 address tpc2 = trampoline_call(has_neg_long); in has_negatives() local
4500 if (tpc2 == NULL) { in has_negatives()
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/hotspot/cpu/aarch64/
H A DmacroAssembler_aarch64.cpp4536 address tpc2 = trampoline_call(has_neg_long); in has_negatives() local
4537 if (tpc2 == NULL) { in has_negatives()
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/hotspot/cpu/aarch64/
H A DmacroAssembler_aarch64.cpp4534 address tpc2 = trampoline_call(has_neg_long); in has_negatives() local
4535 if (tpc2 == NULL) { in has_negatives()
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/hotspot/cpu/aarch64/
H A DmacroAssembler_aarch64.cpp5073 address tpc2 = trampoline_call(has_neg_long); in has_negatives() local
5074 if (tpc2 == NULL) { in has_negatives()
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/hotspot/cpu/aarch64/
H A DmacroAssembler_aarch64.cpp5073 address tpc2 = trampoline_call(has_neg_long); in has_negatives() local
5074 if (tpc2 == NULL) { in has_negatives()

12