ardour.git
7 years agoRename Duplicate Range action to Duplicate and assign existing Alt+d key binding
Tim Mayberry [Wed, 30 Nov 2016 09:34:47 +0000 (19:34 +1000)]
Rename Duplicate Range action to Duplicate and assign existing Alt+d key binding

This will work the same as the existing binding with a Region Selection and
will also duplicate ranges in range selection mode.

Also add multi-duplicate editor action and use that for the default
multi-duplicate action, which will work the same in Object Selection/Grab Mode
but also supports Multi Duplicate of Range Selections....well it would if
that functionality worked correctly.

The duplicate and duplicate-multi region actions still have to exist to be used
in the Region menu as they should only be sensitive if there is a Region
selection which would not be the case if the editor actions were used.

Resolves: #7153

7 years agoFix issues in export with trim enabled
Tim Mayberry [Mon, 5 Dec 2016 01:41:00 +0000 (11:41 +1000)]
Fix issues in export with trim enabled

A complete reimplementation of AudioGrapher::SilentTrimmer::process to support
trimming the beginning and end in the same processing block

Fix export with trim end enabled to actually trim silent frames

Only add silence to beginning or end of export data if data was written

Should resolve: #6412

7 years agoRename AudioGrapher::SilentTrimmer method to reflect behaviour
Tim Mayberry [Tue, 6 Dec 2016 01:02:56 +0000 (11:02 +1000)]
Rename AudioGrapher::SilentTrimmer method to reflect behaviour

Unlike many of the other uses of the term "frame" this is actually returning
the index to the first sample in the interleaved frame that contains
non-silence.

7 years agoAlways signal writing to file is complete at end of the export process
Tim Mayberry [Sun, 4 Dec 2016 12:31:06 +0000 (22:31 +1000)]
Always signal writing to file is complete at end of the export process

With end trim enabled, the only case that would successfully export was if
there was at least some samples above the silence threshold in the last export
processing block.

The issue was that the EndOfInput flag was not being passed to
AudioGrapher::SndFileWriter::process which would then call sf_write_sync and
emit the FileWritten signal to start post processing. Fix that by always
passing the EndOfInput flag in the last export process cycle.

Related: #6412

7 years agoFix export silence threshold by using a constant value for now
Tim Mayberry [Sun, 4 Dec 2016 13:17:20 +0000 (23:17 +1000)]
Fix export silence threshold by using a constant value for now

All float values defined in the CONFIG_VARIABLE macro seem like they are cast
to at some stage before writing (another issue that needs addressing). The
default value for export-silence-threshold (-INFINITY) is converted to a value
of 0 and as a result nothing is exported with trim enabled.

Use the same fixed silence threshold as Mixbus until proper bounds checking and
GUI is in place.

Related: #6412

7 years agoAdd script to run audiographer tests
Tim Mayberry [Tue, 6 Dec 2016 02:51:49 +0000 (12:51 +1000)]
Add script to run audiographer tests

7 years agoadd another useful PluginInsert binding
Robin Gareus [Mon, 5 Dec 2016 23:22:24 +0000 (00:22 +0100)]
add another useful PluginInsert binding

7 years agoPrevent endless recursion on Evoral::Event<>
Robin Gareus [Mon, 5 Dec 2016 22:49:05 +0000 (23:49 +0100)]
Prevent endless recursion on Evoral::Event<>

7 years agoFixup 08fffef (consistent class name)
Robin Gareus [Mon, 5 Dec 2016 22:48:35 +0000 (23:48 +0100)]
Fixup 08fffef (consistent class name)

7 years agoAdd Lua bindings to manage Groups
Robin Gareus [Mon, 5 Dec 2016 20:53:41 +0000 (21:53 +0100)]
Add Lua bindings to manage Groups

7 years agofader-to-trim lua script by Phillip Smith
Ben Loftis [Mon, 5 Dec 2016 15:48:25 +0000 (09:48 -0600)]
fader-to-trim lua script by Phillip Smith

7 years agoset AtomObject body ID to zero (as per spec when unused)
Robin Gareus [Mon, 5 Dec 2016 14:43:54 +0000 (15:43 +0100)]
set AtomObject body ID to zero (as per spec when unused)

7 years agoFix theme names (dash is used to separate program-name)
Robin Gareus [Mon, 5 Dec 2016 11:16:29 +0000 (12:16 +0100)]
Fix theme names (dash is used to separate program-name)

7 years agoRemove boost_system test kludge
David Robillard [Mon, 5 Dec 2016 00:15:29 +0000 (19:15 -0500)]
Remove boost_system test kludge

7 years agoUpdate evoral test suite
David Robillard [Sun, 4 Dec 2016 23:49:56 +0000 (18:49 -0500)]
Update evoral test suite

7 years agoFix configuration
David Robillard [Sun, 4 Dec 2016 23:26:30 +0000 (18:26 -0500)]
Fix configuration

7 years agoImprove coverage of evoral tests
David Robillard [Sun, 4 Dec 2016 20:40:21 +0000 (15:40 -0500)]
Improve coverage of evoral tests

7 years agoImprove coverage of evoral tests
David Robillard [Sun, 4 Dec 2016 20:17:08 +0000 (15:17 -0500)]
Improve coverage of evoral tests

7 years agoAdd missing include
David Robillard [Sun, 4 Dec 2016 20:16:08 +0000 (15:16 -0500)]
Add missing include

7 years agoMake libpbd and evoral capable of standalone build
David Robillard [Sun, 4 Dec 2016 20:15:11 +0000 (15:15 -0500)]
Make libpbd and evoral capable of standalone build

Just an update to slightly rotten wscripts, shouldn't be any changes during an
ardour build.  Motivation being a short development cycle for working on evoral
and/or its test suite.

7 years agoAlways build dummy backend if building tests
David Robillard [Sun, 4 Dec 2016 20:13:19 +0000 (15:13 -0500)]
Always build dummy backend if building tests

The libardour tests require the dummy backend to be present.

7 years agoRemove dead/annoying/unsafe code
David Robillard [Sun, 4 Dec 2016 18:20:15 +0000 (13:20 -0500)]
Remove dead/annoying/unsafe code

Note the old Note::operator= was unsafe, since it made shallow copies of the on
and off events, which results in a double delete of events when the notes are
destructed.

7 years agoSkip testing example lua scripts which are not bundled
Robin Gareus [Sun, 4 Dec 2016 16:50:12 +0000 (17:50 +0100)]
Skip testing example lua scripts which are not bundled

7 years agoFix Sequence test
David Robillard [Sat, 3 Dec 2016 20:49:13 +0000 (15:49 -0500)]
Fix Sequence test

7 years agoRemove dead code
David Robillard [Mon, 7 Nov 2016 12:07:42 +0000 (07:07 -0500)]
Remove dead code

7 years agoFix event type and parameter type confusion
David Robillard [Mon, 7 Nov 2016 10:14:55 +0000 (05:14 -0500)]
Fix event type and parameter type confusion

I'm not sure if this is really the best way to do event types (should it
just be a completely static enum in evoral, or completely dynamic and
provided by the type map, or a mix like currently?), but previously the
event type was frequently set to either total garbage, or parameter
types, which are a different thing.

This fixes all those cases, and makes Evoral::EventType an enum so the
compiler will warn about implicit conversions from int.

7 years agoFix warnings
David Robillard [Mon, 7 Nov 2016 09:06:26 +0000 (04:06 -0500)]
Fix warnings

7 years agoRemove Evoral::MIDIEvent
David Robillard [Mon, 7 Nov 2016 03:04:35 +0000 (22:04 -0500)]
Remove Evoral::MIDIEvent

It is slightly questionable whether type specific methods like
velocity() belong on Event at all, these may be better off as free
functions.  However the code currently uses them as methods in many
places, and it seems like a step in the right direction, since, for
example, we might some day have events that have a velocity but aren't
stored as MIDI messages (e.g. if Ardour uses an internal musical model
that is more expressive).

In any case, the former inheritance and plethora of sloppy casts is
definitely not the right thing.

7 years agoFactor out and extend MIDIXML implementation
David Robillard [Mon, 7 Nov 2016 00:27:26 +0000 (19:27 -0500)]
Factor out and extend MIDIXML implementation

7 years agoFix Sequence/Event const-correctness issues
David Robillard [Sun, 6 Nov 2016 23:12:49 +0000 (18:12 -0500)]
Fix Sequence/Event const-correctness issues

7 years agoMaking one string translatable
Olivier Humbert [Fri, 2 Dec 2016 19:18:02 +0000 (20:18 +0100)]
Making one string translatable

It should allow this dialog window to be translatable : http://pix.toile-libre.org/upload/original/1480706219.png

I hope this is the correct way to do so. Please double-check what I've done before merging.

7 years agoUse correct action in map for Korg nanoKontrol2
Tobi Stadelmaier [Thu, 1 Dec 2016 20:44:28 +0000 (21:44 +0100)]
Use correct action in map for Korg nanoKontrol2

According to the comment in line 79, this button should toggle between mixer and
editor windows - but it didn't (for me). Apparently that action named has changed
in Ardour 5.x - anyway, using this command, it works for me.

7 years agoupdate summary & connection-matrix colors when route-color changes
Robin Gareus [Thu, 1 Dec 2016 14:51:25 +0000 (15:51 +0100)]
update summary & connection-matrix colors when route-color changes

7 years agoFix un/setting group colors
Robin Gareus [Thu, 1 Dec 2016 14:51:00 +0000 (15:51 +0100)]
Fix un/setting group colors

7 years agoand a more intrusive KDE workaround 5.5
Robin Gareus [Wed, 30 Nov 2016 22:19:44 +0000 (23:19 +0100)]
and a more intrusive KDE workaround

7 years agoremove scope from translated phrases.
Robin Gareus [Wed, 30 Nov 2016 22:00:59 +0000 (23:00 +0100)]
remove scope from translated phrases.

7 years agopay some attention to the special guest of the night: KDE window stacking
Robin Gareus [Wed, 30 Nov 2016 21:52:06 +0000 (22:52 +0100)]
pay some attention to the special guest of the night: KDE window stacking

7 years agoOne fix.
Olivier Humbert [Wed, 30 Nov 2016 21:25:46 +0000 (22:25 +0100)]
One fix.

7 years agoOne fix
Olivier Humbert [Wed, 30 Nov 2016 20:54:10 +0000 (21:54 +0100)]
One fix

7 years agoFrench translation update
Olivier Humbert [Wed, 30 Nov 2016 19:31:32 +0000 (20:31 +0100)]
French translation update

7 years agoFrench translation update
Olivier Humbert [Wed, 30 Nov 2016 19:24:52 +0000 (20:24 +0100)]
French translation update

more translation + fixes

7 years agoEnsure the window-close button is visible for the Engine-Dialog.
Robin Gareus [Wed, 30 Nov 2016 17:13:35 +0000 (18:13 +0100)]
Ensure the window-close button is visible for the Engine-Dialog.

7 years agoFrench translation update
Olivier Humbert [Wed, 30 Nov 2016 17:10:24 +0000 (18:10 +0100)]
French translation update

A few more improvements/fixes and new strings.

7 years agofix compilation with newer version of *mm and gcc-6.2 (RefPtr<> cast)
Robin Gareus [Wed, 30 Nov 2016 15:00:05 +0000 (16:00 +0100)]
fix compilation with newer version of *mm and gcc-6.2 (RefPtr<> cast)

7 years agoupdate system_config
Robin Gareus [Wed, 30 Nov 2016 13:49:42 +0000 (14:49 +0100)]
update system_config

7 years agoRemove close/OK buttons from engine dialog
Robin Gareus [Wed, 30 Nov 2016 13:44:36 +0000 (14:44 +0100)]
Remove close/OK buttons from engine dialog

7 years agoprefer bool operator
Robin Gareus [Wed, 30 Nov 2016 11:15:35 +0000 (12:15 +0100)]
prefer bool operator

7 years agoallow to remove a session from the recent list
Robin Gareus [Wed, 30 Nov 2016 10:07:37 +0000 (11:07 +0100)]
allow to remove a session from the recent list

7 years agoNO-OP backport changes from Mixbus branch.
Robin Gareus [Wed, 30 Nov 2016 08:21:28 +0000 (09:21 +0100)]
NO-OP backport changes from Mixbus branch.

7 years agoFix route color selection dialog
Robin Gareus [Tue, 29 Nov 2016 21:39:20 +0000 (22:39 +0100)]
Fix route color selection dialog

7 years agoFrench translation update - fixes
Olivier Humbert [Tue, 29 Nov 2016 18:52:38 +0000 (19:52 +0100)]
French translation update - fixes

a few fixes

7 years agoFrench translation update
Olivier Humbert [Tue, 29 Nov 2016 18:38:11 +0000 (19:38 +0100)]
French translation update

- a bunch of "fuzzy" stuffs removed (after checking/correcting those)
- a bunch of min/maj fixed
- >50 new translated strings
- >40 updated/fixed strings
- consistency across "… -> ...", "xrun -> décrochage", "lock -> verrouiller" and "mixer -> console de mixage"

7 years agoFrench translation update
Olivier Humbert [Thu, 24 Nov 2016 12:48:59 +0000 (13:48 +0100)]
French translation update

Two small fixes.

7 years agomoving POSIX_VISIBLE to the waf script part
David Carlier [Fri, 18 Nov 2016 12:34:11 +0000 (12:34 +0000)]
moving POSIX_VISIBLE to the waf script part

7 years agoseparate openbsd cases
David Carlier [Tue, 1 Nov 2016 21:03:03 +0000 (21:03 +0000)]
separate openbsd cases

7 years agoMaking buildable under OpenBSD.
David Carlier [Sat, 29 Oct 2016 15:20:32 +0000 (16:20 +0100)]
Making buildable under OpenBSD.

7 years agoProtect a-comp's display/state against NaN/Inf.
Robin Gareus [Tue, 29 Nov 2016 08:04:13 +0000 (09:04 +0100)]
Protect a-comp's display/state against NaN/Inf.

7 years agoprotect a-delay again Inf, NaN, HUGE and stuff.
Robin Gareus [Tue, 29 Nov 2016 07:41:10 +0000 (08:41 +0100)]
protect a-delay again Inf, NaN, HUGE and stuff.

7 years agoSpeed up track deletion when Editor-Mixer is visible
Robin Gareus [Mon, 28 Nov 2016 14:36:04 +0000 (15:36 +0100)]
Speed up track deletion when Editor-Mixer is visible

7 years agoproperly handle FS pitch-bend - closes #7140
Robin Gareus [Mon, 28 Nov 2016 11:53:20 +0000 (12:53 +0100)]
properly handle FS pitch-bend - closes #7140

7 years agoConsistent sub-menu separators for Preferecens in fr translation
Robin Gareus [Mon, 28 Nov 2016 10:34:20 +0000 (11:34 +0100)]
Consistent sub-menu separators for Preferecens in fr translation

7 years agoOSC: Solo toggle should maintain state when locked, rec and rec_safe should show...
Len Ovens [Mon, 28 Nov 2016 04:52:14 +0000 (20:52 -0800)]
OSC: Solo toggle should maintain state when locked, rec and rec_safe should show true state.

7 years agoFix Duplicate Track with Copy Playlist option selected
Tim Mayberry [Mon, 28 Nov 2016 02:30:38 +0000 (12:30 +1000)]
Fix Duplicate Track with Copy Playlist option selected

Previously two new empty playlists were created.

Related to and mentioned in issue #7141

7 years agoOSC: Squelch select feedback when no feedback is configured.
Len Ovens [Mon, 28 Nov 2016 02:32:50 +0000 (18:32 -0800)]
OSC: Squelch select feedback when no feedback is configured.

7 years agoFix reversed behaviour of Playlist -> New and New Copy
Tim Mayberry [Mon, 28 Nov 2016 00:59:32 +0000 (10:59 +1000)]
Fix reversed behaviour of Playlist -> New and New Copy

Resolves: #7146

Thanks again to elgoun for the patch

7 years agoFix duplicate track with new playlist so only one playlist is created
Tim Mayberry [Mon, 28 Nov 2016 00:50:47 +0000 (10:50 +1000)]
Fix duplicate track with new playlist so only one playlist is created

Instead of 2 empty playlists, thanks to elgoun for the patch

Resolves: #7141

7 years agoupdate default config (see also 5ec21347a)
Robin Gareus [Sun, 27 Nov 2016 22:00:32 +0000 (23:00 +0100)]
update default config (see also 5ec21347a)

7 years agoNO-OP; Backport changes from Mixbus branch
Robin Gareus [Sun, 27 Nov 2016 21:54:05 +0000 (22:54 +0100)]
NO-OP; Backport changes from Mixbus branch

7 years agoDon't include program-name with <Option name="color-file" />
Robin Gareus [Sun, 27 Nov 2016 20:53:16 +0000 (21:53 +0100)]
Don't include program-name with <Option name="color-file" />

This allows for e.g. mixbus and mixbus32c to share the config, but
use different color-files at runtime.

7 years agoFix loading, recording & saving MIDI with PolyKeyPressure events.
Robin Gareus [Sun, 27 Nov 2016 16:25:42 +0000 (17:25 +0100)]
Fix loading, recording & saving MIDI with PolyKeyPressure events.

GUI still does not handle this (neither automation lane, nor List Editor),
but the file loads, plays and exports correctly.

7 years agorevert 335debfa for the PA backend
Robin Gareus [Sat, 26 Nov 2016 23:40:51 +0000 (00:40 +0100)]
revert 335debfa for the PA backend

The same device may have different names for input + output

7 years agoOSC: no op, white space cleanup
Len Ovens [Sat, 26 Nov 2016 18:23:36 +0000 (10:23 -0800)]
OSC: no op, white space cleanup

7 years agoOSC: Make plugin and plugin parameter numbering 1 based to match everything else.
Len Ovens [Sat, 26 Nov 2016 17:18:36 +0000 (09:18 -0800)]
OSC: Make plugin and plugin parameter numbering 1 based to match everything else.

7 years agoAdd [hidden] option to list "Dummy" backend with optmized bundles
Robin Gareus [Sat, 26 Nov 2016 13:33:07 +0000 (14:33 +0100)]
Add [hidden] option to list "Dummy" backend with optmized bundles

7 years agoRestrict Device selection to valid choices.
Robin Gareus [Sat, 26 Nov 2016 13:31:24 +0000 (14:31 +0100)]
Restrict Device selection to valid choices.

7 years agoAdd API to enforce valid device selection.
Robin Gareus [Sat, 26 Nov 2016 13:30:46 +0000 (14:30 +0100)]
Add API to enforce valid device selection.

7 years agoOSC: Add patch from 7137 and make it work for manual port selection.
Len Ovens [Fri, 25 Nov 2016 18:10:49 +0000 (10:10 -0800)]
OSC: Add patch from 7137 and make it work for manual port selection.

7 years agospeed up track/bus creation a bit
Robin Gareus [Fri, 25 Nov 2016 17:07:59 +0000 (18:07 +0100)]
speed up track/bus creation a bit

7 years agoRAII to postpone processor changes/graph recalculation
Robin Gareus [Fri, 25 Nov 2016 17:07:43 +0000 (18:07 +0100)]
RAII to postpone processor changes/graph recalculation

7 years agoOSC: Patch from 7136 added cleaned and tested.
Len Ovens [Fri, 25 Nov 2016 15:26:18 +0000 (07:26 -0800)]
OSC: Patch from 7136 added cleaned and tested.

7 years agocont'd work to prevent duplicate playlist names
Robin Gareus [Fri, 25 Nov 2016 13:24:15 +0000 (14:24 +0100)]
cont'd work to prevent duplicate playlist names

7 years agowhen duplicating tracks and copying playlists, use a new name for the copied playlist
Paul Davis [Fri, 25 Nov 2016 13:19:27 +0000 (13:19 +0000)]
when duplicating tracks and copying playlists, use a new name for the copied playlist

7 years agoFix forwarding of output-buffers.
Robin Gareus [Fri, 25 Nov 2016 12:26:38 +0000 (13:26 +0100)]
Fix forwarding of output-buffers.

fbc8504f9eb74 swapped the iterators: Instead of iterating over output
buffers like BufferSet::read_from(), the new code iterates over
the current buffers. In case of 1 in -> 2 out, only the 1st channel
was be copied.  Also unlike BufferSet::read_from() the ChanCount was
not updated.

Processors after a Delivery e.g. out-meter, AFL processor did not see
all channels.

7 years agofix default output map display for no plugin processors
Robin Gareus [Fri, 25 Nov 2016 12:03:00 +0000 (13:03 +0100)]
fix default output map display for no plugin processors

(eg. mono->stereo deliveries)

7 years agomake the session do the right thing when clearing solo state during non-loading condi...
Paul Davis [Fri, 25 Nov 2016 11:50:39 +0000 (11:50 +0000)]
make the session do the right thing when clearing solo state during non-loading conditions

7 years agoremove redundant (identical) 2nd conditional, and improve comment
Paul Davis [Fri, 25 Nov 2016 11:50:08 +0000 (11:50 +0000)]
remove redundant (identical) 2nd conditional, and improve comment

7 years agowhen clearing route solo state, do the required update
Paul Davis [Fri, 25 Nov 2016 11:49:30 +0000 (11:49 +0000)]
when clearing route solo state, do the required update

7 years agoDo not try to restore Route solo state after clearing all solo state
Paul Davis [Fri, 25 Nov 2016 11:48:58 +0000 (11:48 +0000)]
Do not try to restore Route solo state after clearing all solo state

7 years agofix implementation of SoloControl::clear_all_solo_state()
Paul Davis [Fri, 25 Nov 2016 11:48:18 +0000 (11:48 +0000)]
fix implementation of SoloControl::clear_all_solo_state()

This no longer emits Changed() unless a change was made, and more
importantly, calls AutomationControl::actually_set_value() if
the self-soloed value needs to be changed

7 years agoprovisional changes to speed up solo changes to large numbers of routes.
Paul Davis [Fri, 25 Nov 2016 10:29:16 +0000 (10:29 +0000)]
provisional changes to speed up solo changes to large numbers of routes.

Moves global update of solo state and emission of Session::SoloChanged to
a single point after 1 to N solo controls are changed.

Also avoid unnecessarily emitted Activated() signal for listen controls,
though Process::{activate,deactive}() should probably be redesigned to
avoid this in a "deeper" way

7 years agoSpeed up AFL/PFL changes for large sessions
Robin Gareus [Fri, 25 Nov 2016 09:41:23 +0000 (10:41 +0100)]
Speed up AFL/PFL changes for large sessions

update_latency_compensation() and resort_routes() are expensive and
were called for every individual change.

7 years agoThe DisplaySuspender is useless with async Session RTEvents
Robin Gareus [Fri, 25 Nov 2016 09:05:36 +0000 (10:05 +0100)]
The DisplaySuspender is useless with async Session RTEvents

7 years agoDon't allow duplicate playlist names
Robin Gareus [Thu, 24 Nov 2016 21:11:19 +0000 (22:11 +0100)]
Don't allow duplicate playlist names

7 years ago_maps_from_state is legal after unfreeze (restore state)
Robin Gareus [Thu, 24 Nov 2016 20:58:50 +0000 (21:58 +0100)]
_maps_from_state is legal after unfreeze (restore state)

7 years agoa-High/LowPass allow 8K samples inclusive
Robin Gareus [Thu, 24 Nov 2016 20:03:14 +0000 (21:03 +0100)]
a-High/LowPass allow 8K samples inclusive

7 years agomidi ghost region fill colour is per event. don't store it. ensure _outline is set.
nick_m [Thu, 24 Nov 2016 17:50:46 +0000 (04:50 +1100)]
midi ghost region fill colour is per event. don't store it. ensure _outline is set.

7 years agoamend last commit.
nick_m [Thu, 24 Nov 2016 14:06:22 +0000 (01:06 +1100)]
amend last commit.

7 years agomidi scroomer updates streamview during drags.
nick_m [Thu, 24 Nov 2016 13:50:29 +0000 (00:50 +1100)]
midi scroomer updates streamview during drags.

7 years agoFrench translation update
Olivier Humbert [Mon, 21 Nov 2016 20:51:41 +0000 (21:51 +0100)]
French translation update

Mainly improvements to the Preference tabs.

7 years agosmall correction to de.po
edogawa23 [Wed, 23 Nov 2016 22:01:17 +0000 (23:01 +0100)]
small correction to de.po