Home
last modified time | relevance | path

Searched refs:beats (Results 1 – 25 of 2431) sorted by relevance

12345678910>>...98

/dports/audio/ardour6/Ardour-6.8.0/libs/temporal/temporal/
H A Dbbt_time.h41 int32_t beats; member
53 (bars == other.bars && beats < other.beats) ||
54 (bars == other.bars && beats == other.beats && ticks < other.ticks);
59 (bars <= other.bars && beats <= other.beats) ||
60 (bars <= other.bars && beats <= other.beats && ticks <= other.ticks);
65 (bars == other.bars && beats > other.beats) ||
66 (bars == other.bars && beats == other.beats && ticks > other.ticks);
71 (bars >= other.bars && beats >= other.beats) ||
72 (bars >= other.bars && beats >= other.beats && ticks >= other.ticks);
76 return bars == other.bars && beats == other.beats && ticks == other.ticks;
[all …]
/dports/audio/yoshimi/yoshimi-2.1.2.2/src/MusicIO/
H A DMusicIO.cpp189 if (fabsf(beats->songBeat + songVsMonotonicBeatDiff - beats->monotonicBeat) < 0.1f) in adjustMonotonicRounding()
190 beats->monotonicBeat = beats->songBeat + songVsMonotonicBeatDiff; in adjustMonotonicRounding()
192 songVsMonotonicBeatDiff = beats->monotonicBeat - beats->songBeat; in adjustMonotonicRounding()
246 bpm = beats.bpm; in setBeatValues()
251 return beats; in setBeatValues()
294 beats.songBeat = 0; in SinglethreadedBeatTracker()
295 beats.monotonicBeat = 0; in SinglethreadedBeatTracker()
296 beats.bpm = 120; in SinglethreadedBeatTracker()
308 this->beats = beats; in setBeatValues()
310 return beats; in setBeatValues()
[all …]
/dports/editors/calligra/calligra-3.2.1/plugins/musicshape/core/
H A DTimeSignature.cpp28 int beats; member in MusicCore::TimeSignature::Private
36 setBeats(beats); in TimeSignature()
51 int TimeSignature::beats() const in beats() function in MusicCore::TimeSignature
53 return d->beats; in beats()
56 void TimeSignature::setBeats(int beats) in setBeats() argument
58 if (d->beats == beats) return; in setBeats()
59 d->beats = beats; in setBeats()
63 emit beatsChanged(beats); in setBeats()
109 if (d->beats % 3 == 0) { in beatLengths()
110 for (int i = 0; i < d->beats / 3; i++) { in beatLengths()
[all …]
/dports/audio/supercollider/SuperCollider-3.11.0-Source/SCClassLibrary/Common/Control/asScore/
H A DScoreStreamPlayer.sc28 var <>beats, <>tempo;
40 beats2secs { | beats | ^beats }
41 secs2beats { | beats | ^beats }
43 add { | beats, args |
44 beats = beats min: maxTime;
45 if(beats.isArray) {
46 beats.do { |each, i|
85 beats = timeOffset;
94 thisThread.beats = beats;
96 (maxTime >= beats) and: { ev.notNil }
[all …]
/dports/audio/supercollider/SuperCollider-3.11.0-Source/SCClassLibrary/Common/Core/
H A DClock.sc9 *beats { ^thisThread.seconds }
10 *beats2secs { | beats | ^beats }
79 beats = thisThread.beats;
230 beats {
239 beats_ { arg beats;
287 beats2secs { arg beats;
323 // given a number of beats, determine number beats at the next bar line.
360 baseBarBeat = beats;
376 *beats { ^TempoClock.default.beats }
377 *beats2secs { | beats | ^TempoClock.default.beats2secs(beats) }
[all …]
/dports/audio/supercollider/SuperCollider-3.11.0-Source/external_libraries/link/src/ableton/link/
H A Dtst_Beats.cpp30 const auto beats = Beats{0.5};
31 CHECK(500000 == beats.microBeats());
32 CHECK(0.5 == Approx(beats.floating()));
37 const auto beats = Beats{INT64_C(100000)};
38 CHECK(100000 == beats.microBeats());
39 CHECK(0.1 == Approx(beats.floating()));
78 Beats beats{0.5}; variable
79 CHECK(8 == sizeInByteStream(beats));
84 Beats beats{0.5}; variable
85 std::vector<std::uint8_t> bytes(sizeInByteStream(beats));
[all …]
/dports/audio/supercollider/SuperCollider-3.11.0-Source/HelpSource/Classes/
H A DTempoClock.schelp23 argument:: beats
49 "current beats:" + t.beats;
55 "current beats:" + t.beats;
62 TempoClock.default.beats // beats since default TempoClock was started
77 method:: beats
127 method::beats
133 link::Classes/Thread#-beats#time in beats:: is returned, otherwise the Thread's
156 t.beats = 100;
172 c.beats = 100;
193 link::Classes/Thread#-beats#time in beats:: is used, otherwise the Thread's
[all …]
/dports/audio/orbit-lv2/orbit-0.1.431/
H A Dorbit_timecapsule.c42 } beats; member
56 double beats; member
146 job->beats = beats; in _reposition_play()
167 job->beats = beats; in _reposition_rec()
341 itm.beats.u = be64toh(itm.beats.u); in _read_header()
344 if(beats) in _read_header()
345 *beats = itm.beats.d; in _read_header()
421 .beats.d = beats, in _write_to()
424 itm.beats.u = htobe64(itm.beats.u); in _write_to()
454 double beats; in _read_from() local
[all …]
/dports/audio/ardour6/Ardour-6.8.0/libs/ardour/
H A Dbeats_samples_converter.cc31 BeatsSamplesConverter::to (Temporal::Beats beats) const in to()
33 if (beats < Temporal::Beats()) { in to()
34 std::cerr << "negative beats passed to BFC: " << beats << std::endl; in to()
38 return _tempo_map.samplepos_plus_qn (_origin_b, beats) - _origin_b; in to()
53 DoubleBeatsSamplesConverter::to (double beats) const in to()
55 if (beats < 0.0) { in to()
56 std::cerr << "negative beats passed to BFC: " << beats << std::endl; in to()
60 return _tempo_map.samplepos_plus_qn (_origin_b, Temporal::Beats(beats)) - _origin_b; in to()
/dports/audio/muse-sequencer/muse-4.0.0/src/muse/components/
H A Dmetronome.cpp136 for(int i = 0; i < beats; ++i) in paintEvent()
247 fillAccentPresets(beats); in accentPresetsTypeItemActivated()
296 if(beats <= 0) in changeAccents()
300 getAccents(beats, &mas); in changeAccents()
313 if(beats <= 0) in clearAccents()
317 getAccents(beats, &mas); in clearAccents()
696 fillAccentPresets(beats); in accentBeatsChanged()
744 if(beats > 0) in configureAccentButtons()
780 if(beats > 0) in configureAccentButtons()
989 getAccents(beats, &mas); in addAccentsPresetClicked()
[all …]
/dports/audio/tuxguitar/tuxguitar-src-1.2/TuxGuitar/src/org/herac/tuxguitar/song/models/
H A DTGMeasure.java35 private List beats; field in TGMeasure
41 this.beats = new ArrayList(); in TGMeasure()
69 return this.beats; in getBeats()
74 this.beats.add(beat); in addBeat()
78 this.beats.remove(beat); in moveBeat()
79 this.beats.add(index,beat); in moveBeat()
83 this.beats.remove(beat); in removeBeat()
88 return (TGBeat)this.beats.get(index); in getBeat()
94 return this.beats.size(); in countBeats()
148 this.beats.clear(); in makeEqual()
[all …]
/dports/audio/mixxx/mixxx-2.3.0/src/test/
H A Dbeatmaptest.cpp37 QVector<double> beats; in createBeatVector() local
39 beats.append(first_beat + i * beat_length); in createBeatVector()
41 return beats; in createBeatVector()
57 auto pMap = BeatMap::makeBeatMap(m_pTrack->getSampleRate(), QString(), beats); in TEST_F()
89 auto pMap = BeatMap::makeBeatMap(m_pTrack->getSampleRate(), QString(), beats); in TEST_F()
121 auto pMap = BeatMap::makeBeatMap(m_pTrack->getSampleRate(), QString(), beats); in TEST_F()
158 auto pMap = BeatMap::makeBeatMap(m_pTrack->getSampleRate(), QString(), beats); in TEST_F()
269 QVector<double> beats; in TEST_F() local
273 beats.append(beat_pos); in TEST_F()
292 beats = createBeatVector(10, 3, getBeatLengthFrames(filebpm)); in TEST_F()
[all …]
/dports/audio/giada/giada-0.17.1/src/gui/dialogs/
H A DbeatsInput.cpp54 beats = new geInput(8, 8, 43, G_GUI_UNIT); in gdBeatsInput()
55 bars = new geInput(beats->x()+beats->w()+4, 8, 43, G_GUI_UNIT); in gdBeatsInput()
59 beats->maximum_size(2); in gdBeatsInput()
60 beats->value(std::to_string(m::clock::getBeats()).c_str()); in gdBeatsInput()
61 beats->type(FL_INT_INPUT); in gdBeatsInput()
87 if (!strcmp(beats->value(), "") || !strcmp(bars->value(), "")) in cb_update()
89 c::main::setBeats(atoi(beats->value()), atoi(bars->value())); in cb_update()
/dports/audio/musescore/MuseScore-3.6.1/thirdparty/beatroot/
H A DAgent.cpp58 void Agent::accept(const Event &e, double err, int beats) in accept() argument
66 beatCount += beats; in accept()
85 double beats = nearbyint((e.time - beatTime) / beatInterval); in considerAsBeat() local
86 double err = e.time - beatTime - beats * beatInterval; in considerAsBeat()
87 if ((beats > 0) && (-preMargin <= err) && (err <= postMargin)) { in considerAsBeat()
93 accept(e, err, (int)beats); in considerAsBeat()
108 double beats = nearbyint((nextBeat - prevBeat) / beatInterval - 0.01); // prefer slow in fillBeats() local
109 double currentInterval = (nextBeat - prevBeat) / beats; in fillBeats()
110 for ( ; (nextBeat > start) && (beats > 1.5); --beats) { in fillBeats()
H A DBeatTracker.cpp26 const EventList &beats) in beatTrack() argument
31 if (!beats.empty()) { in beatTrack()
32 count = beats.size() - 1; in beatTrack()
33 EventList::const_iterator itr = beats.end(); in beatTrack()
38 double ioi = (beatTime - beats.begin()->time) / count; in beatTrack()
44 if (!beats.empty()) { in beatTrack()
48 (*itr)->events = beats; in beatTrack()
/dports/audio/mixxx/mixxx-2.3.0/src/track/
H A Dbeatmap.cpp183 BeatList beats, in BeatMap() argument
570 BeatList beats = m_beats; in translate() local
595 scaleDouble(&beats); in scale()
599 scaleHalve(&beats); in scale()
603 scaleDouble(&beats); in scale()
605 scaleThird(&beats); in scale()
609 scaleTriple(&beats); in scale()
611 scaleFourth(&beats); in scale()
617 scaleThird(&beats); in scale()
621 scaleTriple(&beats); in scale()
[all …]
/dports/audio/lmms/lmms-1.2.2/plugins/MidiImport/portsmf/
H A Dallegro.cpp778 if (beats) delete[] beats; in expand()
804 beats.insert(i, &map->beats[i]); in Alg_time_map()
825 while ((i < beats.len) && (time > beats[i].time)) { in locate_time()
835 while ((i < beats.len) && (beat > beats[i].beat)) { in locate_beat()
916 beats[j - 1].beat + 0.000001 >= beats[j].beat) { in insert_beat()
917 beats[j].beat = beats[j - 1].beat + 0.000001; in insert_beat()
940 double diff = beats[i + 1].beat - beats[i].beat; in insert_tempo()
949 beats[i].time = beats[i].time + diff; in insert_tempo()
969 beats[start_x] = beats[stop_x]; in set_tempo()
1004 beats[i].time = beats[i].time - start; in trim()
[all …]
/dports/audio/audacity/audacity-Audacity-3.1.3/lib-src/portsmf/
H A Dallegro.cpp797 if (beats) delete[] beats; in expand()
823 beats.insert(i, &map->beats[i]); in Alg_time_map()
844 while ((i < beats.len) && (time > beats[i].time)) { in locate_time()
854 while ((i < beats.len) && (beat > beats[i].beat)) { in locate_beat()
940 beats[j - 1].beat + 0.000001 >= beats[j].beat) { in insert_beat()
941 beats[j].beat = beats[j - 1].beat + 0.000001; in insert_beat()
974 beats[i].time = beats[i].time + diff; in insert_tempo()
992 if (i < beats.len && beat >= beats[i].beat) i++; in get_tempo()
1026 beats[start_x] = beats[stop_x]; in set_tempo()
1089 beats[i].time = beats[i].time - start; in trim()
[all …]
/dports/net/frr7-pythontools/frr-frr-7.5.1/tests/lib/
H A Dtest_ttable.refout43 | nebula dusk session streets twilight pioneer beats yeah | prarie dog | | cornmeal | :O -*_-* |
51 …| nebula dusk session streets twilight pioneer beats yeah | prarie dog | | cornmeal | :O -*_-* …
61 …| nebula dusk session streets twilight pioneer beats yeah | prarie dog | | cornmeal | :O -*_-* …
73 …| nebula dusk session streets twilight pioneer beats yeah | prarie dog | | cornmeal | :O -*_-* …
85 …| nebula dusk session streets twilight pioneer beats yeah | prarie dog | | cornmeal | :O -*_-* …
97 …| nebula dusk session streets twilight pioneer beats yeah | prarie dog | | cornmeal | :O -*_-* …
109 …| nebula dusk session streets twilight pioneer beats yeah | prarie dog | | cornmeal | :O -*_-* …
121 …| nebula dusk session streets twilight pioneer beats yeah | prarie dog | | cornmeal | :O -*…
131 | nebula dusk session streets twilight pioneer beats yeah prarie dog cornmeal :O -*_-* |
141 | nebula dusk session streets twilight pioneer beats yeah | prarie dog cornmeal :O -*_-* |
/dports/net/frr7/frr-frr-7.5.1/tests/lib/
H A Dtest_ttable.refout43 | nebula dusk session streets twilight pioneer beats yeah | prarie dog | | cornmeal | :O -*_-* |
51 …| nebula dusk session streets twilight pioneer beats yeah | prarie dog | | cornmeal | :O -*_-* …
61 …| nebula dusk session streets twilight pioneer beats yeah | prarie dog | | cornmeal | :O -*_-* …
73 …| nebula dusk session streets twilight pioneer beats yeah | prarie dog | | cornmeal | :O -*_-* …
85 …| nebula dusk session streets twilight pioneer beats yeah | prarie dog | | cornmeal | :O -*_-* …
97 …| nebula dusk session streets twilight pioneer beats yeah | prarie dog | | cornmeal | :O -*_-* …
109 …| nebula dusk session streets twilight pioneer beats yeah | prarie dog | | cornmeal | :O -*_-* …
121 …| nebula dusk session streets twilight pioneer beats yeah | prarie dog | | cornmeal | :O -*…
131 | nebula dusk session streets twilight pioneer beats yeah prarie dog cornmeal :O -*_-* |
141 | nebula dusk session streets twilight pioneer beats yeah | prarie dog cornmeal :O -*_-* |
/dports/audio/ardour6/Ardour-6.8.0/libs/ardour/ardour/
H A Devoral_types_convert.h33 inline bool to_string (Temporal::Beats beats, std::string& str) in DEFINE_ENUM_CONVERT()
35 return double_to_string (beats.to_double (), str); in DEFINE_ENUM_CONVERT()
39 inline bool string_to (const std::string& str, Temporal::Beats& beats) in string_to() argument
45 beats = Temporal::Beats(tmp); in string_to()
50 inline std::string to_string (Temporal::Beats beats) in to_string() argument
53 double_to_string (beats.to_double (), tmp); in to_string()
/dports/audio/aubio/aubio-0.4.9/python/demos/
H A Ddemo_tempo_plot.py27 beats = [] variable
36 beats.append(this_beat)
40 if len(beats) > 1:
44 bpms = 60./ diff(beats)
50 for stamp in beats: plt1.plot([stamp, stamp], [-1., 1.], '-r')
56 plt2.plot(beats[1:], bpms, '-', label = 'raw')
61 plt2.plot(beats[median_win_s+1:], bpms_median, '-', label = 'median of %d' % median_win_s)
65 plt2.plot(beats[median_win_s+1:], bpms_median, '-', label = 'median of %d' % median_win_s)
H A Ddemo_bpm_extract.py38 beats = []
47 beats.append(this_beat)
54 def beats_to_bpm(beats, path): argument
56 if len(beats) > 1:
57 if len(beats) < 4:
59 bpms = 60./diff(beats)
65 return beats_to_bpm(beats, path)
/dports/audio/py-aubio/aubio-0.4.9/python/demos/
H A Ddemo_tempo_plot.py27 beats = [] variable
36 beats.append(this_beat)
40 if len(beats) > 1:
44 bpms = 60./ diff(beats)
50 for stamp in beats: plt1.plot([stamp, stamp], [-1., 1.], '-r')
56 plt2.plot(beats[1:], bpms, '-', label = 'raw')
61 plt2.plot(beats[median_win_s+1:], bpms_median, '-', label = 'median of %d' % median_win_s)
65 plt2.plot(beats[median_win_s+1:], bpms_median, '-', label = 'median of %d' % median_win_s)
/dports/audio/artyfx-lv2/openAV-ArtyFX-release-1.3-24-g6010d1a/src/dsp/
H A Ddsp_masher.hxx85 float beats = 0.f; in duration() local
88 beats = 1; in duration()
90 beats = 2; in duration()
92 beats = 4; in duration()
94 beats = 8; in duration()
96 beats = 16; in duration()
98 newSmashSize = (beats * framesPerBar) / 8; in duration()

12345678910>>...98