Robin Gareus [Sun, 11 Dec 2016 14:45:42 +0000 (15:45 +0100)]
Add a small tool to experiment with libcanvas
nick_m [Sun, 11 Dec 2016 12:57:50 +0000 (23:57 +1100)]
there is no need to do a full set_colors() in MidiGhostRegion ctor.
nick_m [Sun, 11 Dec 2016 12:55:13 +0000 (23:55 +1100)]
tempo curve fiddling.
nick_m [Sun, 11 Dec 2016 12:54:03 +0000 (23:54 +1100)]
go back to always interpolating framed curve points.
nick_m [Sun, 11 Dec 2016 12:51:00 +0000 (23:51 +1100)]
make TempoMap::dump slightly more readable.
nick_m [Sun, 11 Dec 2016 12:49:02 +0000 (23:49 +1100)]
fix incorrect audio-locked tempo position when setting bbt via tempo dialog.
nick_m [Sun, 11 Dec 2016 12:46:49 +0000 (23:46 +1100)]
fix flickering in tempo curve when markers are reordered.
nick_m [Sun, 11 Dec 2016 12:44:25 +0000 (23:44 +1100)]
constify TempoCurve::tempo().
nick_m [Sun, 11 Dec 2016 12:42:26 +0000 (23:42 +1100)]
fix bar renumbering for audio-locked metrum.
Robin Gareus [Sun, 11 Dec 2016 03:36:08 +0000 (04:36 +0100)]
Robin Gareus [Sun, 11 Dec 2016 01:19:10 +0000 (02:19 +0100)]
Revert "Pixel hunt cairo-packer (status-bar, selection-clock border)"
This reverts commit
6015481377bc7c96d7e09b263a18b285fe2fc282.
Robin Gareus [Sun, 11 Dec 2016 00:31:31 +0000 (01:31 +0100)]
Pixel hunt cairo-packer (status-bar, selection-clock border)
Robin Gareus [Sat, 10 Dec 2016 23:03:44 +0000 (00:03 +0100)]
Check for reserved i/o that are not routes, fixes #7171
Robin Gareus [Sat, 10 Dec 2016 19:48:57 +0000 (20:48 +0100)]
CairoPacker draws outside of its widget allocation
This fixes fixes TimeInfoBox packing when the InfoBox position changes.
Robin Gareus [Sat, 10 Dec 2016 15:01:20 +0000 (16:01 +0100)]
Add editor actions to set tempo and meter
Robin Gareus [Sat, 10 Dec 2016 14:56:47 +0000 (15:56 +0100)]
Tweak transport icons
Robin Gareus [Sat, 10 Dec 2016 00:12:35 +0000 (01:12 +0100)]
Black selection & punch clock bg
Robin Gareus [Fri, 9 Dec 2016 22:43:37 +0000 (23:43 +0100)]
Fix video-monitor "sync-source" changes
Robin Gareus [Sat, 10 Dec 2016 14:52:48 +0000 (15:52 +0100)]
Add support for Pango Markup to ArdourButton
Robin Gareus [Sat, 10 Dec 2016 01:21:36 +0000 (02:21 +0100)]
Consistent ArdourButton sizing for elements with LED
Robin Gareus [Thu, 8 Dec 2016 19:33:04 +0000 (20:33 +0100)]
Speed up recent-session display with lots of snapshots.
Given that a session can easily have >100 snapshots and one cannot change
the sample-rate anymore, it's mostly useless to parse them all.
John Emmas [Thu, 8 Dec 2016 17:27:12 +0000 (17:27 +0000)]
Add LIBPBD_API to a function declaration
The new specialisation for ConfigVariable<float>::set_from_string() needs to be exportable (it gets used somehow by ARDOUR::SessionConfiguration).
If adding LIBPBD_API causes a problem for gcc, we could change it to LIBPBD_TEMPLATE_MEMBER_API
Robin Gareus [Thu, 8 Dec 2016 14:42:11 +0000 (15:42 +0100)]
Add some doc/comments to the timecode example script
Robin Gareus [Thu, 8 Dec 2016 14:41:21 +0000 (15:41 +0100)]
remove dups.
John Emmas [Thu, 8 Dec 2016 13:57:23 +0000 (13:57 +0000)]
For building with MSVC, std::strtof() didn't get introduced until VS2013
(use std::strtod() in earlier versions)
John Emmas [Thu, 8 Dec 2016 13:55:11 +0000 (13:55 +0000)]
I can't find a source file called MIDIXML.cpp (??)
Robin Gareus [Thu, 8 Dec 2016 12:21:00 +0000 (13:21 +0100)]
Add missing enum bindings
Robin Gareus [Thu, 8 Dec 2016 11:45:25 +0000 (12:45 +0100)]
Add timecode example script
Robin Gareus [Thu, 8 Dec 2016 11:26:41 +0000 (12:26 +0100)]
Clarify "frames" (video, timecode) vs "samples" (audio)
Robin Gareus [Thu, 8 Dec 2016 11:44:36 +0000 (12:44 +0100)]
add Lua bindings for Timecode conversion
Paul Davis [Thu, 8 Dec 2016 09:44:26 +0000 (09:44 +0000)]
braces, please
Robin Gareus [Thu, 8 Dec 2016 09:36:12 +0000 (10:36 +0100)]
Speed up recent session display (for many large sessions)
- don't parse XML into XMLTree
- only read the file, extract relevant elements
- don't read session-template contents, only test file
Robin Gareus [Wed, 7 Dec 2016 18:48:52 +0000 (19:48 +0100)]
a-fluidsynth process events even when no sf2 is loaded.
Keep track of program-changes, re-apply Bank/PGM once the
soundfont is loaded. fluidsynth itself keeps track of CCs.
Robin Gareus [Wed, 7 Dec 2016 18:47:29 +0000 (19:47 +0100)]
amend
581c7b6 -Wparentheses
Robin Gareus [Wed, 7 Dec 2016 18:47:04 +0000 (19:47 +0100)]
Save/Restore MIDI Automation Controls (current CC, PGM)
Robin Gareus [Wed, 7 Dec 2016 13:50:17 +0000 (14:50 +0100)]
Further tweaks to EngineDialog z-axis stacking
When there's no main window (initial setup, no transient parent),
preset a normal window listed in the task-bar.
The duality the Engine Dialog being used as Ardour-WM managed non-modal
Window (Menu > A/M Setup) and modal Dialog (AudioEngineSetupRequired)
complicates this a bit.
Robin Gareus [Wed, 7 Dec 2016 11:50:35 +0000 (12:50 +0100)]
Speed up unloading large sessions.
Robin Gareus [Wed, 7 Dec 2016 11:45:01 +0000 (12:45 +0100)]
Set MidiPgmChangeAutomation control value
Robin Gareus [Wed, 7 Dec 2016 10:30:40 +0000 (11:30 +0100)]
Add Lua bindings to inspect MidiTrack::MidiControl
Robin Gareus [Wed, 7 Dec 2016 00:58:58 +0000 (01:58 +0100)]
Fix another crash at exit.
Robin Gareus [Wed, 7 Dec 2016 00:06:22 +0000 (01:06 +0100)]
fix copy/paste typo in prev. commit
Robin Gareus [Wed, 7 Dec 2016 00:03:46 +0000 (01:03 +0100)]
Work around silence-trim config 0dBFS (
7b1f97bf)
Robin Gareus [Tue, 6 Dec 2016 23:56:14 +0000 (00:56 +0100)]
Revert "Fix export silence threshold by using a constant value for now"
This reverts commit
6784923a0587e9549f129faa7c75d784028d11a1.
Robin Gareus [Tue, 6 Dec 2016 23:50:00 +0000 (00:50 +0100)]
fix parsing "-inf" in config variables
The default for export-silence-threshold is -INFINITY, written
as "-inf" (by cfgtool) into system_config. Yet parsing the config using
a std::stringstream results in "0" (due to bugs in various libc++).
Robin Gareus [Tue, 6 Dec 2016 21:55:50 +0000 (22:55 +0100)]
Don't assume patch-banks are populated.
Robin Gareus [Tue, 6 Dec 2016 21:51:55 +0000 (22:51 +0100)]
Allow sparse CC lists.
Robin Gareus [Tue, 6 Dec 2016 21:34:07 +0000 (22:34 +0100)]
a-fluid synth: label Reverb & Chorus sends.
Also globally enable Reverb + Chorus FX (so that sends work by default)
Ben Loftis [Mon, 5 Dec 2016 20:53:44 +0000 (14:53 -0600)]
create_drum_tracks lua script by Phillip Smith
Ben Loftis [Mon, 5 Dec 2016 18:20:42 +0000 (12:20 -0600)]
add_filters lua script by Phillip Smith
Robin Gareus [Tue, 6 Dec 2016 17:48:36 +0000 (18:48 +0100)]
Allow to send Immediate Patch Changes
Robin Gareus [Tue, 6 Dec 2016 15:59:57 +0000 (16:59 +0100)]
a-fluid synth: list all bank/programs
Robin Gareus [Tue, 6 Dec 2016 15:00:42 +0000 (16:00 +0100)]
Turn a-fluidsynth into C++
Robin Gareus [Tue, 6 Dec 2016 14:56:36 +0000 (15:56 +0100)]
rough-in a-fluid synth midnam support
Julien ROGER [Thu, 1 Dec 2016 23:05:58 +0000 (00:05 +0100)]
Fix #6753
Fix "Illegal instruction" due to recursive acquisition/multi release on a RWLock
See #6753 notes
Julien ROGER [Fri, 2 Dec 2016 05:17:51 +0000 (06:17 +0100)]
Fix crash when track creation failed draging region
Add more check when creating a new track from a region drag into editor's empty area.
Fix #6496
Tim Mayberry [Tue, 6 Dec 2016 10:55:17 +0000 (20:55 +1000)]
Include last sample in reverse test for nonsilence in end trim during export
Tim Mayberry [Wed, 30 Nov 2016 09:47:02 +0000 (19:47 +1000)]
Don't move the Range Selection after performing Multi Duplicate
This is necessary for a single Duplicate so you can keep duplicating but it
doesn't make sense to move it for Multi Duplicate.
Tim Mayberry [Wed, 30 Nov 2016 09:45:56 +0000 (19:45 +1000)]
Fix Multi Duplicate for a Range Selections
As mentioned in the previous commit
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
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
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.
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
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
Tim Mayberry [Tue, 6 Dec 2016 02:51:49 +0000 (12:51 +1000)]
Add script to run audiographer tests
Robin Gareus [Mon, 5 Dec 2016 23:22:24 +0000 (00:22 +0100)]
add another useful PluginInsert binding
Robin Gareus [Mon, 5 Dec 2016 22:49:05 +0000 (23:49 +0100)]
Prevent endless recursion on Evoral::Event<>
Robin Gareus [Mon, 5 Dec 2016 22:48:35 +0000 (23:48 +0100)]
Fixup
08fffef (consistent class name)
Robin Gareus [Mon, 5 Dec 2016 20:53:41 +0000 (21:53 +0100)]
Add Lua bindings to manage Groups
Ben Loftis [Mon, 5 Dec 2016 15:48:25 +0000 (09:48 -0600)]
fader-to-trim lua script by Phillip Smith
Robin Gareus [Mon, 5 Dec 2016 14:43:54 +0000 (15:43 +0100)]
set AtomObject body ID to zero (as per spec when unused)
Robin Gareus [Mon, 5 Dec 2016 11:16:29 +0000 (12:16 +0100)]
Fix theme names (dash is used to separate program-name)
David Robillard [Mon, 5 Dec 2016 00:15:29 +0000 (19:15 -0500)]
Remove boost_system test kludge
David Robillard [Sun, 4 Dec 2016 23:49:56 +0000 (18:49 -0500)]
Update evoral test suite
David Robillard [Sun, 4 Dec 2016 23:26:30 +0000 (18:26 -0500)]
Fix configuration
David Robillard [Sun, 4 Dec 2016 20:40:21 +0000 (15:40 -0500)]
Improve coverage of evoral tests
David Robillard [Sun, 4 Dec 2016 20:17:08 +0000 (15:17 -0500)]
Improve coverage of evoral tests
David Robillard [Sun, 4 Dec 2016 20:16:08 +0000 (15:16 -0500)]
Add missing include
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.
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.
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.
Robin Gareus [Sun, 4 Dec 2016 16:50:12 +0000 (17:50 +0100)]
Skip testing example lua scripts which are not bundled
David Robillard [Sat, 3 Dec 2016 20:49:13 +0000 (15:49 -0500)]
Fix Sequence test
David Robillard [Mon, 7 Nov 2016 12:07:42 +0000 (07:07 -0500)]
Remove dead code
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.
David Robillard [Mon, 7 Nov 2016 09:06:26 +0000 (04:06 -0500)]
Fix warnings
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.
David Robillard [Mon, 7 Nov 2016 00:27:26 +0000 (19:27 -0500)]
Factor out and extend MIDIXML implementation
David Robillard [Sun, 6 Nov 2016 23:12:49 +0000 (18:12 -0500)]
Fix Sequence/Event const-correctness issues
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.
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.
Robin Gareus [Thu, 1 Dec 2016 14:51:25 +0000 (15:51 +0100)]
update summary & connection-matrix colors when route-color changes
Robin Gareus [Thu, 1 Dec 2016 14:51:00 +0000 (15:51 +0100)]
Fix un/setting group colors
Robin Gareus [Wed, 30 Nov 2016 22:19:44 +0000 (23:19 +0100)]
and a more intrusive KDE workaround
Robin Gareus [Wed, 30 Nov 2016 22:00:59 +0000 (23:00 +0100)]
remove scope from translated phrases.
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
Olivier Humbert [Wed, 30 Nov 2016 21:25:46 +0000 (22:25 +0100)]
One fix.
Olivier Humbert [Wed, 30 Nov 2016 20:54:10 +0000 (21:54 +0100)]
One fix
Olivier Humbert [Wed, 30 Nov 2016 19:31:32 +0000 (20:31 +0100)]
French translation update
Olivier Humbert [Wed, 30 Nov 2016 19:24:52 +0000 (20:24 +0100)]
French translation update
more translation + fixes
Robin Gareus [Wed, 30 Nov 2016 17:13:35 +0000 (18:13 +0100)]
Ensure the window-close button is visible for the Engine-Dialog.