Home
last modified time | relevance | path

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

/dports/audio/ardour6/Ardour-6.8.0/libs/ardour/test/
H A Dtempo_test.cc41 map.add_tempo (tempoB, 3.0, 0, MusicTime); in recomputeMapTest48()
139 map.add_tempo (tempoB, 3.0, 0, MusicTime); in recomputeMapTest44()
240 map.add_tempo (tempoB, 2.0, 0, MusicTime); in qnDistanceTestConstant()
245 map.add_tempo (tempoD, 9.0, 0, MusicTime); in qnDistanceTestConstant()
247 map.add_tempo (tempoE, 12.0, 0, MusicTime); in qnDistanceTestConstant()
249 map.add_tempo (tempoF, 15.0, 0, MusicTime); in qnDistanceTestConstant()
319 map.add_tempo (tempoB, 3.0, 0, MusicTime); in qnDistanceTestRamp()
324 map.add_tempo (tempoD, 9.0, 0, MusicTime); in qnDistanceTestRamp()
326 map.add_tempo (tempoE, 12.0, 0, MusicTime); in qnDistanceTestRamp()
328 map.add_tempo (tempoF, 15.0, 0, MusicTime); in qnDistanceTestRamp()
[all …]
H A Dsamplepos_plus_beats_test.cc68 map.add_tempo (tempoB, 12.0 / tempoA.note_type(), 0, MusicTime); in doubleTempoTest()
121 map.add_tempo (tempoB, 12.0 / tempoA.note_type(), 0, MusicTime); in doubleTempoWithMeterTest()
123 map.add_meter (meterB, BBT_Time (4, 1, 0), 0, MusicTime); in doubleTempoWithMeterTest()
178 map.add_tempo (tempoB, 12.0 / 4.0, 0, MusicTime); in doubleTempoWithComplexMeterTest()
180 map.add_meter (meterB, BBT_Time (4, 1, 0), 0, MusicTime); in doubleTempoWithComplexMeterTest()
H A Dsamplepos_minus_beats_test.cc69 map.add_tempo (tempoB, 12.0 / tempoA.note_type(), 0, TempoSection::Constant, MusicTime); in doubleTempoTest()
122 map.add_tempo (tempoB, 12.0 / tempoA.note_type(), 0, TempoSection::Constant, MusicTime); in doubleTempoWithMeterTest()
124 map.add_meter (meterB, 12.0, BBT_Time (4, 1, 0), 0, MusicTime); in doubleTempoWithMeterTest()
H A Dsamplewalk_to_beats_test.cc76 map.add_tempo (tempoB, 12.0 / tempoB.note_type(), 0, MusicTime); in doubleTempoTest()
132 map.add_tempo (tempoB, 4.0 / tempoB.note_type(), 0, MusicTime); in tripleTempoTest()
134 map.add_tempo (tempoC, 8.0 / tempoB.note_type(), 0, MusicTime); in tripleTempoTest()
H A Dbbt_test.cc20 map.add_meter (meter, BBT_Time(2, 1, 0), 0, MusicTime); in addTest()
/dports/audio/ardour6/Ardour-6.8.0/libs/ardour/
H A Dregion_factory.cc94 … ().config.get_glue_new_regions_to_bars_and_beats () && ret->position_lock_style () != MusicTime) { in create()
95 ret->set_position_lock_style (MusicTime); in create()
136 … ().config.get_glue_new_regions_to_bars_and_beats () && ret->position_lock_style () != MusicTime) { in create()
137 ret->set_position_lock_style (MusicTime); in create()
176 … ().config.get_glue_new_regions_to_bars_and_beats () && ret->position_lock_style () != MusicTime) { in create()
177 ret->set_position_lock_style (MusicTime); in create()
218 … ().config.get_glue_new_regions_to_bars_and_beats () && ret->position_lock_style () != MusicTime) { in create()
219 ret->set_position_lock_style (MusicTime); in create()
261 … ().config.get_glue_new_regions_to_bars_and_beats () && ret->position_lock_style () != MusicTime) { in create()
262 ret->set_position_lock_style (MusicTime); in create()
H A Dtempo.cc150 _position_lock_style = MusicTime; in set_state()
163 : MetricSection (0.0, 0, MusicTime, true, sample_rate) in TempoSection()
2685 const bool tlm = t->position_lock_style() == MusicTime; in solve_map_minute()
2697 if (t->position_lock_style() == MusicTime) { in solve_map_minute()
2749 if (t->position_lock_style() == MusicTime) { in solve_map_pulse()
2841 tempo_copy->set_position_lock_style (MusicTime); in solve_map_minute()
2844 section->set_position_lock_style (MusicTime); in solve_map_minute()
3172 tempo_copy->set_position_lock_style (MusicTime); in predict_tempo_position()
3212 if (ts->position_lock_style() == MusicTime) { in gui_set_tempo_position()
3246 tempo_copy->set_position_lock_style (MusicTime); in gui_set_tempo_position()
[all …]
H A Dlocation.cc89 , _position_lock_style (s.config.get_glue_new_markers_to_bars_and_beats() ? MusicTime : AudioTime) in Location()
601 if (position_lock_style() == MusicTime) { in get_state()
730 if (ps == MusicTime) { in set_position_lock_style()
748 if (_position_lock_style != MusicTime) { in recompute_samples_from_beat()
H A Daudio_region_importer.cc317 r->set_position_lock_style (MusicTime); in prepare_region()
H A Dregion.cc215 …on_lock_style (Properties::position_lock_style, _type == DataType::AUDIO ? AudioTime : MusicTime) \
663 if (position_lock_style() == MusicTime) { in set_position()
723 if (position_lock_style() == MusicTime) { in set_position_music()
1419 if (_position_lock_style == MusicTime) { in _set_state()
H A Denums.cc743 REGISTER_ENUM(MusicTime); in setup_enum_writer()
H A Dluabindings.cc2134 .addConst ("MusicTime", ARDOUR::PositionLockStyle(MusicTime)) in common()
/dports/audio/ardour6/Ardour-6.8.0/gtk2_ardour/
H A Deditor_tempodisplay.cc106 if (ms->position_lock_style() == MusicTime) { in draw_metric_marks()
125 if (ts->position_lock_style() == MusicTime) { in draw_metric_marks()
419 map.add_tempo (map.tempo_at_sample (sample), pulse, 0, MusicTime); in mouse_add_new_tempo_event()
459 if (meter_dialog.get_lock_style() == MusicTime) { in mouse_add_new_meter_event()
460 map.add_meter (Meter (bpb, note_type), requested, 0, MusicTime); in mouse_add_new_meter_event()
513 const PositionLockStyle pls = (meter_dialog.get_lock_style() == AudioTime) ? AudioTime : MusicTime; in edit_meter_section()
554 _session->tempo_map().replace_tempo (*section, tempo, p, 0, MusicTime); in edit_tempo_section()
H A Dtempo_dialog.cc61 …(), tempo.end_note_types_per_minute(), tempo.note_type(), TempoSection::Constant, true, MusicTime); in TempoDialog()
155 lock_styles.insert (make_pair (_("music"), MusicTime)); in init()
394 return MusicTime; in get_lock_style()
497 init (when, meter.divisions_per_bar(), meter.note_divisor(), false, MusicTime); in MeterDialog()
554 lock_styles.insert (make_pair (_("music"), MusicTime)); in init()
724 return MusicTime; in get_lock_style()
H A Deditor_markers.cc217 if (location->position_lock_style() == MusicTime) { in location_changed()
975 glue_item->set_active (loc->position_lock_style() == MusicTime); in build_marker_menu()
1011 glue_item->set_active (loc->position_lock_style() == MusicTime); in build_range_marker_menu()
1496 const PositionLockStyle pls = (msp->position_lock_style() == AudioTime) ? MusicTime : AudioTime; in toggle_marker_lock_style()
1508 const PositionLockStyle pls = (tsp->position_lock_style() == AudioTime) ? MusicTime : AudioTime; in toggle_marker_lock_style()
1849 if (loc->position_lock_style() == MusicTime) { in toggle_marker_menu_glue()
1852 loc->set_position_lock_style (MusicTime); in toggle_marker_menu_glue()
H A Dlocation_ui.cc262 glue_check_button.set_active (location->position_lock_style() == MusicTime); in set_location()
576 location->set_position_lock_style (MusicTime); in glue_toggled()
692 glue_check_button.set_active (location->position_lock_style() == MusicTime); in flags_changed()
722 glue_check_button.set_active (location->position_lock_style() == MusicTime); in position_lock_style_changed()
H A Deditor_audio_import.cc297 new_map.add_tempo (tempo, t->time_pulses/ (double)smf.ppqn() / 4.0, 0, MusicTime); in import_smf_tempo_map()
300 new_map.add_meter (meter, bbt, 0, MusicTime); in import_smf_tempo_map()
H A Deditor_mouse.cc1934 if (m_marker->meter().position_lock_style() == MusicTime) { in enter_handler()
1946 if (t_marker->tempo().position_lock_style() == MusicTime) { in enter_handler()
2062 if (m_marker->meter().position_lock_style() == MusicTime) { in leave_handler()
2074 if (t_marker->tempo().position_lock_style() == MusicTime) { in leave_handler()
H A Deditor_regions.cc866 if (region->position_lock_style () == MusicTime) { in populate_row_glued()
1235 region->set_position_lock_style ((*i)[_columns.glued] ? AudioTime : MusicTime); in glued_changed()
H A Dregion_view.cc778 if (_region->position_lock_style() == MusicTime) { in make_name()
H A Deditor_selection.cc1387 if (r->position_lock_style() == MusicTime) { in sensitize_the_right_region_actions()
H A Deditor_drag.cc1377 if (rv->region()->position_lock_style() == MusicTime) { in motion()
3618 if (_real_section->position_lock_style() == MusicTime) { in motion()
3620 _real_section = map.add_tempo (tempo, map.exact_qn_at_sample (sample, divisions), 0, MusicTime); in motion()
H A Deditor_ops.cc6141 …>region()->position_lock_style() == AudioTime && !cmi->get_inconsistent()) ? MusicTime : AudioTime; in toggle_region_lock_style()
/dports/audio/ardour6/Ardour-6.8.0/nutemp/
H A Dt.cc471 if ((tmp->lock_style() == MusicTime)) { in rebuild()
792 …MapPoint (TempoMapPoint::ExplicitTempo, t, meter, 0, Temporal::Beats(), on_beat, MusicTime, ramp)); in set_tempo()
830 …sert (i, TempoMapPoint (TempoMapPoint::ExplicitMeter, tempo, m, sc, qn, measure_start, MusicTime)); in set_meter()
993 …st TempoMapPoint tp (TempoMapPoint::Flag(0), metric, metric, 0, Temporal::Beats(), bbt, MusicTime); in iterator_at()
1049 …t tmp (TempoMapPoint::Flag (0), Tempo (120), Meter (4, 4), 0, qn, Timecode::BBT_Time(), MusicTime); in superclock_at_locked()
1079 …int tmp (TempoMapPoint::Flag (0), Tempo (120), Meter (4, 4), 0, Temporal::Beats(), bbt, MusicTime); in superclock_at_locked()
/dports/audio/ardour6/Ardour-6.8.0/libs/ardour/ardour/
H A Dtypes.h696 MusicTime enumerator