13
0
Commit Graph

11545 Commits

Author SHA1 Message Date
74bc0c8468 substantive changes to the logic and safety for naming of (audio/MIDI) sources, especially when created via import 2014-06-02 11:20:37 -04:00
08a1409b1f back port 6576105 from cairocanvas as fix for data loss/file deletion 2014-05-29 16:28:57 -04:00
b0842d29de fix binding name for set-tempo-from-region 2014-05-22 14:11:02 -04:00
1ed92db436 Merge branch 'minsec-ruler-display' of https://github.com/djpohly/ardour 2014-05-14 09:04:24 -04:00
Devin J. Pohly
32f62beb90 fix major/minor ticks on min:sec ruler
All ticks from 0:00.000 to 0:00.999... were major, and everything after
was minor, instead of the correct distribution.
2014-05-14 08:36:03 -04:00
Devin J. Pohly
3b4b848d5a fix rounding error in the min:sec ruler
When zoomed in to the millisecond level, the framerate was being divided
by 1000 as an integer to generate a ruler tick interval, which doesn't
work so well at things like 44100 or 88200.  Instead, just count this
value in milliseconds, dividing by 1000 when we are done.

This was purely a display issue - the grid was in the correct place.
2014-05-14 08:35:43 -04:00
Devin J. Pohly
cd0ac04080 don't use llrint on already-integral variables
This could trick people into thinking that there is a floating-point
type hiding behind the typedef instead of an integer.
2014-05-14 02:59:25 -04:00
Devin J. Pohly
d067e27762 fix accumulated rounding error in BBT grid
Though current_frame is an integral type (framepos_t), it was being
added to as if it were floating-point, leading to an ever-increasing
rounding error when creating the grid for bars/beats/ticks.
2014-05-14 02:54:01 -04:00
2f6065b32c Fixed problem where importing invalid midi files caused crash. 2014-04-29 06:48:29 +10:00
f5276a104c add new SMFSource constructor to be used for existing-external files. Fixes #5919. Needs merging with CC 2014-04-28 10:37:17 -04:00
16a8762dd4 fix minor problem with recent cherry-picking from cairocanvas 2014-04-14 14:14:30 -04:00
be0da8ff5c merge 5764970709 from cairocanvas as final(?) change related to data loss 2014-04-14 13:07:07 -04:00
2e3a84b15a check whether a source with the same path exists in session list not just on disk.
This is intended to catch a potential wierd condition where a source exists as a stub, but has not yet been written to disk,
and then a new source is created with the same path. Currently it is not understood how/when this might happen
2014-04-14 13:05:35 -04:00
b49bb451d2 further code simplification and rationalization related to MIDI source/file renaming 2014-04-14 13:05:21 -04:00
0d5f4c553a dramatic change in logic and naming for operations related to adding a MIDI region on demand and cloning/unlinking
Existing code would cause data loss due to creation of two Source objects referring the same path, one with removable flags and one without. Careful code review suggested a variety of thinkos, function naming problems and other confusion that caused this. I have tried ot extensively comment what is going on with these operations, because it is one key area in which MIDI differs from audio: with audio, capture is the only way to add a new audio region, but for MIDI there are GUI input events that can add a new region.
2014-04-14 13:05:08 -04:00
384c0a9fac redesign technique for naming/creating regions for MIDI clone (or other non-capture driven MIDI region creation operations).
See comments in Session::new_midi_source_name() for details.
2014-04-14 13:04:14 -04:00
2b3cb052ca after cloning a MIDI region, mark the source file as non-removable. Fixes reports about missing MIDI files on the forums and IRC 2014-04-14 13:01:23 -04:00
e1bf151ab0 after cloning a MIDI region, mark the source file as non-removable. Fixes reports about missing MIDI files on the forums and IRC 2014-04-14 13:00:24 -04:00
99bf5d9eed backport 1d85ab27a7 and ba128eea from cairocanvas branch to remove GIO (possible hotfix release) 2014-04-14 12:53:30 -04:00
eef4e1efee -d (disable plugin) option takes no arguments 2014-04-14 12:26:10 +02:00
670c066793 add manual reference to missing video-tools warnings 2014-04-11 17:24:50 +02:00
Sakari Bergen
8bd6de3f4e export ARDOUR_TEST_PATH for artest
We should probably remove the old test running stuff from libs/ardour.
Does someone still need it?
2014-04-07 21:36:58 +03:00
Sakari Bergen
2482361d88 Fix buffer size mismatch in evoral tests 2014-04-07 21:27:56 +03:00
65f5f17c18 fix typo 2014-04-02 18:48:28 +02:00
af0c42ec4f midi-controller, support log parameters - fixes #5890 2014-03-23 18:59:24 +01:00
Adrian Knoth
c0845bed53 Keybindings for maximising the mixer window 2014-03-21 16:08:53 +01:00
Adrian Knoth
5f45828c67 Add option to display the mixer in fullscreen
This is useful for dual-head setups.
2014-03-21 16:08:53 +01:00
92b7e0709c videotimeline: fix black-frame generation (sample aspect ratio) on export 2014-03-20 00:15:39 +01:00
7e2518ec77 tweak A/V import logic 2014-03-20 00:15:34 +01:00
01082ff941 clarify A/V import options 2014-03-20 00:15:26 +01:00
713a375011 (backport from cairocanvas branch) do not crash when considering a directory called midi (with any case) as an apparent MIDI file 2014-02-27 20:37:17 -05:00
ce4d125d1f reverse default behaviour for adding control points to automation with mouse clicks. unmodified click adds new control point without guard points; ctrl-click adds new point with a guard point (old behaviour) 2014-02-21 15:30:33 -05:00
950981996f add the with-guard-point distinction to region gain lines (imported from cairocanvas) 2014-02-20 14:15:31 -05:00
1701c9c78b the forgotten second (amend to prev commit) 2014-02-20 00:53:23 +01:00
7dd58e79dc fix prev_snap_choice() key="3" binding 2014-02-20 00:48:14 +01:00
39859e47c7 click (no drag) on automation line now adds a new control point on the line (not fully checked for precision) 2014-02-19 13:22:52 -05:00
efc3c8be42 Revert "add a hack to deal with device discovery race, in which the devices were not actually known to be ready before the last update_surfaces() call (which is where binding between strips and routes occurs) ; add support for Mackie Control touch on/off messages"
This reverts commit 06a25ffd5695697db9869a19e46c2f93c6c17458.
2014-02-19 13:22:52 -05:00
aa7a259fd3 add a hack to deal with device discovery race, in which the devices were not actually known to be ready before the last update_surfaces() call (which is where binding between strips and routes occurs) ; add support for Mackie Control touch on/off messages 2014-02-19 13:22:52 -05:00
1d82f4ca07 ctrl-click when adding automation points no longer adds guard points 2014-02-19 13:22:52 -05:00
d8b3e2932f use new ControlList::add() argument 2014-02-19 13:22:52 -05:00
3e1107c157 do not needlessly keep starting touch/automation watch passes just because a command to start or stop touch was received 2014-02-19 13:22:52 -05:00
a70f914c51 add option to skip guard points when adding new control points to a ControlList; add more debugging statements 2014-02-19 13:22:52 -05:00
d024b500a6 clear up some stupid thinking in Amp regarding the way the underlying AutomationControl/Controllable gets set when Amp::set_gain() is called 2014-02-19 13:22:52 -05:00
29b3c299a1 add a hack to deal with device discovery race, in which the devices were not actually known to be ready before the last update_surfaces() call (which is where binding between strips and routes occurs) ; add support for Mackie Control touch on/off messages 2014-02-19 13:22:52 -05:00
f6541d7add fix meter(s) when mixer-strip is switched to AuxSend 2014-02-19 18:32:00 +01:00
d697a31abf clarify fader labels 2014-02-15 23:12:43 +01:00
b75fb503fb list action-names as part of --bindings 2014-02-11 05:52:39 +01:00
0bab9d2822 fix crash at exit with '-b', '--bindings' option 2014-02-11 05:52:07 +01:00
3566fa2d8e add kxstudio linux vst dirs to LXVST default search path 2014-02-08 11:17:50 -05:00
b9054a1f72 fix missing colon in extension of LXVST search path 2014-02-08 11:16:17 -05:00