summaryrefslogtreecommitdiff
path: root/libs/ardour/ticker.cc
AgeCommit message (Collapse)Author
2017-09-18globally change all use of "frame" to refer to audio into "sample".Paul Davis
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
2016-11-11rename Tempo _beats_per_minute to _note_types_per_minute, provide pulse helpers.nick_m
- adds quarter_notes_per_minute(), note_divisions_per_minute (double) pulses_per_minute() and frames_per_quarter_note() - this should be a no-op except for the use of tempo by the vst callback which definitely uses quarter notes per minute. - the XML node for TempoSection named 'beats-per-minute' has been renamed.
2016-05-27Tempo ramps - rename meter_at() -> meter_at_frame() & make the ticker ↵nick_m
slightly more efficient.
2016-05-27Tempo ramps - rename tempo_at() -> tempo_at_frame().. 3 decimals for the ↵nick_m
audioclock tempo display.
2016-05-27Tempo ramps - fix changing from const to ramp in the gui.nick_m
- also fixes some midi mouse over problems - start using replacements for frames_per_bar() frames_per_beat() etc.
2015-10-05NOOP, remove trailing tabs/whitespace.Robin Gareus
2015-10-04globally remove all trailing whitespace from ardour code base.Paul Davis
Paul Davis was responsible for introducing almost all of this.
2015-03-31fix OSX/PPC 10.4 long mathsRobin Gareus
2013-12-27initialize some uninitialized variablesRobin Gareus
2013-12-02minor tweaks to MIDI clock support, including delivery of position ↵Paul Davis
events/messages when stopped
2013-12-01fix continuous send of MIDI start/position/stop messages introduced by mistakePaul Davis
2013-09-05move MidiPortManager from AudioEngine to SessionPaul Davis
This makes the responsibilities and ownership of non-Route related MIDI ports more clear, and removes a few wierd bits of code. It also ensures that open/close/open on the same session will retain connections for those MIDI ports
2013-08-07major redesign of MIDI port heirarchy and management (part 2)Paul Davis
2013-08-02Send and Read MIDI Positions the right wayMichael Fisher
2013-08-02Midi clock housekeepingMichael Fisher
2013-08-02Revamp clock processing so it uses an internal frame reference.Michael Fisher
MidiClockTicker::Position managed by boost::scoped_ptr
2013-08-02WIP - Experimenting with an alternative clock generating algoMichael Fisher
- Transport debug output (tracing where transport_frame is updated
2013-08-02- Send position data from internal position classMichael Fisher
- Proper midi beat conversions for all time signatures - Disable responding to Session::PositionChanged in place of Session::Located.
2013-08-02Test code removal...Michael Fisher
2013-08-02MIDI Clock - Shuffling locate code (not actually used yet)Michael Fisher
- Subscribe to Session::Locate to detect seeks - Shuffle Mclk locating computations into a separate private class
2013-07-29Housekeeping, code styleMichael Fisher
2013-07-29Moving Mclk locating code to ticker.cc. HousekeepingMichael Fisher
2012-04-24add support for IP MIDI (multicast MIDI over IP UDP sockets) to ardour and ↵Paul Davis
use it if requested inside MCP code. required renaming the pre-existing MIDI::Port as MIDI:JackMIDIPort - MIDI::Port becomes the base type for both JackMIDIPort and IPMIDIPort git-svn-id: svn://localhost/ardour2/branches/3.0@12069 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-02-06fix bug in MidiClock that sent MIDI Clock messages with negative offsets ↵Paul Davis
after a loop point git-svn-id: svn://localhost/ardour2/branches/3.0@11456 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-27further simplification of midi clock ticker APIPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@11361 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-27rework design of midi clock ticker to avoid expensive generalization that ↵Paul Davis
has turned out to have no particular use, and fix bug that caused incorrect ticks to be sent (or attempted) as the transport starts up git-svn-id: svn://localhost/ardour2/branches/3.0@11359 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-13more fun and games with meter and the tempo map: rename ↵Paul Davis
Meter::beats_per_bar() to Meter::divisions_per_bar() so that its clear(er) on what it is actually returning; use Meter::divisions_per_bar() in more (all?) places that need it; fix up dragging meter marks by removing the relevant meter section from the map while we drag; operator<< for some tempo-related objects git-svn-id: svn://localhost/ardour2/branches/3.0@10995 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-01Fix broken whitespace. I'd apologize for the compile times if it was my ↵David Robillard
fault :D git-svn-id: svn://localhost/ardour2/branches/3.0@9654 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-23Re-fix compile failure with --no-nls (#3111).Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@9415 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-14Rename libmusictime libtimecode (consistent with already used namespace ↵David Robillard
"Timecode"). Move BBT_Time to libtimecode. git-svn-id: svn://localhost/ardour2/branches/3.0@8271 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-14Use DEBUG_TRACE for all of the MIDI clock ticker code.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@8264 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-13Oops, fix build.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@8260 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-13Remove unnecessary assert from midi clock ticker code; MIDI::Port handles ↵Carl Hetherington
non-process thread sends using a ringbuffer. Clean up some types. git-svn-id: svn://localhost/ardour2/branches/3.0@8259 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-03Remove all use of nframes_t.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@8166 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-08Move MIDI control port ownership into the MIDI Manager, since control port ↵Carl Hetherington
state should be Ardour-wide, not per-session. Fix up port connection state management. git-svn-id: svn://localhost/ardour2/branches/3.0@7394 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-07Setup fixed ports for MIDI control data; hence remove configuration of those ↵Carl Hetherington
ports. Move MIDI tracer to the Windows menu. Trim some unused code from the midi++ Manager. git-svn-id: svn://localhost/ardour2/branches/3.0@7384 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-06Remove non-JACK midi++ ports.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7377 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-22Fix assertion failure on transmission of MIDI clock.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@6387 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-21fully implement and deploy explicit x-thread signal connection syntax ↵Paul Davis
(testing comes next) git-svn-id: svn://localhost/ardour2/branches/3.0@6379 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-20remove a couple of boost::signals2 trouble spots; fix some --strict compile ↵Paul Davis
time warnings git-svn-id: svn://localhost/ardour2/branches/3.0@6378 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-19use new syntax for connecting to backend signals that enforces explicit ↵Paul Davis
connection scope, plus a few other related matters git-svn-id: svn://localhost/ardour2/branches/3.0@6376 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-17switch to using boost::signals2 instead of sigc++, at least for libardour. ↵Paul Davis
not finished yet, but compiles, loads sessions, records and can close a session without a crash git-svn-id: svn://localhost/ardour2/branches/3.0@6372 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-12remove using namespace sigc everywhere to ensure clarity over which ↵Paul Davis
bind/mem_fun is being used; make Config::map_parameters take a boost::function rather than a sigc::slot ; continue debugging crash caused by regionviews not tracking their Region's lifetime git-svn-id: svn://localhost/ardour2/branches/3.0@6357 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-01Prevent some segfaults when trying to send MTC when there is no port to send ↵Carl Hetherington
it to. git-svn-id: svn://localhost/ardour2/branches/3.0@6257 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-26change the use of "SMPTE" to "Timecode" to reflect the global economy and ↵Paul Davis
the end of american dominance on the world audio production stage git-svn-id: svn://localhost/ardour2/branches/3.0@5924 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-21Fix compilation with -DDEBUG_MIDI_CLOCKDavid Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@5851 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-14Strip trailing whitespace and fix other whitespace errors (e.g. space/tab ↵David Robillard
mixing). Whitespace changes only. Vimmers, try let c_space_errors = 1 in your .vimrc to highlight this kind of stuff in red. I don't know the emacs equivalent... git-svn-id: svn://localhost/ardour2/branches/3.0@5773 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-01Don't send midi clock during export, for now, to avoid assertion failure ↵Carl Hetherington
when the transmission code tries to send MIDI outside the process callback. git-svn-id: svn://localhost/ardour2/branches/3.0@5612 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-21Fix some unused parameter warnings.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@5403 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-01* made MidiClock_Slave conform more to to the Spec by starting transportHans Baier
on the first MidiClock Message after the start Message * removed debugging output from session_process.c * fixed bug: calculate a more sensible speed value on transport start * fixed typos in Slave docs * refactored MidiClock_Slave for better readability * made MidiClock_Slave react to continue messages git-svn-id: svn://localhost/ardour2/branches/3.0@4365 d708f5d6-7413-0410-9779-e7cbd77b26cf