Commit Graph

29 Commits

Author SHA1 Message Date
Robin Gareus 4a99a40afd
Add options to create and locate to scene markers 2024-05-31 18:21:21 +02:00
Ben Loftis 27e2348b47 when capturing a midi pgm change, display the pgm num (for LT) 2024-05-02 12:43:12 -05:00
Paul Davis b35518e212 switch from boost::{shared,weak}_ptr to std::{shared,weak}_ptr
This is mostly a simple lexical search+replace but the absence of operator< for
std::weak_ptr<T> leads to some complications, particularly with Evoral::Sequence
and ExportPortChannel.
2023-03-24 14:19:15 -06:00
Paul Davis cdb1972928 continuing timeline type conversions 2021-08-13 12:51:29 -06:00
Paul Davis eae9d276fe libardour: conversion to use timeline types (mega-commit) 2021-08-13 12:51:29 -06:00
Robin Gareus f9cdf533ba
Event API consistency; reorder arguments (time, type, payload) 2020-09-20 19:18:09 +02:00
Paul Davis a855119bdd rename all Evoral source from .(hpp|cpp)$ to .(h|cc) 2019-11-02 16:32:18 -06:00
Robin Gareus a22f918d9d
Update libardour GPL boilerplate and (C) from git log 2019-08-03 15:53:16 +02:00
Paul Davis 30b087ab3d globally change all use of "frame" to refer to audio into "sample".
Generated by tools/f2s. Some hand-editing will be required in a few places to fix up comments related to timecode
and video in order to keep the legible
2017-09-18 12:39:17 -04:00
nick_m d0580ecfbc allow all types of range location (loop, start, end etc.) to be glued to bars and beats. 2016-12-29 01:39:31 +11:00
David Robillard 08fffeffec Remove Evoral::MIDIEvent
It is slightly questionable whether type specific methods like
velocity() belong on Event at all, these may be better off as free
functions.  However the code currently uses them as methods in many
places, and it seems like a step in the right direction, since, for
example, we might some day have events that have a velocity but aren't
stored as MIDI messages (e.g. if Ardour uses an internal musical model
that is more expressive).

In any case, the former inheritance and plethora of sloppy casts is
definitely not the right thing.
2016-12-03 15:18:21 -05:00
Paul Davis cf52d6e4b4 enough with umpteen "i18n.h" files. Consolidate on pbd/i18n.h 2016-07-14 14:45:23 -04:00
Paul Davis 41b2de41d6 change API for accessing session MIDI ports so that (1) boost::shared_ptr<> is used all the time (2) we avoid using multiple functions to return different subclass versions of some ports 2015-12-07 12:38:17 -05:00
Robin Gareus 22b07e0233 NOOP, remove trailing tabs/whitespace. 2015-10-05 16:17:49 +02:00
Paul Davis 4dc63966f0 globally remove all trailing whitespace from ardour code base.
Paul Davis was responsible for introducing almost all of this.
2015-10-04 14:51:05 -04:00
Paul Davis 3b1609fc52 use the frame/sample based inter-scene gap, not the msecs one (now removed) 2015-06-29 14:18:14 -04:00
Paul Davis c2476ea73d add API for controlling and determining active status of a SceneChange
Conflicts:
	libs/ardour/ardour/scene_change.h
2015-06-29 14:18:14 -04:00
Paul Davis 11e371c5e7 integrate Session::remove_routes() from Tracks and replace Session::remove_route() internal implementation.
The singular case replicated (and was the model for) the plural case.
2015-06-29 14:18:11 -04:00
GZharun 2f790bc638 fix bank ID when MIDI Scene change handles a program change message 2015-06-29 14:18:11 -04:00
David Robillard c35e94a3c8 Fix some mangled whitespace (noop). 2014-12-30 14:41:22 -05:00
David Robillard 2588b1cac9 Trim the include tree. 2014-11-30 23:56:19 -05:00
Paul Davis 9254e80c39 refactor MIDISceneChange color property addition by moving it into SceneChange to anticipate other types of SceneChange objects (e.g. OSC) 2014-11-10 23:17:27 -05:00
Paul Davis e27651d315 when creating a new MIDI scene change, check existing scene changes for equality and reuse their color (which may or may not be set) 2014-11-10 23:17:19 -05:00
Paul Davis 98b66b9f3d catch up with waves/tracks version of MIDI scene changer code 2014-11-05 19:45:23 -05:00
Paul Davis f900711136 port changes to ARDOUR::Location and ARDOUR::Locations APIs from Tracks to Ardour.
Fixes deadlocks caused by mutex on Locations list, and clarifies the purposes and uses of the class-level and
object-level change-related signals.
2014-10-24 12:18:46 -04:00
David Robillard 885f1c71ec Remove unused variables (fix warnings). 2014-08-31 17:54:16 -04:00
Paul Davis 6ffd8a9543 a variety of changes to finalize (?) (MIDI) SceneChange functionality 2014-05-02 18:44:04 -04:00
Paul Davis d604852f67 use per-channel signals to pick up scene changes, rather than global ones 2014-04-30 10:10:31 -04:00
Paul Davis 2cf411e4be merge (squash) with scenechange topic branch to provide MIDI-driven scene change markers 2014-04-28 19:58:24 -04:00