Paul Davis [Tue, 21 Apr 2015 16:18:51 +0000 (12:18 -0400)]
fix recent error in wscript for windows
Johannes Mueller [Wed, 15 Apr 2015 17:55:48 +0000 (19:55 +0200)]
Remove filename extension for chapter mark file
The tool mp4chaps by the following command
$ mp4chaps -i test.mp4
looks for the file "test.chapters.txt" to read the chapter marks
from. So removing the original file name extension (e.g. wav or flac)
makes it slightly more convenient for the user.
Johannes Mueller [Wed, 15 Apr 2015 16:03:39 +0000 (18:03 +0200)]
Put an Intro chapter at position 00:00:00.000
Players like vlc seem to stumble, if there es no chapter at the zero
position. As Ardour wouldn't let us put a track mark at the zero
position we can just use our header_func to put some kind of dummy intro
chapter. If a future version of Ardour allows track marks at zero, we
need to do a bit more work.
Johannes Mueller [Sun, 12 Apr 2015 12:26:39 +0000 (14:26 +0200)]
Added support for exporting mp4 chapter marks
The mp4 file format supports chapter marks using the so called
mp4chaps format to enable chapter wise navigation in an mp4 file. The
format is like
hh:mm:ss.sss Chapter Title
This commit adds the ability to export those kind of chapter marks
along with TOC and CUE marks. The filename extension for the chapter
mark file is "chapters.txt". The format specification description is
"MP4ch".
Paul Davis [Tue, 21 Apr 2015 16:13:00 +0000 (12:13 -0400)]
fix build of FPU code on OS X by reverting to use of _LP64 to identify 32/64 bit situation
Paul Davis [Tue, 21 Apr 2015 15:39:19 +0000 (11:39 -0400)]
merge all mingw and msvc specific code for FPU information into libs/pbd/fpu.cc and remove msvc-specific version
Paul Davis [Tue, 21 Apr 2015 15:38:34 +0000 (11:38 -0400)]
improve logic flow
ahellquist [Fri, 17 Apr 2015 22:17:15 +0000 (00:17 +0200)]
Update editor_rulers.cc
Change ruler context actions from "Make Loop range" to "New Loop range"
change ruler context actions from "Make Punch range" to "New Loop range"
This to make it consistent with other ruler context actions eg. "New....."
Ben Loftis [Tue, 21 Apr 2015 15:16:00 +0000 (10:16 -0500)]
update some calls to use new get_preferred_edit_position; needs testing
ben [Sun, 20 Oct 2013 21:02:56 +0000 (16:02 -0500)]
minor tweaks to Cut Time dialog. Use an enum to tell preferred_edit_location what to ignore, so cut and insert dialogs will never use mouse location.
Colin Fletcher [Wed, 16 Oct 2013 21:25:35 +0000 (22:25 +0100)]
Port 'Cut time' code from Mixbus
Copy the 'Cut time' code from Mixbus, making a few obvious fixes to work in
A3 (e.g. nframes_t => framepos_t / framecnt_t).
Seems to work to move & remove markers, tempo & meter markers, and regions on
selected tracks.
Still TODO:
- use existing A3 'Insert time' dialogue
- make it respect 'No selection = all tracks'
- rename the command to something like 'Remove time' or 'Delete time': 'Cut'
sounds to me as if the removed range should end up on the clipboard ready
to be pasted somewhere, which of course it doesn't.
Greg Zharun [Thu, 16 Apr 2015 09:18:31 +0000 (12:18 +0300)]
[Summary] Fixed bug in Ardour SSE assembler function. Wrong register was decreased in LP_SSE: block of float x86_sse_compute_peak function
[Details] This bug does not show up when buffers are 16 byte aligned, but when they are not - this bug will lead to crash.
I tested all these functions with non-aligned buffers as well as long they do handle the situation with unaligned buffers.
[To be reviewed by] Paul Davis
Greg Zharun [Wed, 8 Apr 2015 13:29:33 +0000 (16:29 +0300)]
[Summary] Added SSE sound processing functions support for Windows. Version 1.
Conflicts:
wscript
nick_m [Tue, 21 Apr 2015 14:17:17 +0000 (00:17 +1000)]
Monitor section - init _output_selector to 0.
Ben Loftis [Tue, 21 Apr 2015 13:37:54 +0000 (08:37 -0500)]
another merge fix
Ben Loftis [Tue, 21 Apr 2015 13:35:20 +0000 (08:35 -0500)]
merge fix for tempo branch
Ben Loftis [Tue, 21 Apr 2015 13:18:10 +0000 (08:18 -0500)]
merge monitor_section branch
Paul Davis [Tue, 21 Apr 2015 04:19:29 +0000 (00:19 -0400)]
Merge branch 'master' into saveas
Paul Davis [Tue, 21 Apr 2015 04:18:49 +0000 (00:18 -0400)]
do not reset paths for sources that are still outside the session after save-as
Paul Davis [Tue, 21 Apr 2015 03:12:35 +0000 (23:12 -0400)]
allow coreaudio backend to build on OS X Lion
Paul Davis [Tue, 21 Apr 2015 02:46:54 +0000 (22:46 -0400)]
tuning the save-as dialog
Paul Davis [Tue, 21 Apr 2015 02:46:39 +0000 (22:46 -0400)]
SMF::end_write() is a no-op if there is no _smf structure
Robin Gareus [Tue, 21 Apr 2015 01:04:34 +0000 (03:04 +0200)]
new attempt at scaling indicator LED
Robin Gareus [Tue, 21 Apr 2015 00:12:43 +0000 (02:12 +0200)]
adjust default meter font-size (same as it was before)
Paul Davis [Mon, 20 Apr 2015 21:49:41 +0000 (17:49 -0400)]
use save as dialog in ArdourUI
Paul Davis [Mon, 20 Apr 2015 21:49:29 +0000 (17:49 -0400)]
add save_as dialog to build system
Paul Davis [Mon, 20 Apr 2015 21:32:54 +0000 (17:32 -0400)]
initial version of save-as dialog
Paul Davis [Mon, 20 Apr 2015 20:31:06 +0000 (16:31 -0400)]
add a pure virtual FileSource::close() method so that FileSource::set_path() can ensure we no longer have a handle open
Paul Davis [Mon, 20 Apr 2015 19:44:20 +0000 (15:44 -0400)]
remove _file_path member from Evoral::SMF
Robin Gareus [Mon, 20 Apr 2015 19:39:25 +0000 (21:39 +0200)]
towards fixing #6265
Paul Davis [Mon, 20 Apr 2015 19:10:41 +0000 (15:10 -0400)]
Merge branch 'master' into saveas
Conflicts:
gtk2_ardour/ardour.menus.in
libs/ardour/session_state.cc
Robin Gareus [Mon, 20 Apr 2015 18:51:33 +0000 (20:51 +0200)]
clarify GUI scaling
Robin Gareus [Mon, 20 Apr 2015 18:45:14 +0000 (20:45 +0200)]
scalable panners
Robin Gareus [Mon, 20 Apr 2015 03:35:23 +0000 (05:35 +0200)]
towards scaleable meter and mixer UI
somewhat hacky solution, but there's no good central point to
control this and get integer rounding/summing, is there?
Paul Davis [Sun, 19 Apr 2015 17:56:58 +0000 (13:56 -0400)]
update russian translation
Robin Gareus [Sun, 19 Apr 2015 14:21:28 +0000 (16:21 +0200)]
attempt to fix the strip club
Robin Gareus [Sat, 18 Apr 2015 17:42:00 +0000 (19:42 +0200)]
transport button HiDPI scaling
Robin Gareus [Sat, 18 Apr 2015 17:30:08 +0000 (19:30 +0200)]
HiDPI button tweaks
Paul Davis [Fri, 17 Apr 2015 22:23:10 +0000 (18:23 -0400)]
fix mingw build
Paul Davis [Fri, 17 Apr 2015 15:55:17 +0000 (11:55 -0400)]
fix typo after localedir change
John Emmas [Fri, 17 Apr 2015 15:12:48 +0000 (16:12 +0100)]
Don't modify a RouteUISelection that we've just erased
Robin Gareus [Fri, 17 Apr 2015 15:08:52 +0000 (17:08 +0200)]
Dummy: fix sine/square frequency sweep
Paul Davis [Fri, 17 Apr 2015 15:00:33 +0000 (11:00 -0400)]
fix novice-level mistake that causes localedir to point to random, reusable (typically stack) memory
nick_m [Thu, 16 Apr 2015 19:36:13 +0000 (05:36 +1000)]
nick_m [Thu, 16 Apr 2015 19:26:57 +0000 (05:26 +1000)]
Indicate all clips on rectified view.
nick_m [Thu, 16 Apr 2015 19:03:51 +0000 (05:03 +1000)]
Improve waveview height and scaling.
The top line of the selection rect is arguably 1 px too low, but
waveviews seem centered on the area properly.
Robin Gareus [Thu, 16 Apr 2015 16:27:19 +0000 (18:27 +0200)]
VST: fix a copy/paste typo and possible segfault
fix by Drumfix.
Paul Davis [Thu, 16 Apr 2015 00:37:20 +0000 (20:37 -0400)]
put all of the Mackie control surface code into the ArdourSurface namespace
Paul Davis [Thu, 16 Apr 2015 00:19:18 +0000 (20:19 -0400)]
update german translation
Paul Davis [Thu, 16 Apr 2015 00:18:26 +0000 (20:18 -0400)]
update russian translation
Paul Davis [Wed, 15 Apr 2015 21:21:47 +0000 (17:21 -0400)]
add ArdourSurface to OSC class to help reduce global namespace pollution
Robin Gareus [Wed, 15 Apr 2015 18:31:27 +0000 (20:31 +0200)]
disable -rdynamic by default
see man 3 dlopen. Ideally we’d use RTLD_DEEPBIND,
but it’s neither portable and rather new (glibc 2.3.4).
This fixes issues with symbol conflicts in plugins
e.g. http://pastebin.com/FkFkf3Mm (plugin expects
its own OSC[illator?] class but gets ardour’s
OpenSoundControl instead).
Paul Davis [Wed, 15 Apr 2015 17:32:34 +0000 (13:32 -0400)]
fix for memory overrun during read_peaks(), from sebastian reichelt
Robin Gareus [Wed, 15 Apr 2015 16:13:56 +0000 (18:13 +0200)]
Replace control list locks with RWLocks
towards fixing #6238 and #6096.
GUI thread:
#2 Glib::Threads::Mutex::Lock::Lock
#3 Evoral::ControlList::eval
#4 Evoral::Control::get_double
#5 ARDOUR::AutomationControl::get_value
#6 ProcessorEntry::Control::control_changed
..
#15 PBD::Timer::timeout_handler
at the same time: Audio Thread (try-lock, fails)
#0 Evoral::Curve::rt_safe_get_vector
#1 ARDOUR::Amp::setup_gain_automation
#2 ARDOUR::Route::process_output_buffers
Due to the failed try-lock.. AMP::_apply_gain_automation
is false. and Amp::run() uses a different gain factor.
-> click.
Robin Gareus [Wed, 15 Apr 2015 01:04:19 +0000 (03:04 +0200)]
portaudio backend: allow Pa_GetDeviceInfo to fail.
John Emmas [Tue, 14 Apr 2015 10:18:50 +0000 (11:18 +0100)]
When running on Windows, hide the Engine dialog before calling 'push_state_to_backend()'
For some reason we don't understand 'push_state_to_backend()' can interfere with hiding the dialog (causing a partially hidden dialog to remain on screen). It's most likely a timing issue with the Windows version of GTK. Fortunately, reversing the calling order seems to fix it - BUT...
If there's no session loaded yet, the user can be left with a very long wait while nothing seems to be happening. The next thing the user would normally see would be the splash image. So let's display it slightly early (so the user can at least see that something's happening).
Sadly, it's all very kludgy - but a lot better than what we had before... :)
Robin Gareus [Tue, 14 Apr 2015 09:55:39 +0000 (11:55 +0200)]
simplify coaxing clock value out of ardour
Paul Davis [Tue, 14 Apr 2015 02:43:22 +0000 (22:43 -0400)]
when building context menu for click on mixer strip, ensure clicked-on strip sets selection appropriately
Paul Davis [Tue, 14 Apr 2015 02:25:55 +0000 (22:25 -0400)]
add braces
Paul Davis [Tue, 14 Apr 2015 02:24:10 +0000 (22:24 -0400)]
now that there is only 1 effective selection, adjust add-new-track-or-bus option for after/before selection
Paul Davis [Tue, 14 Apr 2015 01:55:17 +0000 (21:55 -0400)]
remove UI configuration variable link-editor-and-mixer-selection, and make behaviour be equivalent to this option always being true
Robin Gareus [Mon, 13 Apr 2015 14:20:40 +0000 (16:20 +0200)]
allow to set/change loop-range via OSC
Paul Davis [Mon, 13 Apr 2015 13:02:25 +0000 (09:02 -0400)]
fix issue with logic controlling rude isolate button
Paul Davis [Sat, 11 Apr 2015 14:57:42 +0000 (10:57 -0400)]
remove unused local variable
Paul Davis [Sat, 11 Apr 2015 14:35:28 +0000 (10:35 -0400)]
gtk2_ardour code should use translation domain "gtk2_ardour[MAJOR_VERSION]" not gtk2_ardour3
Robin Gareus [Sat, 11 Apr 2015 09:06:09 +0000 (11:06 +0200)]
disable LED-style meters by default
nick_m [Fri, 10 Apr 2015 19:36:05 +0000 (05:36 +1000)]
Remove unused pointer to nothing.
nick_m [Fri, 10 Apr 2015 18:45:45 +0000 (04:45 +1000)]
Fix dangling location on new location -> undo.
Colin Fletcher [Fri, 10 Apr 2015 17:25:58 +0000 (18:25 +0100)]
Merge branch 'uk-english'
Merge the UK English localisation.
Robin Gareus [Fri, 10 Apr 2015 15:14:11 +0000 (17:14 +0200)]
allow MIDI bindings for boolean automation
Paul Davis [Thu, 9 Apr 2015 20:57:44 +0000 (16:57 -0400)]
bump copyright duration
John Emmas [Thu, 9 Apr 2015 14:46:12 +0000 (15:46 +0100)]
Position (and size) canvas tooltips such that they better resemble Gtk tooltips
Mixbus in particular uses both types of tooltip so we might as well make them look the same.
N.B. The appearance is fine now on Windows but needs to be tested on the other platforms (i.e. some tweaking might be necessary).
John Emmas [Thu, 9 Apr 2015 14:42:00 +0000 (15:42 +0100)]
Delete a canvas tooltip after we've finished with it
All canvas objects share just one tooltip object which is based around Gtk::Label. The Label expands if the current tooltip text is wider than the previous text. However, it doesn't shrink again if the next tooltip has shorter text. Eventually, this results in some very strange looking tooltips (especially in Mixbus where they're used quite extensively).
Deleting the object after use will force a new object to get generated next time (at the correct size). There's still only ever one object per canvas but it's no longer persistent.
Robin Gareus [Wed, 8 Apr 2015 10:31:44 +0000 (12:31 +0200)]
redraw playhead only if pixel position changed.
Robin Gareus [Wed, 8 Apr 2015 09:29:55 +0000 (11:29 +0200)]
renice transport icons
Robin Gareus [Wed, 8 Apr 2015 08:18:39 +0000 (10:18 +0200)]
NOOP, cleanup & comments
Robin Gareus [Tue, 7 Apr 2015 23:28:52 +0000 (01:28 +0200)]
construct a metronom
Robin Gareus [Tue, 7 Apr 2015 21:58:59 +0000 (23:58 +0200)]
more transport button caironizing.
Robin Gareus [Tue, 7 Apr 2015 20:39:42 +0000 (22:39 +0200)]
fix
de7d6a7 (too narrow bar)
Robin Gareus [Tue, 7 Apr 2015 20:33:43 +0000 (22:33 +0200)]
renice transport buttons (part one)
Robin Gareus [Tue, 7 Apr 2015 19:47:04 +0000 (21:47 +0200)]
update ArdourButton Icon API
Paul Davis [Tue, 7 Apr 2015 19:37:34 +0000 (15:37 -0400)]
update german translation
Robin Gareus [Tue, 7 Apr 2015 13:23:24 +0000 (15:23 +0200)]
and
2c89ec5, keep backend running.
Robin Gareus [Tue, 7 Apr 2015 13:05:00 +0000 (15:05 +0200)]
Revert "prevent double declicks (click after RecStop)"
This reverts commit
6ba555c2f57fb793431aef0cedfbacf11d643a2b.
which does not yet take monitoring states into account.
Ideally the case handled here should not happen in the
first place, It should be fixed in session_transport
transport_sub_state.
Robin Gareus [Tue, 7 Apr 2015 03:20:06 +0000 (05:20 +0200)]
windows can’t rename open files.
This needs a better solution after 4.0.
Robin Gareus [Tue, 7 Apr 2015 03:19:28 +0000 (05:19 +0200)]
prevent double declicks (click after RecStop)
If there's port-latency > period-size, there is a
split cycle with (this_event->action_frame - _transport_frame).
Yet Session::check_declick_out() keeps PendingDeclickOut if
StopPendingCapture is set. The route declick’ed twice:
Once with the period-size and one with the remaining frames,
which resulted in a click.
Robin Gareus [Tue, 7 Apr 2015 01:54:31 +0000 (03:54 +0200)]
linear declick
Robin Gareus [Tue, 7 Apr 2015 03:21:57 +0000 (05:21 +0200)]
low-pass filter gain-fader.
fixes various fader zipper noise issues.
It voids sample accuate fader automation (the fader-gain
is low-pass filtered at 10Hz). Yet all musical purposes this
makes a lot more sense than sample accuracy anyway.
Paul Davis [Tue, 7 Apr 2015 01:19:51 +0000 (21:19 -0400)]
fix crash during new session creation when sync-to-JACK is enabled as a preference
Paul Davis [Tue, 7 Apr 2015 01:18:52 +0000 (21:18 -0400)]
changes related to resetting source paths during save-as.
This does NOT work with MIDI files at present, because of SNAFU in SMF class, where end_write()
opens the file on its own, without _file_path being set. Needs some careful work, because basically
the SMF<=>SMFSource relationship is not tenable
Paul Davis [Tue, 7 Apr 2015 00:14:37 +0000 (20:14 -0400)]
add explanatory comment
Paul Davis [Tue, 7 Apr 2015 00:14:24 +0000 (20:14 -0400)]
make wording consistent
Paul Davis [Mon, 6 Apr 2015 21:56:18 +0000 (17:56 -0400)]
rationalize incorrect design for removing tracks.
Still requires a way to make this work correctly from the mixer window
Robin Gareus [Mon, 6 Apr 2015 19:01:59 +0000 (21:01 +0200)]
Separate MonoSpace & Clock font.
Fixes various issues on OSX (e.g. MIDI-tracer &
list editor Layout)
Robin Gareus [Mon, 6 Apr 2015 17:51:48 +0000 (19:51 +0200)]
renice 5-pin DIN/MIDI button
Robin Gareus [Mon, 6 Apr 2015 16:44:55 +0000 (18:44 +0200)]
renice mixer strip
Also speed up track creation(!). get_icon()’s
regexp file search takes a surprising long time.
Robin Gareus [Mon, 6 Apr 2015 16:43:18 +0000 (18:43 +0200)]
replace two more icons w/vector drawing.
Paul Davis [Mon, 6 Apr 2015 16:21:26 +0000 (12:21 -0400)]
Revert "[Summary] Sort the routes of session before creating time axises unconditionally. This will keep tracks sorted even in case a new session created from template."
(Mistakenly applied cherry-pick)
This reverts commit
448b6f0cc712c0784d2c3bbd4860570ed420b854.
Valeriy Kamyshniy [Thu, 2 Apr 2015 17:50:41 +0000 (20:50 +0300)]
[Summary] Sort the routes of session before creating time axises unconditionally. This will keep tracks sorted even in case a new session created from template.
Conflicts:
gtk2_ardour/editor_routes.cc
Paul Davis [Mon, 6 Apr 2015 16:05:36 +0000 (12:05 -0400)]
after save-as, if switching to new session, reset all track write sources to use new session path