Commit Graph

12198 Commits

Author SHA1 Message Date
134b69f267 Fix shared-pointer list creation from Lua 2017-01-08 00:30:41 +01:00
nick_m
9e048851c1 amend massive thinko in last commit (actually works). 2017-01-07 05:28:56 +11:00
nick_m
bacb93493d fix incorrect _start after a split.
- when splitting a region where quantized notes start on the
	  split point, the notes would sometimes vanish due to us deriving
	  an exact quarter-note from the supplied frame.
	  this only affects midi regions, as other region types
	  have contents which are completely frame-based.
2017-01-07 05:18:45 +11:00
nick_m
45a8cc7563 TempoMap - do frame conversion outside the lock when possible. 2017-01-07 02:59:07 +11:00
nick_m
66b060df67 remove some excessive methods from TempoMap.
- the beginning of what hopefully will be a saner 'pulse' definition
2017-01-07 02:52:02 +11:00
nick_m
a740cd73dd more no-op renaming - TempoSection::compute_c_func_* -> compute_c_ 2017-01-07 02:34:24 +11:00
nick_m
ce54a23a36 clear up _initial vs _locked_to_meter TempoSection ambiguity. 2017-01-07 02:29:14 +11:00
nick_m
28058f6302 more inactive tempi fixes. 2017-01-07 02:25:42 +11:00
nick_m
a3c009015a actually make import of tempo maps at selected point work (missed line from 3060a458eb) 2017-01-07 01:46:52 +11:00
nick_m
d855ad2856 rename TempoSection::c_func() -> c(). ensure constant tempi have this set to 0. 2017-01-07 01:27:06 +11:00
nick_m
4cb0090583 fix some inactive tempi bugs
- no tempo curve for inactive tempi

	- inactive and meter-locked tempi cannot be deleted.
2017-01-07 01:12:09 +11:00
nick_m
521ae30beb warn when adding / replacing a tempo fails. 2017-01-06 02:26:02 +11:00
nick_m
ade582a1bb make previous commit compile (lua) 2017-01-06 02:22:33 +11:00
nick_m
7138a0baa0 prevent meter-locked tempi from being moved directly when replacing.
- the audio-locked meter owns it.
2017-01-06 02:20:45 +11:00
nick_m
a196ce68fd ensure tempo lines use correct tempo type (constant/ramped) 2017-01-06 01:59:47 +11:00
d42202dfca variation of a PR from ngeiwei that adds MIDI channel info to controller names 2017-01-05 09:56:45 +00:00
7c2f978a68 fix assumed typo from LV2_SUPPORT PR recently committed 2017-01-05 09:56:07 +00:00
Olivier Humbert
ac562c1093 Undo (bad) fix 2017-01-05 09:31:09 +00:00
Olivier Humbert
117e80d3f0 One fix 2017-01-05 09:31:09 +00:00
Olivier Humbert
fda770eed0 French translation update 2017-01-05 09:31:09 +00:00
Olivier Humbert
7f5fcd4789 French translation update 2017-01-05 09:31:09 +00:00
Olivier Humbert
3119545407 French translation update 2017-01-05 09:31:09 +00:00
Dobroslav Slavenskoj
04b515d535 syncing with upstream 2017-01-05 09:24:40 +00:00
Dobroslav Slavenskoj
5f0857620e Fixing LV2_SUPPORT #ifdefs 2017-01-05 09:24:40 +00:00
Julien ROGER
481334ae2a Proposed fix managing shared playlists (see #7150)
Actually, when duplicating a track with "share playlist", the current
playlist is owned by the new created track(orig-track-id). The sharing
mecanism is made by diskstreams pointing on the same(shared) playlist.
Since playlist now owned by the new track, selecting another playlist in
the original track "forgets" the playlist for this track.You can't
select the shared playlist anymore from the original track.

This commit adds a way to keep trace of shared playlist between tracks.
2017-01-05 09:20:50 +00:00
0eedb7f866 Add missing function call in error message when compiling for windows 2017-01-05 10:06:17 +10:00
nick_m
7674ef1c2c add Meter::operator==. 2017-01-05 03:48:35 +11:00
nick_m
4a56b92b13 disallow tempi of 0 ntpm or less. 2017-01-05 00:15:14 +11:00
0f4d61ab30 MidiRegion::clone() needs to ensure that the model is loaded before calling MidiSource::write_to() 2017-01-03 22:10:05 +00:00
7785389e50 Extend/update LV2 license interface 2017-01-03 13:26:48 +01:00
c33f94f686 Enforce minimum pane sizes
* enforce minimum size of child widgets
* honor manually set child-minsize in size-requests
* ignore hidden children (eg. VCA)
* clamp divider position (instead of just ignoring out-of-bounds moves)
2017-01-02 17:13:56 +01:00
2ed145cfd4 allow Lua session scripts to inject [immediate] RT-events 2017-01-02 17:03:33 +01:00
ead84f75a5 Whitelist bit32 Lua library for session rt-scripts 2017-01-02 00:46:01 +01:00
e3050d144a Match API: add rt_context option for en/disable_record()
This allows to call maybe_enable_record () from Lua session or DSP scripts
2017-01-02 00:26:21 +01:00
564d6c4e3c OSC: remove unused overall feedback calls and variables 2016-12-31 08:01:23 -08:00
49d53bc98d OSC: remove feedback enable from GUI (unused) 2016-12-31 07:42:51 -08:00
81123a774a amend 3afe3f32df (remove unused global feedback option)
That commit accidentally removed unrelated code in generic-midi surface
which just happened to have the same name (get/set_midi_feedback) as the
unused preference.

Regardless, there was more cruft there. GMCP midicontrollables now use
the control surfaces' feedback option.
2016-12-31 15:20:07 +01:00
3afe3f32df Remove cruft (old MIDI feedback API) 2016-12-30 17:29:08 +01:00
c8d0015986 Tear down OSC settings GUI, when the protocol is disabled 2016-12-28 22:59:49 +01:00
d1e869f96d Move "Feedback" option to control-portocol settings 2016-12-28 22:59:15 +01:00
e1846c79a9 Fix AudioRegion RMS calc for multi-channel 2016-12-28 22:19:37 +01:00
a02aeb025b Add Lua bindings for AudioRegion RMS+Peak calc 2016-12-28 22:19:37 +01:00
nick_m
3129370bc5 add ArdourCanvas::Flag::width() 2016-12-29 04:16:09 +11: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
27ee53bf8f Emit signal for special cased configuration variable 2016-12-28 13:38:49 +01:00
3120270d87 Add enum for locale-config 2016-12-28 13:38:49 +01:00
6df001e9e1 Some operators need to have different visibility (as they're now used outside of libardour) 2016-12-28 09:14:51 +00:00
bbbf8e6127 Add backend support to extract session-archives 2016-12-27 22:24:24 +01:00
fe01666475 Normalize audio when archiving to fixed-point format. 2016-12-27 18:33:41 +01:00
54a79639df Allow gain factor for audio sources.
In preparation for archiving files as .flac (fixed point),
normalized with gain factor.
2016-12-27 18:20:02 +01:00