Home
last modified time | relevance | path

Searched refs:phaseDiff (Results 1 – 7 of 7) sorted by relevance

/dports/audio/rosegarden/rosegarden-21.06.1/src/sound/
H A DPitchDetector.cpp297 double phaseDiff = phaseChange/(2.0*M_PI) - expected; in unwrapPhase() local
298 phaseDiff -= floor(phaseDiff); in unwrapPhase()
300 if ( (phaseDiff -= floor(phaseDiff)) > 0.5 ) in unwrapPhase()
301 phaseDiff -= 1; in unwrapPhase()
303 phaseDiff *= 2*M_PI; in unwrapPhase()
305 double freqDiff = phaseDiff*freqPerBin*((double)m_frameSize/(double)m_stepSize)/(2*M_PI); in unwrapPhase()
364 double phaseDiff = phaseChange/(2.0*M_PI) - expected; in partial() local
365 phaseDiff -= floor(phaseDiff); in partial()
367 if ( (phaseDiff -= floor(phaseDiff)) > 0.5 ) in partial()
368 phaseDiff -= 1.0; in partial()
[all …]
/dports/devel/py-bullet3/bullet3-3.21/examples/pybullet/examples/
H A Dminitaur_evaluate.py38 phaseDiff = params[2]
40 a1 = math.sin(i * speed + phaseDiff) * params[1] + 1.57
42 a3 = math.sin(i * speed + params[3] + phaseDiff) * params[1] + 1.57
43 a4 = math.sin(i * speed + params[4] + phaseDiff) * params[1] + 1.57
45 a6 = math.sin(i * speed + params[5] + phaseDiff) * params[1] + 1.57
/dports/audio/carla/Carla-2.4.1/source/modules/hylia/link/ableton/link/
H A DPhase.hpp58 const auto phaseDiff = (desiredPhase - xPhase + quantum) % quantum; in nextPhaseMatch() local
59 return x + phaseDiff; in nextPhaseMatch()
/dports/audio/supercollider/SuperCollider-3.11.0-Source/external_libraries/link/include/ableton/link/
H A DPhase.hpp58 const auto phaseDiff = (desiredPhase - xPhase + quantum) % quantum; in nextPhaseMatch() local
59 return x + phaseDiff; in nextPhaseMatch()
/dports/emulators/dolphin-emu/dolphin-3152428/Externals/FreeSurround/source/
H A DFreeSurroundDecoder.cpp177 double phaseDiff = abs(phaseL - phaseR); in buffered_decode() local
178 if (phaseDiff > pi) in buffered_decode()
179 phaseDiff = 2 * pi - phaseDiff; in buffered_decode()
183 transform_decode(ampDiff, phaseDiff, x, y); in buffered_decode()
/dports/x11/kf5-kdelibs4support/kdelibs4support-5.89.0/src/kdecore/
H A Dktimezone.cpp1129 const int phaseDiff = prevoffset - offset; in isSecondOccurrence() local
1130 if (phaseDiff <= 0) { in isSecondOccurrence()
1135 return (afterStart < phaseDiff); in isSecondOccurrence()
1306 const int phaseDiff = nextPhase.utcOffset() - offset; in transitionIndex() local
1307 if (phaseDiff > 0) { in transitionIndex()
1309 … if (dtutc.msecsTo(d->transitions.at(next).time())/1000 + nextPhase.utcOffset() <= phaseDiff) { in transitionIndex()
/dports/science/qmcpack/qmcpack-3.11.0/src/QMCDrivers/
H A DWaveFunctionTester.cpp1030 RealType phaseDiff = Psi.getPhaseDiff(); in runBasicTest() local
1042 if (phaseDiff < 0.0) in runBasicTest()
1043 phaseDiff += 2.0 * M_PI; in runBasicTest()
1044 if (phaseDiff > 2.0 * M_PI) in runBasicTest()
1045 phaseDiff -= 2.0 * M_PI; in runBasicTest()
1054 … fout << " PhaseDiff " << phaseDiff / dphase << " " << phaseDiff << " " << dphase << std::endl; in runBasicTest()