Robin Gareus [Mon, 12 Sep 2016 10:05:03 +0000 (12:05 +0200)]
Tweak PR 269 for portable file-path
Johannes Mueller [Thu, 8 Sep 2016 21:12:19 +0000 (23:12 +0200)]
Cleaned up messed indents (tabs vs. spaces)
Johannes Mueller [Thu, 8 Sep 2016 20:34:39 +0000 (22:34 +0200)]
Lua script to export markers as mp4 chapters
Location markers, that are not xruns are exported as mp4 chapter
marks. This requires `Location::name()` to be exposed to Lua.
Johannes Mueller [Wed, 7 Sep 2016 20:56:56 +0000 (22:56 +0200)]
Expose Location::name() to Lua
Robin Gareus [Mon, 12 Sep 2016 10:02:07 +0000 (12:02 +0200)]
Add a Lua wrapper to Glib::build_filename()
Robin Gareus [Mon, 12 Sep 2016 10:01:07 +0000 (12:01 +0200)]
allow running from src-tree using system-wide gtk-themes w/color defs
Johannes Mueller [Sat, 10 Sep 2016 20:38:07 +0000 (22:38 +0200)]
Example script to prepare the session to record
Often one needs to make sure that all the relevant settings are made
before one actually starts recording. The Lua interface can take care of
this task easily, that the operater by just one action can make sure
that the relevant settings (e.g. recenables, playhead position, etc.)
are ready for recording. This example was written with a quasi live
podcast scenario in mind.
See `scripts/prepare_record_example.lua` for details.
Johannes Mueller [Sun, 4 Sep 2016 13:29:41 +0000 (15:29 +0200)]
Expose `Locations::remove()` to Lua
Clearing location markers is a frequent task and should be automizable. For
example it is handy to clear all the markers when restarting the recording
from scratch after a failed recording.
Thomas Brand [Sat, 10 Sep 2016 21:28:00 +0000 (23:28 +0200)]
add request_play_loop() & get_play_loop() to luabindings
Tim Mayberry [Sun, 11 Sep 2016 12:40:23 +0000 (22:40 +1000)]
Fix #7015, Crash while aborting Region trim using Esc key
There were two issues:
The first is that TrimDrag::aborted was calling TrimDrag::finished with a null
GdkEvent which caused a segfault when dereferencing. So avoid that by passing
in a dummy event as we are just going to undo the operation in the next step
anyway so it shouldn't matter if it is valid(AFAICT).
The other is that TrimDrag:aborted was calling Editor::undo() which was in turn
calling TrimDrag::aborted leading to infinite recursion and stack overflow.
Calling Session::undo() directly seems to avoid that issue.
This fix feels like a bit of a hack...but it seems to work and is better than a
crash.
Tim Mayberry [Fri, 9 Sep 2016 12:04:26 +0000 (22:04 +1000)]
Fix #6774, Moving start/end markers doesn't set Session as modified/dirty
If a Session is saved and then the start or end session markers are moved,
closing the Session will not result in "Unsaved Session" dialog being presented
even though the Session has been modified. This change sets the Session as
modified when either the Session start or end markers are modified.
Tim Mayberry [Sat, 10 Sep 2016 22:39:08 +0000 (08:39 +1000)]
Fix #7003, Store/Restore state of checkboxes in Export dialog
Paul Davis [Fri, 9 Sep 2016 23:15:10 +0000 (19:15 -0400)]
closing the normalize dialog should not run normalize (#7016)
Paul Davis [Fri, 9 Sep 2016 23:09:15 +0000 (19:09 -0400)]
fix WM close handling for session lock dialog (#7017)
Paul Davis [Wed, 7 Sep 2016 16:38:39 +0000 (12:38 -0400)]
for files imported without copy, _origin is a full path. We should use this when looking for the file at session load
Paul Davis [Wed, 7 Sep 2016 16:22:15 +0000 (12:22 -0400)]
correct comment for FileSource::find()
Paul Davis [Tue, 6 Sep 2016 20:56:46 +0000 (16:56 -0400)]
add ActionManager::rec_sensitive_actions and put "add track/bus" in this group, which is disabled during active recording
Paul Davis [Tue, 6 Sep 2016 20:56:07 +0000 (16:56 -0400)]
use moved version of reset_focus()
Johannes Mueller [Sat, 3 Sep 2016 14:32:35 +0000 (16:32 +0200)]
Expose record enable/disable to Lua bindings
Paul Davis [Tue, 6 Sep 2016 20:17:39 +0000 (16:17 -0400)]
use moved version of reset_focus()
Paul Davis [Tue, 6 Sep 2016 20:17:08 +0000 (16:17 -0400)]
move kbd focus reset method into ARDOUR_UI where it (probably) belongs
cooltehno [Tue, 6 Sep 2016 19:34:27 +0000 (23:34 +0400)]
Update clear-gray-ardour.colors
This commit changes item "gtk_bases" from light (color22) to darker (color88). The knob of "Enable/Disable MIDI input" in Edit List had the same colour and was not visible. This commit makes it clear visible, and it has no much influence on a general design.
Paul Davis [Tue, 6 Sep 2016 19:40:22 +0000 (15:40 -0400)]
use existing Editor::reset_focus() method to reset focus after audio clock editing is done
Paul Davis [Tue, 6 Sep 2016 19:39:50 +0000 (15:39 -0400)]
do not set the focus widget to be a toplevel window in Editor::reset_focus.
See comments in code for the reason why
nick_m [Tue, 6 Sep 2016 14:32:02 +0000 (00:32 +1000)]
Fix incorrect estimate of future revision.
nick_m [Tue, 6 Sep 2016 14:27:01 +0000 (00:27 +1000)]
Remove unused variable.
nick_m [Tue, 6 Sep 2016 14:18:35 +0000 (00:18 +1000)]
Load midi region length and start correctly in sessions modified by v5.0 -> 5.3-41
Robin Gareus [Mon, 5 Sep 2016 23:31:55 +0000 (01:31 +0200)]
remove duplicate enum -- copy/paste typo
Robin Gareus [Mon, 5 Sep 2016 23:26:36 +0000 (01:26 +0200)]
expose PeakMeter Lua bindings
nick_m [Mon, 5 Sep 2016 14:04:00 +0000 (00:04 +1000)]
Set start_pulse and length_pulse from state, neither need to be a PBD::Property.
nick_m [Mon, 5 Sep 2016 06:28:46 +0000 (16:28 +1000)]
Fix the tempo note-type hallucination.
- after reports that a tempo with non-4.0 note type
would produce a ramp in the preceding section, an incorrect
assumption was made leading to a bogus 'fix' that redefined
Tempo's pulses_per_minute().
the real fix was simple:
the ramp's function constant was calculated using the note type
of the proceding tempo rather than the current one.
- this patch reverts
e82482e8e9c and
a4d67279e0086258
and maintains the old definition of Tempo::pulses_per_minute()
nick_m [Sat, 3 Sep 2016 18:19:34 +0000 (04:19 +1000)]
Sanity check for TempoMap::get_grid ()
nick_m [Sat, 3 Sep 2016 17:19:13 +0000 (03:19 +1000)]
Revert part of
d50df8279966.
nick_m [Sat, 3 Sep 2016 17:18:12 +0000 (03:18 +1000)]
Fix graphical issues in tempo curve.
Todd Naugle [Fri, 2 Sep 2016 15:37:37 +0000 (10:37 -0500)]
Move check for detected bundle earlier in install process.
Previously if the bundle being installed did not support the detected
system the user would get an error message about the .size file
being missing.
nick_m [Fri, 2 Sep 2016 15:22:41 +0000 (01:22 +1000)]
Fix various paste errors in tempo.cc. Should fix recent regressions.
nick_m [Thu, 1 Sep 2016 19:18:53 +0000 (05:18 +1000)]
Ensure the correct position is passed to MidiRegionView::get_grid_beats().
nick_m [Thu, 1 Sep 2016 19:13:53 +0000 (05:13 +1000)]
Use the stored beat to recalculate pulse when setting position as sub_num is irrelevent.
nick_m [Thu, 1 Sep 2016 19:11:54 +0000 (05:11 +1000)]
Editor::get_grid_type_as_beats() returns the quarter note equivalent of BBT beat and bar.
nick_m [Thu, 1 Sep 2016 19:10:32 +0000 (05:10 +1000)]
Consolidate the meaning of beat divisions.
- bar and beat snapping is BBT beat based while other
music divisions are quarter note based. Reflect this in
the way exact_beat/qn is calculated.
John Emmas [Thu, 1 Sep 2016 11:31:33 +0000 (12:31 +0100)]
Fix a bug when formatting time strings
It seems that 'strftime()' (on Windows) works differently from its non-Windows counterparts. Specifically, some formatting options (e.g. %F) are not recognised in the Windows implementation.
Fortunately, glibmm comes to our rescue here! So let's use the glib implementation which will hopefully work the same on all platforms.
Len Ovens [Thu, 1 Sep 2016 02:56:48 +0000 (19:56 -0700)]
OSC: don't restore User preset before writing new one
nick_m [Wed, 31 Aug 2016 18:01:29 +0000 (04:01 +1000)]
Attempt to clarify tempo map comments.
nick_m [Wed, 31 Aug 2016 16:43:29 +0000 (02:43 +1000)]
Revert
894cdb6f5c2064.
- once again we snap to BBT beats when snapping to 'beat'.
nick_m [Wed, 31 Aug 2016 15:35:53 +0000 (01:35 +1000)]
Snap to beat snaps to quarter note.
nick_m [Wed, 31 Aug 2016 12:46:09 +0000 (22:46 +1000)]
No-op - rename var in MidiRegionView::note_dropped().
nick_m [Wed, 31 Aug 2016 12:45:25 +0000 (22:45 +1000)]
TempoMap::pulse_at_frame() handles separated musical sections as per beat_at_frame().
nick_m [Tue, 30 Aug 2016 20:57:46 +0000 (06:57 +1000)]
Fix incorrect inclusion of note_type in Tempo::pulses_per_minute().
nick_m [Tue, 30 Aug 2016 19:49:11 +0000 (05:49 +1000)]
Keep region beat and pulse separated, ensure pulse is updated when setting position.
nick_m [Tue, 30 Aug 2016 19:05:30 +0000 (05:05 +1000)]
Fix incorrect start_pulse in MidiRegion copy-with-offset ctor.
nick_m [Tue, 30 Aug 2016 18:30:34 +0000 (04:30 +1000)]
Amend
f3c0c1a865 (Add quarter-note position methods).
nick_m [Tue, 30 Aug 2016 17:30:09 +0000 (03:30 +1000)]
NoteCreateDrag uses quarter-notes.
nick_m [Tue, 30 Aug 2016 17:27:35 +0000 (03:27 +1000)]
MidiRegionView uses quarter note snapping.
- also ensures poiinter ghost note respects the snap modifier.
nick_m [Tue, 30 Aug 2016 17:24:45 +0000 (03:24 +1000)]
Use quarter-note based 'beat' when snapping.
nick_m [Tue, 30 Aug 2016 17:22:10 +0000 (03:22 +1000)]
BeatsFramesConverter uses quarter-note 'beat' position.
nick_m [Tue, 30 Aug 2016 17:19:39 +0000 (03:19 +1000)]
Add quarter-note position methods to TempoMap.
nick_m [Tue, 30 Aug 2016 17:17:26 +0000 (03:17 +1000)]
Add length_pulse to MidiSource, usr quarter-notes in midi_read().
- MidiSource _length_beats is in quarter notes.
Here we duplicate length_beats for backwards compatibility
nick_m [Tue, 30 Aug 2016 17:03:40 +0000 (03:03 +1000)]
Add start_pulse and length_pulse to midi region for beat/note separation.
nick_m [Tue, 30 Aug 2016 16:59:14 +0000 (02:59 +1000)]
Add a pulse property to region.
- separates ardour beat (meter-based) and note (pulse-based)
musical position.
Robin Gareus [Tue, 30 Aug 2016 21:54:25 +0000 (23:54 +0200)]
and another SNAFU...
Robin Gareus [Tue, 30 Aug 2016 21:41:07 +0000 (23:41 +0200)]
fix jump out of local scope
Robin Gareus [Tue, 30 Aug 2016 21:20:32 +0000 (23:20 +0200)]
correct comments and avoid /={4+}/
Thomas Brand [Tue, 30 Aug 2016 19:55:15 +0000 (21:55 +0200)]
-put method print_help() inside factory() (!) -nop / add comments
Signed-off-by: Thomas Brand <tom@trellis.ch>
Robin Gareus [Tue, 30 Aug 2016 18:42:27 +0000 (20:42 +0200)]
tom's loop: fix arguments to add_region()
Thomas Brand [Tue, 30 Aug 2016 18:08:26 +0000 (20:08 +0200)]
-adapt to new method syntax of add_region() to make script work with latest lua API -add help text; displayed on error in script output window
Signed-off-by: Thomas Brand <tom@trellis.ch>
John Emmas [Tue, 30 Aug 2016 06:15:00 +0000 (07:15 +0100)]
Update our MSVC project files to generate the most recent Ardour session file format (ver 5) rather than the older v3 format
Paul Davis [Mon, 29 Aug 2016 10:38:48 +0000 (06:38 -0400)]
NOOP: whitespace
Paul Davis [Mon, 29 Aug 2016 10:38:34 +0000 (06:38 -0400)]
improved (more general) fix for preferences window visibility
Paul Davis [Mon, 29 Aug 2016 10:37:45 +0000 (06:37 -0400)]
Revert "apparent fix for preferences window visibility"
This reverts commit
9d6d9c650193fa098c0d85c505b5eb3b61f8d2f8.
Paul Davis [Mon, 29 Aug 2016 10:35:45 +0000 (06:35 -0400)]
apparent fix for preferences window visibility
Paul Davis [Sun, 28 Aug 2016 13:05:27 +0000 (09:05 -0400)]
fix focus-on-clock action
John Emmas [Sun, 28 Aug 2016 12:54:16 +0000 (13:54 +0100)]
Change (slightly) the previous modification to 'fluidsynth/config.h'
Robin Gareus [Sun, 28 Aug 2016 11:47:12 +0000 (13:47 +0200)]
update fluidsynth patch for MSVC
Robin Gareus [Sun, 28 Aug 2016 11:44:30 +0000 (13:44 +0200)]
fix Coreaudio Aggregate for separate devices with identical names
Robin Gareus [Sun, 28 Aug 2016 11:23:18 +0000 (13:23 +0200)]
undo modifications to upstream fluidsynth code
Robin Gareus [Sun, 28 Aug 2016 11:18:48 +0000 (13:18 +0200)]
fix lv2 ttl
John Emmas [Sun, 28 Aug 2016 09:31:43 +0000 (10:31 +0100)]
Configure the new 'fluidsynth' library to be buildable with MSVC
(haven't built any fluidsynth plugins yet)
John Emmas [Sun, 28 Aug 2016 09:26:02 +0000 (10:26 +0100)]
Fix a crash when toggling back and forth between a generic plugin GUI window and a VST plugin's own GUI
John Emmas [Sun, 28 Aug 2016 09:23:57 +0000 (10:23 +0100)]
Fix a crash when we display the 'Plugin Analysis' window (in a generic plugin GUI window) and then close the GUI
John Emmas [Sun, 28 Aug 2016 09:20:56 +0000 (10:20 +0100)]
Accommodate newly introduced source(s) in our MSVC project (ardour_osc)
John Emmas [Sun, 28 Aug 2016 09:19:42 +0000 (10:19 +0100)]
Accommodate newly introduced source(s) in our MSVC project (gtk2_ardour)
Paul Davis [Sat, 27 Aug 2016 23:57:40 +0000 (19:57 -0400)]
single action punch in
Consecutive execution (e.g. from a control surface button) engages punch in, then punch out, then clears both.
Patch by Nathan Stewart
Robin Gareus [Sat, 27 Aug 2016 22:18:06 +0000 (00:18 +0200)]
notch: narrow the bandwidth with increasing frequency
Robin Gareus [Sat, 27 Aug 2016 22:02:16 +0000 (00:02 +0200)]
fix typo in notch example script
Robin Gareus [Sat, 27 Aug 2016 21:35:02 +0000 (23:35 +0200)]
newbie documentation
Robin Gareus [Sat, 27 Aug 2016 17:56:08 +0000 (19:56 +0200)]
notch-bank: increase max Q, use logscale
Robin Gareus [Sat, 27 Aug 2016 17:47:53 +0000 (19:47 +0200)]
update notch-bank to variable i/o, increase max stages to 100
Robin Gareus [Sat, 27 Aug 2016 16:08:46 +0000 (18:08 +0200)]
backwards compatible a-comp stereo sidechain ports
Robin Gareus [Sat, 27 Aug 2016 15:48:11 +0000 (17:48 +0200)]
add a notch-bank filter
Robin Gareus [Sat, 27 Aug 2016 15:20:27 +0000 (17:20 +0200)]
No discrimination against systems which don't have a PI define
Robin Gareus [Sat, 27 Aug 2016 15:14:49 +0000 (17:14 +0200)]
Prepare a-comp for click-free bypass/enable
Robin Gareus [Sat, 27 Aug 2016 14:59:15 +0000 (16:59 +0200)]
click-free a-delay bypass/enable
Robin Gareus [Sat, 27 Aug 2016 14:01:16 +0000 (16:01 +0200)]
NO-OP clean up plugin ttl
Robin Gareus [Sat, 27 Aug 2016 13:53:38 +0000 (15:53 +0200)]
fix copy/paste typo in
1d7c14496
Robin Gareus [Sat, 27 Aug 2016 12:10:51 +0000 (14:10 +0200)]
add NaN/Inf protection now that bypass no longer de/activates
Robin Gareus [Sat, 27 Aug 2016 12:09:47 +0000 (14:09 +0200)]
click-free a-reverb bypass
Robin Gareus [Sat, 27 Aug 2016 11:23:25 +0000 (13:23 +0200)]
Add automatable click-free bypass/enable feature to a-eq
Paul Davis [Sat, 27 Aug 2016 10:02:43 +0000 (06:02 -0400)]
NO-OP: indentation
Paul Davis [Sat, 27 Aug 2016 10:02:28 +0000 (06:02 -0400)]
fix display of preferences window when detached.
GTK+ apparently unpacks/hides a widget whose requistion at window show/packing time is negative for x or y axes. The RC option editor
was being created AFTER its Tabbable self packed it into its own window (when detached), and GTK+ rejected it because the
treeview had a size requisition with -1 for width.
So build it first, then call Tabbable::set_state() later
Robin Gareus [Fri, 26 Aug 2016 17:04:07 +0000 (19:04 +0200)]
Expose PluginInfo bindings (eg plugin-type, unique id, etc)
processor:to_insert():plugin(0):get_info().type