Home
last modified time | relevance | path

Searched refs:firstBeat (Results 1 – 12 of 12) sorted by relevance

/dports/audio/mixxx/mixxx-2.3.0/src/track/
H A Dbeatutils.cpp123 double firstBeat = coarseBeats[leftIndex]; in retrieveConstRegions() local
167 double length = constantRegions[i + 1].firstBeat - constantRegions[i].firstBeat; in makeConstBpm()
192 const double length = constantRegions[i + 1].firstBeat - constantRegions[i].firstBeat; in makeConstBpm()
207 constantRegions[i].firstBeat; in makeConstBpm()
240 const double length = constantRegions[i + 1].firstBeat - constantRegions[i].firstBeat; in makeConstBpm()
253 constantRegions[startRegionIndex].firstBeat; in makeConstBpm()
358 double beat = constantRegions[i].firstBeat; in getBeats()
366 beats.append(constantRegions.last().firstBeat); in getBeats()
373 double firstBeat, in adjustPhase() argument
378 const double startOffset = fmod(firstBeat, beatLength); in adjustPhase()
[all …]
H A Dbeatfactory.cpp98 qDebug().noquote() << QString::number(region.firstBeat, 'g', 8) in makePreferredBeats()
104 double firstBeat = 0; in makePreferredBeats() local
105 double constBPM = BeatUtils::makeConstBpm(constantRegions, sampleRate, &firstBeat); in makePreferredBeats()
106 firstBeat = BeatUtils::adjustPhase(firstBeat, constBPM, sampleRate, beats); in makePreferredBeats()
108 sampleRate, subVersion, constBPM, firstBeat * 2); in makePreferredBeats()
H A Dbeatutils.h11 double firstBeat; member
33 double firstBeat,
H A Dbeatgrid.cpp14 double firstBeat; member
111 return makeBeatGrid(sampleRate, subVersion, blob->bpm, blob->firstBeat * kFrameSize); in makeBeatGrid()
/dports/audio/mixxx/mixxx-2.3.0/src/test/
H A Dbeatstranslatetest.cpp11 const double firstBeat = 0.0; in TEST_F() local
13 m_pTrack1->getSampleRate(), QString(), bpm, firstBeat); in TEST_F()
15 ASSERT_DOUBLE_EQ(firstBeat, grid1->findClosestBeat(0)); in TEST_F()
18 m_pTrack2->getSampleRate(), QString(), bpm, firstBeat); in TEST_F()
20 ASSERT_DOUBLE_EQ(firstBeat, grid2->findClosestBeat(0)); in TEST_F()
H A Dbeatmaptest.cpp92 double firstBeat = startOffsetSamples + beatLengthSamples * 0; in TEST_F() local
97 EXPECT_EQ(firstBeat, pMap->findNthBeat(firstBeat, -1)); in TEST_F()
98 EXPECT_EQ(firstBeat, pMap->findPrevBeat(firstBeat)); in TEST_F()
99 EXPECT_EQ(-1, pMap->findNthBeat(firstBeat, -2)); in TEST_F()
106 pMap->findPrevNextBeats(firstBeat, &prevBeat, &nextBeat); in TEST_F()
107 EXPECT_EQ(firstBeat, prevBeat); in TEST_F()
108 EXPECT_EQ(firstBeat + beatLengthSamples, nextBeat); in TEST_F()
/dports/audio/musescore/MuseScore-3.6.1/importexport/midiimport/
H A Dimportmidi_beat.cpp123 auto firstBeat = *beatSet.begin(); in addFirstBeats() local
124 if (firstTick < firstBeat) { in addFirstBeats()
126 const auto beatLen = *std::next(beatSet.begin()) - firstBeat; in addFirstBeats()
128 firstBeat -= beatLen; in addFirstBeats()
129 beatSet.insert(firstBeat); in addFirstBeats()
131 } while (firstBeat > firstTick || addedBeatCount % beatsInBar); in addFirstBeats()
/dports/audio/rosegarden/rosegarden-21.06.1/src/commands/edit/
H A DSelectAddEvenNotesCommand.cpp158 Event *firstBeat,
169 result.push_back(BeatEvent(firstBeat, 0));
175 currentBeatTime - firstBeat->getAbsoluteTime();
H A DSelectAddEvenNotesCommand.h85 Event *firstBeat,
/dports/audio/dmidiplayer/dmidiplayer-1.5.1/
H A Dsequence.h107 BeatEvent* firstBeat();
H A Dseqplayer.cpp381 m_firstBeat = m_song.firstBeat(); in loadFile()
H A Dsequence.cpp236 BeatEvent *Sequence::firstBeat() in firstBeat() function in Sequence