13
0
Commit Graph

11476 Commits

Author SHA1 Message Date
e16d8637f8 NO-OP: indentation 2016-09-13 14:11:29 -05:00
fbc8504f9e Delivery::run() now offsets data delivered to MIDI ports by the global port offset
if the output is then re-used, MIDI data is readjusted to not use the global port offset
2016-09-13 14:11:29 -05:00
ab160ca748 use class-static method rather than pretend there is a per-member value for Port::port_offset() 2016-09-13 14:11:29 -05:00
21b919c210 provide Session::declick_out_pending() 2016-09-13 14:11:29 -05:00
368a091acd second part of: change offset arguments to various <T>Buffer::read/merge methods from framecnt_t to frameoffset_t 2016-09-13 14:11:29 -05:00
b32ca9e9d9 change offset arguments to various <T>Buffer::read/merge methods from framecnt_t to frameoffset_t 2016-09-13 14:11:29 -05:00
22a9031713 add a new DEBUG enum for MidiRingBuffer 2016-09-13 14:11:29 -05:00
f57e2f2fbe add option to skip unzipping bundled demo sessions 2016-09-13 18:53:29 +02:00
53ee3e2e72 Add support for built-in file/url unzip/untar
This introduces new build-dependency: libarchive
(http://www.libarchive.org/)
2016-09-13 16:14:40 +02:00
af15cf9ef7 Remove duplicate header include from libardour source file 2016-09-13 14:55:02 +10:00
d4a64299c5 Add missing header include guards in canvas library 2016-09-13 14:32:22 +10:00
937a175898 Put ARDOUR::SystemExec implementation inside ARDOUR namespace in source file 2016-09-13 14:32:22 +10:00
6c2aa7ffc5 Add missing include guards in libardour header files 2016-09-13 14:31:35 +10:00
Johannes Mueller
5eaec8c82d Expose Location::name() to Lua 2016-09-12 12:03:16 +02:00
656b3b9c28 Add a Lua wrapper to Glib::build_filename() 2016-09-12 12:02:07 +02:00
Johannes Mueller
e54ae02170 Expose Locations::remove() to Lua
Clearing location markers is a frequent task and should be automizable. For
example it is handy to clear all the markers when restarting the recording
from scratch after a failed recording.
2016-09-12 11:10:40 +02:00
Thomas Brand
98d9887adb add request_play_loop() & get_play_loop() to luabindings 2016-09-12 11:08:37 +02:00
f91e591f40 Fix #6774, Moving start/end markers doesn't set Session as modified/dirty
If a Session is saved and then the start or end session markers are moved,
closing the Session will not result in "Unsaved Session" dialog being presented
even though the Session has been modified. This change sets the Session as
modified when either the Session start or end markers are modified.
2016-09-11 21:24:56 +10:00
dbf86a495b for files imported without copy, _origin is a full path. We should use this when looking for the file at session load 2016-09-07 12:38:39 -04:00
9faf3e5556 correct comment for FileSource::find() 2016-09-07 12:22:15 -04:00
Johannes Mueller
8bef7623eb Expose record enable/disable to Lua bindings 2016-09-06 22:27:31 +02:00
nick_m
ab21b241f7 Fix incorrect estimate of future revision. 2016-09-07 00:32:02 +10:00
nick_m
3f4d49fd2f Load midi region length and start correctly in sessions modified by v5.0 -> 5.3-41 2016-09-07 00:18:35 +10:00
d6e0e75f3c remove duplicate enum -- copy/paste typo 2016-09-06 01:31:55 +02:00
c432c81148 expose PeakMeter Lua bindings 2016-09-06 01:26:47 +02:00
nick_m
5186c69bac Set start_pulse and length_pulse from state, neither need to be a PBD::Property. 2016-09-06 00:04:00 +10:00
nick_m
74a604d261 Fix the tempo note-type hallucination.
- after reports that a tempo with non-4.0 note type
	  would produce a ramp in the preceding section, an incorrect
	  assumption was made leading to a bogus 'fix' that redefined
	  Tempo's pulses_per_minute().
	  the real fix was simple:
	  the ramp's function constant was calculated using the note type
	  of the proceding tempo rather than the current one.

	- this patch reverts e82482e8e9 and a4d67279e0
	  and maintains the old definition of Tempo::pulses_per_minute()
2016-09-05 16:28:46 +10:00
nick_m
dd7c0cca6c Sanity check for TempoMap::get_grid () 2016-09-04 04:19:34 +10:00
nick_m
921024b79f Revert part of d50df82799. 2016-09-04 03:19:13 +10:00
nick_m
d50df82799 Fix various paste errors in tempo.cc. Should fix recent regressions. 2016-09-03 01:22:41 +10:00
nick_m
658699e318 Use the stored beat to recalculate pulse when setting position as sub_num is irrelevent. 2016-09-02 05:13:53 +10:00
nick_m
46858a2925 Consolidate the meaning of beat divisions.
- bar and beat snapping is BBT beat based while other
	  music divisions are quarter note based. Reflect this in
	  the way exact_beat/qn is calculated.
2016-09-02 05:10:32 +10:00
22d1f1268b OSC: don't restore User preset before writing new one 2016-08-31 19:56:48 -07:00
nick_m
4a953174c3 Attempt to clarify tempo map comments. 2016-09-01 04:01:29 +10:00
nick_m
d05bfa7206 Revert 894cdb6f5c.
- once again we snap to BBT beats when snapping to 'beat'.
2016-09-01 02:43:29 +10:00
nick_m
894cdb6f5c Snap to beat snaps to quarter note. 2016-09-01 01:35:53 +10:00
nick_m
b2190cc4ff TempoMap::pulse_at_frame() handles separated musical sections as per beat_at_frame(). 2016-08-31 23:12:11 +10:00
nick_m
e82482e8e9 Fix incorrect inclusion of note_type in Tempo::pulses_per_minute(). 2016-08-31 23:12:11 +10:00
nick_m
5113a492e0 Keep region beat and pulse separated, ensure pulse is updated when setting position. 2016-08-31 23:12:11 +10:00
nick_m
16ae7d9a6d Fix incorrect start_pulse in MidiRegion copy-with-offset ctor. 2016-08-31 23:12:11 +10:00
nick_m
11a68f7dd3 Amend f3c0c1a865 (Add quarter-note position methods). 2016-08-31 23:12:11 +10:00
nick_m
15045a2228 BeatsFramesConverter uses quarter-note 'beat' position. 2016-08-31 23:12:11 +10:00
nick_m
395183ee7b Add quarter-note position methods to TempoMap. 2016-08-31 23:12:11 +10:00
nick_m
21054f6d8d Add length_pulse to MidiSource, usr quarter-notes in midi_read().
- MidiSource _length_beats is in quarter notes.
	  Here we duplicate length_beats for backwards compatibility
2016-08-31 23:12:11 +10:00
nick_m
2c7a5815ee Add start_pulse and length_pulse to midi region for beat/note separation. 2016-08-31 23:12:11 +10:00
nick_m
c0344db37a Add a pulse property to region.
- separates ardour beat (meter-based) and note (pulse-based)
	  musical position.
2016-08-31 23:12:11 +10:00
0ff233d234 Update our MSVC project files to generate the most recent Ardour session file format (ver 5) rather than the older v3 format 2016-08-30 07:15:00 +01:00
350282598c Change (slightly) the previous modification to 'fluidsynth/config.h' 2016-08-28 13:54:16 +01:00
355fa64c79 fix Coreaudio Aggregate for separate devices with identical names 2016-08-28 13:44:30 +02:00
eeee70c32d undo modifications to upstream fluidsynth code 2016-08-28 13:23:18 +02:00