ardour.git
9 years agoprepare 0dBFS peak meter
Robin Gareus [Sat, 25 Apr 2015 04:46:29 +0000 (06:46 +0200)]
prepare 0dBFS peak meter

9 years agofix knob color
Robin Gareus [Sat, 25 Apr 2015 04:45:21 +0000 (06:45 +0200)]
fix knob color

9 years agoRevert API to explicitly show tooltips:
Robin Gareus [Sat, 25 Apr 2015 03:34:22 +0000 (05:34 +0200)]
Revert API to explicitly show tooltips:

gdk pointer grab offers a better solution.

9 years agomagic knob
Robin Gareus [Sat, 25 Apr 2015 03:10:07 +0000 (05:10 +0200)]
magic knob

9 years agoimmediately show tooltip on knob drag.
Robin Gareus [Sat, 25 Apr 2015 01:02:37 +0000 (03:02 +0200)]
immediately show tooltip on knob drag.

9 years agofixup stuck persistent tooltips.
Robin Gareus [Sat, 25 Apr 2015 01:00:57 +0000 (03:00 +0200)]
fixup stuck persistent tooltips.

9 years agomake knob respond to X & Y axis drags
Robin Gareus [Sat, 25 Apr 2015 00:44:47 +0000 (02:44 +0200)]
make knob respond to X & Y axis drags

9 years agomore trim knob tweaks
Robin Gareus [Sat, 25 Apr 2015 00:19:31 +0000 (02:19 +0200)]
more trim knob tweaks

9 years agoallow to offset knob-arc
Robin Gareus [Sat, 25 Apr 2015 00:05:50 +0000 (02:05 +0200)]
allow to offset knob-arc

9 years agotrim typo and details
Robin Gareus [Fri, 24 Apr 2015 23:17:25 +0000 (01:17 +0200)]
trim typo and details

9 years agoAPI to set tooltip y-margin
Robin Gareus [Fri, 24 Apr 2015 23:16:39 +0000 (01:16 +0200)]
API to set tooltip y-margin

9 years agotweak trim-knob size (same height as midi-input)
Robin Gareus [Fri, 24 Apr 2015 23:04:54 +0000 (01:04 +0200)]
tweak trim-knob size (same height as midi-input)

9 years agopersistent tooltip for [trim] knob
Robin Gareus [Fri, 24 Apr 2015 23:04:19 +0000 (01:04 +0200)]
persistent tooltip for [trim] knob

9 years agotweak persistent tooltip:
Robin Gareus [Fri, 24 Apr 2015 23:02:53 +0000 (01:02 +0200)]
tweak persistent tooltip:

* don’t show empty tooltips
* “smaller” widgets may receive a leave event before the timeout
can show the tooltip (knobs in particula)

9 years agoinput trim busses.
Robin Gareus [Fri, 24 Apr 2015 21:42:31 +0000 (23:42 +0200)]
input trim busses.

9 years agodon’t knob show tooltips if no prefix is set
Robin Gareus [Fri, 24 Apr 2015 21:22:15 +0000 (23:22 +0200)]
don’t knob show tooltips if no prefix is set

ie the monitor section has explicit labels.

9 years agoknob proposal.
Robin Gareus [Fri, 24 Apr 2015 20:36:44 +0000 (22:36 +0200)]
knob proposal.

feel free to revert.

9 years agoadd trim control to mixer-strip.
Robin Gareus [Fri, 24 Apr 2015 20:16:34 +0000 (22:16 +0200)]
add trim control to mixer-strip.

9 years agoallow to set toolip on knob
Robin Gareus [Fri, 24 Apr 2015 20:16:10 +0000 (22:16 +0200)]
allow to set toolip on knob

9 years agoadd Input Trim (just after disk i/o) to Audio Tracks
Robin Gareus [Fri, 24 Apr 2015 19:45:53 +0000 (21:45 +0200)]
add Input Trim (just after disk i/o) to Audio Tracks

9 years agoAmp control: power-scale (fader) and dB-scale (knob)
Robin Gareus [Fri, 24 Apr 2015 19:44:52 +0000 (21:44 +0200)]
Amp control: power-scale (fader) and dB-scale (knob)

9 years agodefine Trim Parameter Type.
Robin Gareus [Fri, 24 Apr 2015 19:41:44 +0000 (21:41 +0200)]
define Trim Parameter Type.

9 years agofix cut-n-paste error
Paul Davis [Fri, 24 Apr 2015 19:32:01 +0000 (15:32 -0400)]
fix cut-n-paste error

9 years agofix last-minute code rearrangement in last commit that broke the intended functionality
Paul Davis [Fri, 24 Apr 2015 18:41:33 +0000 (14:41 -0400)]
fix last-minute code rearrangement in last commit that broke the intended functionality

9 years agouse separators to make Edit > Select menu more readable
Paul Davis [Fri, 24 Apr 2015 18:19:35 +0000 (14:19 -0400)]
use separators to make Edit > Select menu more readable

9 years agomake track selection after set-range-selection-from-region-selection be sensible
Paul Davis [Fri, 24 Apr 2015 18:17:09 +0000 (14:17 -0400)]
make track selection after set-range-selection-from-region-selection be sensible

9 years agoexpose set-range-selection-from-region-selection operation in more places
Paul Davis [Fri, 24 Apr 2015 18:09:48 +0000 (14:09 -0400)]
expose set-range-selection-from-region-selection operation in more places

9 years agoFor MSVC builds, implement 'rint()' and 'rintf()' to supplement the ones that were...
John Emmas [Fri, 24 Apr 2015 18:11:10 +0000 (19:11 +0100)]
For MSVC builds, implement 'rint()' and 'rintf()' to supplement the ones that were already implemented

9 years agosend LTC during process_with_events()
Robin Gareus [Fri, 24 Apr 2015 02:39:57 +0000 (04:39 +0200)]
send LTC during process_with_events()

fixes #6277

This indicates a deeper problem though. Even removing a punch-range never
clears out the events. and  ession::process_with_events() does not use
process_without_events() until re-start.

9 years agofix scaling of master-meter in toolbar
Robin Gareus [Thu, 23 Apr 2015 22:03:24 +0000 (00:03 +0200)]
fix scaling of master-meter in toolbar

9 years agowindows 32bit asm/fpu support.
Robin Gareus [Fri, 24 Apr 2015 00:43:52 +0000 (02:43 +0200)]
windows 32bit asm/fpu support.

This still leaves cache_aligned_malloc() in
libs/pbd/malign.cc pending _aligned_free (windows crashes when using
free() on memory allocated with _aligned_malloc()).

So far however there seems to be no issue with default malloc
for audio+midi buffers on win32…

9 years agoadd missing regexp support to pbd/wscript
Robin Gareus [Thu, 23 Apr 2015 22:41:23 +0000 (00:41 +0200)]
add missing regexp support to pbd/wscript

9 years agoseparate build host & target (fix win32 asm)
Robin Gareus [Thu, 23 Apr 2015 22:33:34 +0000 (00:33 +0200)]
separate build host & target (fix win32 asm)

9 years agosuffix “x86” to start-menu entry for ardour 32bit
Robin Gareus [Thu, 23 Apr 2015 22:00:47 +0000 (00:00 +0200)]
suffix “x86” to start-menu entry for ardour 32bit

This allows to cleanly install 32 and 64bit windows versions in parallel.

Ideally we’d only do that for 32bit builds on win64.
We need an NSIS guru to write code to detect this during installation
and write the correct uninstaller for that case.

9 years agoauto-launch ardour in gdb.
Robin Gareus [Thu, 23 Apr 2015 21:56:32 +0000 (23:56 +0200)]
auto-launch ardour in gdb.

9 years agobetter version of the last commit (windows uninstall)
Robin Gareus [Thu, 23 Apr 2015 19:09:48 +0000 (21:09 +0200)]
better version of the last commit (windows uninstall)

9 years agoallow to install windows 32&64bit versions in parallel (again)
Robin Gareus [Thu, 23 Apr 2015 18:32:28 +0000 (20:32 +0200)]
allow to install windows 32&64bit versions in parallel (again)

9 years agofix jack-metadata for weak-jack linking
Robin Gareus [Thu, 23 Apr 2015 18:19:22 +0000 (20:19 +0200)]
fix jack-metadata for weak-jack linking

9 years agoremove —no-jack-metadata option from windows script
Robin Gareus [Thu, 23 Apr 2015 18:07:00 +0000 (20:07 +0200)]
remove —no-jack-metadata option from windows script

9 years agofix JACK metadata configure check.
Paul Davis [Thu, 23 Apr 2015 17:48:02 +0000 (13:48 -0400)]
fix JACK metadata configure check.

Trying to explicitly specify linkflags is (a) not portable (b) doesn't honor order-sensitive linkers

9 years agoupdate windows installer finish page text & link
Robin Gareus [Thu, 23 Apr 2015 16:25:11 +0000 (18:25 +0200)]
update windows installer finish page text & link

9 years agoadd a real check for functioning JACK metadata API; remove configure time option...
Paul Davis [Thu, 23 Apr 2015 13:29:35 +0000 (09:29 -0400)]
add a real check for functioning JACK metadata API; remove configure time option for this

9 years agomonitoring section UI scaling
Robin Gareus [Wed, 22 Apr 2015 22:23:04 +0000 (00:23 +0200)]
monitoring section UI scaling

9 years agoscale markers
Robin Gareus [Wed, 22 Apr 2015 22:22:53 +0000 (00:22 +0200)]
scale markers

9 years agoscale peak-meter reset button
Robin Gareus [Wed, 22 Apr 2015 22:22:36 +0000 (00:22 +0200)]
scale peak-meter reset button

9 years agomore HiDPI cleanup
Robin Gareus [Wed, 22 Apr 2015 22:22:20 +0000 (00:22 +0200)]
more HiDPI cleanup

9 years agoprefer initialization to assignment for ARDOUR_UI
Paul Davis [Wed, 22 Apr 2015 20:09:02 +0000 (16:09 -0400)]
prefer initialization to assignment for ARDOUR_UI

9 years agomake save-as dialog be persistent, to retain settings across save-as
Paul Davis [Wed, 22 Apr 2015 18:11:00 +0000 (14:11 -0400)]
make save-as dialog be persistent, to retain settings across save-as

9 years agoclean up GUI scaling
Robin Gareus [Wed, 22 Apr 2015 19:34:27 +0000 (21:34 +0200)]
clean up GUI scaling

9 years agoadd central API to calculate UI scaling
Robin Gareus [Wed, 22 Apr 2015 19:31:19 +0000 (21:31 +0200)]
add central API to calculate UI scaling

9 years agoscale inline slider girth.
Robin Gareus [Wed, 22 Apr 2015 18:41:13 +0000 (20:41 +0200)]
scale inline slider girth.

9 years agoscaleable routing icons & wires
Robin Gareus [Wed, 22 Apr 2015 18:22:35 +0000 (20:22 +0200)]
scaleable routing icons & wires

9 years agofurther updated monitor-modes doc:
Robin Gareus [Wed, 22 Apr 2015 18:06:40 +0000 (20:06 +0200)]
further updated monitor-modes doc:

* separate heading
* clarify “silence/passthough” with hardware mon.

9 years agomon-modes doc: clarify table-headings and renice.
Robin Gareus [Wed, 22 Apr 2015 15:17:23 +0000 (17:17 +0200)]
mon-modes doc: clarify table-headings and renice.

Thanks to Chris!

9 years agoAdd some newly introduced sources to our MSVC project (gtk2_ardour)
John Emmas [Wed, 22 Apr 2015 09:48:08 +0000 (10:48 +0100)]
Add some newly introduced sources to our MSVC project (gtk2_ardour)

9 years agoRemove a 'no longer needed' source from our MSVC project (libpbd)
John Emmas [Wed, 22 Apr 2015 09:44:23 +0000 (10:44 +0100)]
Remove a 'no longer needed' source from our MSVC project (libpbd)

(FPU functionality was recently merged into a single source file)

9 years agocoefficients are floating-point.
Robin Gareus [Tue, 21 Apr 2015 22:31:03 +0000 (00:31 +0200)]
coefficients are floating-point.

fixes use of overloaded operator '==' is ambiguous (with operand types 'MPControl<gain_t>' and 'double') in previous commit.

9 years agoInitial Gain Coefficient tweaks
Ben Loftis [Wed, 25 Mar 2015 21:47:25 +0000 (16:47 -0500)]
Initial Gain Coefficient tweaks
1)  Disambiguate 1.0 to GAIN_COEFF_UNITY, and 0.0 to GAIN_COEFF_ZERO
2)  Add GAIN_COEFF_SMALL which replaces SMALL_SIGNAL (-140dB)
3)  GAIN_COEFF_SMALL can used to avoid interpolating towards -inf on a db scale
4)  GAIN_COEFF_SMALL is used to detect very small (denormal?) gains and memset to zero

9 years agomore windows related SSE build fixes
Paul Davis [Tue, 21 Apr 2015 17:28:17 +0000 (13:28 -0400)]
more windows related SSE build fixes

9 years agotypo
Paul Davis [Tue, 21 Apr 2015 17:04:22 +0000 (13:04 -0400)]
typo

9 years agouse compiler target to determine whether to use 64 bit windows assembler, not the...
Paul Davis [Tue, 21 Apr 2015 17:01:54 +0000 (13:01 -0400)]
use compiler target to determine whether to use 64 bit windows assembler, not the build host CPU type

9 years agoRevert "as an experiment, try original asm on windows."
Paul Davis [Tue, 21 Apr 2015 16:34:14 +0000 (12:34 -0400)]
Revert "as an experiment, try original asm on windows."

This reverts commit c37dc461b349c804736f9bcb09290745ccf1e4ab.

9 years agoas an experiment, try original asm on windows.
Paul Davis [Tue, 21 Apr 2015 16:32:59 +0000 (12:32 -0400)]
as an experiment, try original asm on windows.

Grygorii's new intel-syntax code didn't work on first try

9 years ago<intrin.h> is for windows only
Paul Davis [Tue, 21 Apr 2015 16:31:02 +0000 (12:31 -0400)]
<intrin.h> is for windows only

9 years agoadd required header for windows compile of FPU code
Paul Davis [Tue, 21 Apr 2015 16:25:21 +0000 (12:25 -0400)]
add required header for windows compile of FPU code

9 years agofix another recent error in wscript for windows
Paul Davis [Tue, 21 Apr 2015 16:21:57 +0000 (12:21 -0400)]
fix another recent error in wscript for windows

9 years agofix recent error in wscript for windows
Paul Davis [Tue, 21 Apr 2015 16:18:51 +0000 (12:18 -0400)]
fix recent error in wscript for windows

9 years agoRemove filename extension for chapter mark file
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.

9 years agoPut an Intro chapter at position 00:00:00.000
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.

9 years agoAdded support for exporting mp4 chapter marks
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".

9 years agofix build of FPU code on OS X by reverting to use of _LP64 to identify 32/64 bit...
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

9 years agomerge all mingw and msvc specific code for FPU information into libs/pbd/fpu.cc and...
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

9 years agoimprove logic flow
Paul Davis [Tue, 21 Apr 2015 15:38:34 +0000 (11:38 -0400)]
improve logic flow

9 years agoUpdate editor_rulers.cc
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....."

9 years agoupdate some calls to use new get_preferred_edit_position; needs testing
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

9 years agominor tweaks to Cut Time dialog. Use an enum to tell preferred_edit_location what...
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.

9 years agoPort 'Cut time' code from Mixbus
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.

9 years ago[Summary] Fixed bug in Ardour SSE assembler function. Wrong register was decreased...
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

9 years ago[Summary] Added SSE sound processing functions support for Windows. Version 1.
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

9 years agoMonitor section - init _output_selector to 0.
nick_m [Tue, 21 Apr 2015 14:17:17 +0000 (00:17 +1000)]
Monitor section - init _output_selector to 0.

9 years agoanother merge fix
Ben Loftis [Tue, 21 Apr 2015 13:37:54 +0000 (08:37 -0500)]
another merge fix

9 years agomerge fix for tempo branch
Ben Loftis [Tue, 21 Apr 2015 13:35:20 +0000 (08:35 -0500)]
merge fix for tempo branch

9 years agomerge monitor_section branch
Ben Loftis [Tue, 21 Apr 2015 13:18:10 +0000 (08:18 -0500)]
merge monitor_section branch

9 years agoMerge branch 'master' into saveas
Paul Davis [Tue, 21 Apr 2015 04:19:29 +0000 (00:19 -0400)]
Merge branch 'master' into saveas

9 years agodo not reset paths for sources that are still outside the session after save-as
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

9 years agoallow coreaudio backend to build on OS X Lion
Paul Davis [Tue, 21 Apr 2015 03:12:35 +0000 (23:12 -0400)]
allow coreaudio backend to build on OS X Lion

9 years agotuning the save-as dialog
Paul Davis [Tue, 21 Apr 2015 02:46:54 +0000 (22:46 -0400)]
tuning the save-as dialog

9 years agoSMF::end_write() is a no-op if there is no _smf structure
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

9 years agonew attempt at scaling indicator LED
Robin Gareus [Tue, 21 Apr 2015 01:04:34 +0000 (03:04 +0200)]
new attempt at scaling indicator LED

9 years agoadjust default meter font-size (same as it was before)
Robin Gareus [Tue, 21 Apr 2015 00:12:43 +0000 (02:12 +0200)]
adjust default meter font-size (same as it was before)

9 years agouse save as dialog in ArdourUI
Paul Davis [Mon, 20 Apr 2015 21:49:41 +0000 (17:49 -0400)]
use save as dialog in ArdourUI

9 years agoadd save_as dialog to build system
Paul Davis [Mon, 20 Apr 2015 21:49:29 +0000 (17:49 -0400)]
add save_as dialog to build system

9 years agoinitial version of save-as dialog
Paul Davis [Mon, 20 Apr 2015 21:32:54 +0000 (17:32 -0400)]
initial version of save-as dialog

9 years agoadd a pure virtual FileSource::close() method so that FileSource::set_path() can...
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

9 years agoremove _file_path member from Evoral::SMF
Paul Davis [Mon, 20 Apr 2015 19:44:20 +0000 (15:44 -0400)]
remove _file_path member from Evoral::SMF

9 years agotowards fixing #6265
Robin Gareus [Mon, 20 Apr 2015 19:39:25 +0000 (21:39 +0200)]
towards fixing #6265

9 years agoMerge branch 'master' into saveas
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

9 years agoclarify GUI scaling
Robin Gareus [Mon, 20 Apr 2015 18:51:33 +0000 (20:51 +0200)]
clarify GUI scaling

9 years agoscalable panners
Robin Gareus [Mon, 20 Apr 2015 18:45:14 +0000 (20:45 +0200)]
scalable panners

9 years agotowards scaleable meter and mixer UI
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?