Commit graph

11028 commits

Author SHA1 Message Date
Damien Zammit
46bfe2b51a a-comp: Add stereo version 2016-07-05 02:15:47 +10:00
Len Ovens
b27d9bb02a OSC: select is global not per surface. 2016-07-04 08:27:16 -07:00
Robin Gareus
a1a6dd3865 a-comp display is getting fancy :) 2016-07-04 15:50:05 +02:00
Paul Davis
14c50b317c operate directly on realtime controls, not via Session 2016-07-04 09:27:33 -04:00
Paul Davis
97f0415130 2nd part of previous commit 2016-07-04 09:27:33 -04:00
Paul Davis
2e3c25eca7 make sure that rec-enable changes get to do their non-RT stuff before being queued for RT-context execution 2016-07-04 09:27:33 -04:00
Robin Gareus
d2f20120b7 display level in a-comp display 2016-07-04 14:26:37 +02:00
Robin Gareus
49294644fb con't work on a-comp inline-display 2016-07-04 14:07:05 +02:00
Robin Gareus
ebdb8dc2ce add C99 flags for lv2 plugin 2016-07-04 13:08:23 +02:00
Robin Gareus
d9ba78d594 basic inline display for a-comp 2016-07-04 12:59:04 +02:00
Damien Zammit
da5ab866c2 a-comp: Tweak control bounds and clear state on deactivate 2016-07-04 19:43:06 +10:00
Robin Gareus
ed5cd83c63 experimental support for AU sidechain busses
some plugins include a sidechain bus which is not explicitly
listed under "Reported Channel Capabilities" list,
nor the "Input/Output Channel Handling"
2016-07-04 03:57:04 +02:00
Len Ovens
a373e4cfc8 UI: Add editor_mixer route pointer to session so all UIs can know the same current_strip even in a selected group. 2016-07-03 18:22:09 -07:00
Robin Gareus
402e9cb20d flush output buffers after processing - fixes midi-bus chaining 2016-07-04 03:13:35 +02:00
Len Ovens
e6621c4405 OSC: select off by one bug, something must have changed by 1, fixed 2016-07-03 15:28:03 -07:00
Robin Gareus
15b006c6c2 LV2 render-value: override precision
lv2's units.ttl specifies "%f" for many values by default which results in
useless high precision
2016-07-04 00:20:11 +02:00
Robin Gareus
f49d0a1b1d add PangoCairo lua bindings 2016-07-04 00:20:11 +02:00
Paul Davis
02a18400fa fix behaviour when opening up a gap to insert new Stripables.
Need to include all stripables, not just routes, and need to include master since editor (and maybe others) opt
to use the presentation_info().order() value for it
2016-07-03 13:22:52 -04:00
Paul Davis
05a069a9e9 explanatory comment 2016-07-03 13:22:52 -04:00
Robin Gareus
9220e81e20 clean up a-comp .ttl -- maintainer: the a-team 2016-07-03 14:45:15 +02:00
Robin Gareus
94e5060168 bundle a-comp 2016-07-03 03:21:44 +02:00
Robin Gareus
c50a0c5dd0 only reconfigure lua DSP plugins if channelcount changes 2016-07-02 23:36:34 +02:00
Robin Gareus
f169ff3db3 extend lua API:
* add a basic FFT spectrum analyzer
* prepare Cairo::ImageSurface
* HSL colorspace conversion
2016-07-02 23:36:34 +02:00
Paul Davis
02db39c1bc remove Session::get_nth_stripable.cc 2016-07-02 16:08:38 -04:00
Len Ovens
661123c756 OSC: Account for some select edge cases 2016-07-01 21:21:08 -07:00
Len Ovens
6ed7336384 OSC: make sure out of bank strip can not be converted to a stripable. 2016-07-01 18:31:13 -07:00
Len Ovens
3491f22c04 OSC: Don't look for which stripable is selected until we actually need it, It may be wrong at application start. 2016-07-01 18:12:31 -07:00
Len Ovens
55722a74fb OSC: Change all time feedback to /position/<type> 2016-07-01 17:28:08 -07:00
Paul Davis
1874aa6acd use correct property when PresentationInfo::color is set from XML 2016-07-01 18:14:21 -04:00
Paul Davis
8a6e9c19d7 fix logic of PresentationInfo::color_set() 2016-07-01 18:02:42 -04:00
Paul Davis
58b2931685 add the potential for a bit more debugging of signal connects 2016-07-01 17:47:05 -04:00
Paul Davis
ba700ecc63 add the potential for a bit more debugging of signal connects 2016-07-01 17:47:05 -04:00
Robin Gareus
0ae634cb1e fix jack_port_rename() detection 2016-07-01 19:08:52 +02:00
Robin Gareus
29af3b1aee some debug message for lua processors 2016-07-01 16:02:11 +02:00
Paul Davis
5335763f98 use initialization, not explicit assignment 2016-06-30 17:41:11 -04:00
Len Ovens
7f712ddd4c OSC: Select tweak. 2016-06-29 19:57:13 -07:00
Len Ovens
95beda06d9 OSC: Reworked select to follow Gui selected strip regardless of it's inclusion in bank 2016-06-29 19:38:17 -07:00
Paul Davis
b2be7cb6bd remove debug output and add a few suggestive comments 2016-06-28 16:05:35 -04:00
Paul Davis
54d5f36311 changes in logic used by source cleanup to avoid endless recursion in sessions with deeply nested/recursive compound regions.
This also fixes some potentially dangerous cleanup logic related to two sources with the same name (but different paths)
2016-06-28 15:05:56 -04:00
Robin Gareus
dbb26485df ignore automation for non-automatables.
Since 4.7-1477-g2c6d595 Ardour implements Control::NotAutomatable.
This can lead to situations where automation exists for parameters that
were not supposed to be automatable, which in turn caused a
"programming-error" abort() in
RouteTimeAxisView::add_processor_automation_curve()
2016-06-28 18:43:31 +02:00
Robin Gareus
48fe9983f7 some more translation fixes 2016-06-28 12:53:18 +02:00
Robin Gareus
22fd92f97c tweak b7e645ec6, use session start/end position 2016-06-28 00:17:46 +02:00
Robin Gareus
b7e645ec61 switching to "touch" implies existing automation.
This fixes an issue of Fader jumping to unity when switching from
manual to touch if there is no prior automation.
Likewise for plugin parameters jumping to "default"
2016-06-27 19:04:38 +02:00
Robin Gareus
741428b6fd add a debug mode (in synth) to track down lost note-on 2016-06-26 17:15:46 +02:00
Robin Gareus
86763cba90 Enable build for FreeBSD (part 1/2)
Adopted from Michael Beer -- GH pull-request #232 with minor changes:

*   rebased on master,
*   removed trailing whitespace,
*   don't explicitly change saved configuration defaults (wscript)
*   moved sys/wait (WNOHANG) to header include
*   separate changes in GUI and lib
2016-06-26 16:43:07 +02:00
Sam Thursfield
e37b250d4d Use correct type of std::map::count
Compiling Ardour commit ec8a4de015 with GCC
6.1.1 (on Fedora 24) gave this build failure:

    In file included from /home/sam/ardour/libs/lua/LuaBridge/LuaBridge.h:154:0,
                     from ../tools/luadevel/devel.cc:16:
    /home/sam/ardour/libs/lua/LuaBridge/detail/Namespace.h: In instantiation of ‘luabridge::Namespace::Class<std::map<K, V> > luabridge::Namespace::beginStdMap(const char*) [with K = std::__cxx11::basic_string<char>; V = std::__cxx11::basic_string<char>]’:
    ../tools/luadevel/devel.cc:89:60:   required from here
    /home/sam/ardour/libs/lua/LuaBridge/detail/Namespace.h:1666:30: error: no matches converting function ‘count’ to type ‘void (class std::map<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>, std::less<std::__cxx11::basic_string<char> >, std::allocator<std::pair<const std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char> > > >::*)()’
           .addFunction ("count", (void (LT::*)())&LT::count)
                                  ^~~~~~~~~~~~~~~~~~~
    In file included from /usr/include/c++/6.1.1/map:61:0,
                     from /home/sam/ardour/libs/lua/LuaBridge/LuaBridge.h:45,
                     from ../tools/luadevel/devel.cc:16:
    /usr/include/c++/6.1.1/bits/stl_map.h:1131:2: note: candidates are: template<class _Kt> decltype (((const std::map<_Key, _Tp, _Compare, _Alloc>*)this)->std::map<_Key, _Tp, _Compare, _Alloc>::_M_t._M_count_tr(__x)) std::map<_Key, _Tp, _Compare, _Alloc>::count(const _Kt&) const [with _Kt = _Kt; _Key = std::__cxx11::basic_string<char>; _Tp = std::__cxx11::basic_string<char>; _Compare = std::less<std::__cxx11::basic_string<char> >; _Alloc = std::allocator<std::pair<const std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char> > >]
      count(const _Kt& __x) const -> decltype(_M_t._M_count_tr(__x))
      ^~~~~
    /usr/include/c++/6.1.1/bits/stl_map.h:1125:7: note:                 std::map<_Key, _Tp, _Compare, _Alloc>::size_type std::map<_Key, _Tp, _Compare, _Alloc>::count(const key_type&) const [with _Key = std::__cxx11::basic_string<char>; _Tp = std::__cxx11::basic_string<char>; _Compare = std::less<std::__cxx11::basic_string<char> >; _Alloc = std::allocator<std::pair<const std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char> > >; std::map<_Key, _Tp, _Compare, _Alloc>::size_type = long unsigned int; std::map<_Key, _Tp, _Compare, _Alloc>::key_type = std::__cxx11::basic_string<char>]
           count(const key_type& __x) const
           ^~~~~

Casting std::map::count to the correct type instead of a fake void()
type fixes the compile failure.
2016-06-26 16:18:34 +02:00
Robin Gareus
d5cc04d57b fix typo 2016-06-25 18:54:11 +02:00
Robin Gareus
ace9ee194d fix typos in prev commit 2016-06-25 03:47:38 +02:00
Robin Gareus
e9a8ccc7e2 major internal plugin & processor API change:
Pass current (latency compensated) cycle times to plugin.
This fixes time-reporting to plugins and also fixes automation
and when bouncing (the session->transport* is not valid) etc.
2016-06-25 02:23:56 +02:00
nick_m
cde951f30f Fix counting thinko in tests.
- note that the negative framepos in
	  FrameposPlusBeatsTest::singleTempoTest() will
	  not pass. needs some thougt as to whether it is testing
	  the correct thing.
2016-06-25 01:37:48 +10:00