13
0
Commit Graph

11557 Commits

Author SHA1 Message Date
2c00c0c025 if a (file) source really cannot be found, differentiate between audio & MIDI.
For now, recovering from missing MIDI is a no-can-do situation (because MIDI is inherently data-editable).
2014-09-15 18:24:54 -04:00
68d362fd27 fix up condition where a MIDI filesource is marked empty, not found, and its _path member is not set correctly 2014-09-15 18:24:42 -04:00
34c5aaf326 FileSource should not generate its own error message when a file is missing
Conflicts:
	libs/ardour/file_source.cc
2014-09-15 18:24:08 -04:00
499e9a5ec6 tentative fix for losing (empty) MIDI files. Incomplete because testing shows issues with some workflows 2014-09-15 18:23:02 -04:00
ab22a06ec7 prepare for upcoming Jadeo.app -> Xjadeo.app rename on OSX.
also add Windows code while we're at it
and fallback to xjadeo on GNU/Linux.
2014-08-16 13:30:00 +02:00
ffd5c24fa5 amend list of known video file extensions. 2014-08-16 13:18:44 +02:00
90a592cd9c Don't show all controllers for generic MIDI devices.
This takes a VERY long time to do, so is probably a problem for defined devices
with a ton of channels and devices, too.  Not sure what the smart thing to do
here is, though adding lanes really shouldn't be this slow in the first place.
2014-07-14 01:27:21 -04:00
67db629a85 Add midnam files for Korg Volca series. 2014-07-14 01:26:21 -04:00
3ee23c35e3 Show all named controllers for "Show All Automation" on MIDI tracks. 2014-07-14 00:43:36 -04:00
83705d19b2 Show 1-based channel numbers in MIDI controller automation menu.
This matches the numbers shown elsewhere, previously if you had a track set to
e.g. channel 10, the controller menu items had "[9]" suffixes.
2014-07-14 00:03:04 -04:00
46624ea356 Support midnam files with a channel (not patch) NoteNameList. 2014-07-13 23:36:45 -04:00
b660bc8ae9 fix crash recovery: add new constructors to SndFileSource, AudioFileSource, add a new SourceFactory method and finally tweak
AudioDiskstream::use_pending_capture_data() to create both the required whole-file and the in-playlist regions
2014-06-10 10:09:26 -04:00
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