Mirror of Ardour Source Code
Find a file
Julien "_FrnchFrgg_" RIVAUD 9389ee1e96 Better heuristics for guessing the primary type of an input or output
In order to choose which port name to display (if any) in the button,
MixerStrip::update_io_button() first chose a primary type for the input
or output. It was AUDIO in all cases, except if the route was a
MidiTrack where the primary type was MIDI.

In the latter case, it enabled the following code of update_io_button()
to show the MIDI sources feeding the MidiTrack rather than showing an
unhelpful dash.

But this simple heuristic has several shortcommings:
 - Going further, tracks and busses will probably loose strong types so
   the approach is not future-proof;
 - It doesn't take midi busses into account, yet there is no reason for
   them to be handled differently than midi tracks;
 - It falls short when the midi track contains a synthesiser and is
   meant to output audio.

Improve the heuristics by choosing the data type as follows:
 A) If there are connected audio ports, consider audio as primary type.
 B) Else, if there are connected midi ports, consider midi as primary type.
 C) If there are audio ports, consider audio as primary type.
 D) Else, if there are midi ports, consider midi as primary type.

These new heuristics give the same results for audio tracks and busses
(whose audio inputs have not been removed), and the same result for the
input of midi tracks (again, provided the inputs have not been tampered
with). It improves the situation for inputs of midi busses, and output
of midi tracks and busses, especially when synthesisers are in use.
2016-07-09 21:08:16 +02:00
cfgtool prepare for update to waf 1.8 2016-02-28 21:16:44 +01:00
doc remove and ignore intermediate generated documentation files 2016-04-12 13:55:09 +02:00
export Remove Soundcloud export format presets 2014-05-23 19:05:33 +01:00
gtk2_ardour Better heuristics for guessing the primary type of an input or output 2016-07-09 21:08:16 +02:00
headless prepare for update to waf 1.8 2016-02-28 21:16:44 +01:00
libs better safe than sorry 2016-07-09 18:34:27 +02:00
mcp add MCP device file for Nucleus-via-platform MIDI 2016-02-18 20:28:56 -05:00
midi_maps 2 new MIDI maps from sam tuke (https://github.com/samtuke/ardour-midi-maps) 2016-03-08 08:52:13 -05:00
msvc_extra_headers Emulate 'log1p()' and 'expm1()' using 'log()' and 'exp()' 2016-05-28 19:07:22 +01:00
MSVCardour3 Remove some (no longer needed) source files from our MSVC project (gtk2_ardour) 2016-07-07 13:26:57 +01:00
MSVCMixbus3 When building with MSVC make sure any backends / panners etc get copied to the correct target folder 2015-01-12 14:43:22 +00:00
MSVCvst_scan Modify our MSVC projects to build liblua as a DLL rather than a static lib 2016-04-04 16:40:20 +01:00
patches patches to fix notebook tab tearoff on DnD. 2015-07-20 16:56:15 -04:00
patchfiles New MIDNAM file from e.j.vd.hooven@gmail.com 2015-01-05 10:19:53 -05:00
scripts update lua-biquad: add en/disable 2016-07-07 16:45:10 +02:00
session_utils update session-utils 2016-06-03 23:09:18 +02:00
templates NOOP, remove trailing whitespace, replace tabs in python scripts 2015-11-29 17:54:31 +01:00
tools backup lua-test/devel util code 2016-07-07 15:37:11 +02:00
vst fix vamp path: 2016-06-25 00:44:04 +02:00
.dir-locals.el Only use .dir-locals.el to set tab indentation (or not, for python). 2011-04-06 16:33:43 +00:00
.gitattributes disable git-archive 2016-07-06 03:12:19 +02:00
.gitignore remove and ignore intermediate generated documentation files 2016-04-12 13:55:09 +02:00
ardour-3.ttl Fix syntax error. 2009-11-09 14:13:59 +00:00
ardour.1 add -a option to ardour.1 manpage 2013-03-12 13:32:56 -04:00
ardour.1.es most of the 2.X->3.0 commit (up to rev 4299) except for gtk2_ardour/editor_canvas.cc; builds and runs and does a few specific things but expect it to be buggy for a while yet 2008-12-12 14:43:24 +00:00
ardour.1.fr convert French man page from ISO-8859-1 to UTF-8 encoding 2016-03-08 08:39:58 -05:00
ardour.1.ru convert Russian man page from KOI8-R to UTF-8 encoding 2016-03-08 08:39:58 -05:00
COPYING update GPL (formatting and update FSF address) 2014-10-26 02:24:35 +01:00
foo.cc more pre-commit testing 2015-05-09 13:08:56 -04:00
instant.xml most of the 2.X->3.0 commit (up to rev 4299) except for gtk2_ardour/editor_canvas.cc; builds and runs and does a few specific things but expect it to be buggy for a while yet 2008-12-12 14:43:24 +00:00
instant.xml.sae most of the 2.X->3.0 commit (up to rev 4299) except for gtk2_ardour/editor_canvas.cc; builds and runs and does a few specific things but expect it to be buggy for a while yet 2008-12-12 14:43:24 +00:00
Makefile (FULL) not-yet-complete JACK session management patch (TODO: get program name, vary snapshot name, arrange quit when necessary) 2010-04-02 18:54:33 +00:00
msvc32-fixup.pl When building with MSVC, adapt the various font sizes to be a closer match to the GCC build 2016-06-23 15:20:03 +01:00
PACKAGER_README fixes for various consistency/settings issues in monitor section; minor edit to PACKAGER_README 2010-03-17 16:01:58 +00:00
README another trivial change to test hooks 2013-03-13 14:35:39 -04:00
system_config update system-config 2016-06-01 00:00:04 +02:00
testfile.flac ogg/flac support bits and pieces; fix up MIDI note dragging and front-edge trims; BROKEN IN PERCUSSIVE MODE FOR NOW 2009-10-06 22:07:10 +00:00
testfile.ogg ogg/flac support bits and pieces; fix up MIDI note dragging and front-edge trims; BROKEN IN PERCUSSIVE MODE FOR NOW 2009-10-06 22:07:10 +00:00
TRANSLATORS Fix the reference to i18n_po, fix Paul's second name 2016-06-10 20:28:43 +02:00
waf patch waf - fixes clang/linux compilation 2016-02-28 21:48:49 +01:00
wscript Add a-EQ (basic 4 band EQ) with inline display based on SVF filters 2016-07-07 22:15:44 +10:00

Please see the Ardour web site at http://ardour.org/ for all documentation..

For information on building ardour: 
      
     http://ardour.org/development.html