ardour.git
10 years agoMake Session::send_song_position_pointer a no-op
Michael Fisher [Thu, 1 Aug 2013 18:54:58 +0000 (13:54 -0500)]
Make Session::send_song_position_pointer a no-op

10 years agoRevamp clock processing so it uses an internal frame reference.
Michael Fisher [Thu, 1 Aug 2013 18:47:22 +0000 (13:47 -0500)]
Revamp clock processing so it uses an internal frame reference.
MidiClockTicker::Position managed by boost::scoped_ptr

10 years agoWIP - Experimenting with an alternative clock generating algo
Michael Fisher [Thu, 1 Aug 2013 15:07:18 +0000 (10:07 -0500)]
WIP - Experimenting with an alternative clock generating algo
    - Transport debug output (tracing where transport_frame
      is updated

10 years agoHuman readable printing of MIDI Position messages
Michael Fisher [Thu, 1 Aug 2013 05:55:58 +0000 (00:55 -0500)]
Human readable printing of MIDI Position messages

10 years ago- Send position data from internal position class
Michael Fisher [Thu, 1 Aug 2013 05:09:42 +0000 (00:09 -0500)]
- Send position data from internal position class
- Proper midi beat conversions for all time signatures
- Disable responding to Session::PositionChanged in place
  of Session::Located.

10 years agoTest code removal...
Michael Fisher [Wed, 31 Jul 2013 12:15:52 +0000 (07:15 -0500)]
Test code removal...

10 years agoMIDI Clock - Shuffling locate code (not actually used yet)
Michael Fisher [Wed, 31 Jul 2013 12:02:28 +0000 (07:02 -0500)]
MIDI Clock - Shuffling locate code (not actually used yet)
- Subscribe to Session::Locate to detect seeks
- Shuffle Mclk locating computations into a separate private class

10 years agoStop compiler warning about NSURL
Michael Fisher [Mon, 29 Jul 2013 21:15:04 +0000 (16:15 -0500)]
Stop compiler warning about NSURL

10 years agorework MIDI [processor|plugin] chain
Robin Gareus [Fri, 2 Aug 2013 01:39:00 +0000 (03:39 +0200)]
rework MIDI [processor|plugin] chain

* forward midi-data around plugins that have no MIDI-out
* allow to insert plugins with no MIDI-input at a point with one MIDI-channel

This works because excess ports (both plugin and route) remain
unconnected and use scratch-buffers.

Tested with LV2, LXVST and LADSPA.
(AU plugins with variable in/out retain the old behavior, no bypass)

fixes http://tracker.ardour.org/view.php?id=5630

10 years agoremove an identical odd namespacing typo
Paul Davis [Thu, 1 Aug 2013 14:46:22 +0000 (10:46 -0400)]
remove an identical odd namespacing typo

10 years agoremove odd namespacing typo
Paul Davis [Thu, 1 Aug 2013 14:44:34 +0000 (10:44 -0400)]
remove odd namespacing typo

10 years agoadd _ISOC9X_SOURCE define to compiler command line to provide uniform access to llabs()
Paul Davis [Thu, 1 Aug 2013 14:10:21 +0000 (10:10 -0400)]
add _ISOC9X_SOURCE define to compiler command line to provide uniform access to llabs()

10 years agore-check meterbridge metric-area on route deletion
Robin Gareus [Thu, 1 Aug 2013 01:17:49 +0000 (03:17 +0200)]
re-check meterbridge metric-area on route deletion

fixes http://tracker.ardour.org/view.php?id=5616#c15204

10 years agouse zeroed scratch buffers for "silent" plugin runs
Robin Gareus [Wed, 31 Jul 2013 22:35:24 +0000 (00:35 +0200)]
use zeroed scratch buffers for "silent" plugin runs

Plugins rewrite the buffer data in-place and some plugins
can produce output even when fed with silence.

Hence, during a PluginInsert::silence() run a plugin can
inject data into the "silent" buffers which causes side-effects.

Kudos to Chris 'oofus' Goddard for finding this issue.

10 years agotiny detail.. GUI-callback may try to check vmonitor->is_started() or issue a periodi...
Robin Gareus [Wed, 31 Jul 2013 18:19:57 +0000 (20:19 +0200)]
tiny detail.. GUI-callback may try to check vmonitor->is_started() or issue a periodic seek update while it's going away

10 years agoclean up some valgrid "Uninitialised value was created by a heap allocation" wanings
Robin Gareus [Wed, 31 Jul 2013 17:24:26 +0000 (19:24 +0200)]
clean up some valgrid "Uninitialised value was created by a heap allocation" wanings

10 years agocorrect error message
Robin Gareus [Wed, 31 Jul 2013 17:22:58 +0000 (19:22 +0200)]
correct error message

10 years agofix close_allv() sentinel
Robin Gareus [Wed, 31 Jul 2013 17:29:06 +0000 (19:29 +0200)]
fix close_allv() sentinel

10 years agovalgrind ignore glib UTF8 warnings
Robin Gareus [Wed, 31 Jul 2013 16:30:09 +0000 (18:30 +0200)]
valgrind ignore glib UTF8 warnings

10 years agoinitialize two more uninitialized vars..
Robin Gareus [Wed, 31 Jul 2013 13:52:41 +0000 (15:52 +0200)]
initialize two more uninitialized vars..

10 years agofix typo in c212c16eb
Robin Gareus [Wed, 31 Jul 2013 13:24:46 +0000 (15:24 +0200)]
fix typo in c212c16eb

10 years agoinitialize some uninitialized values
Robin Gareus [Wed, 31 Jul 2013 13:22:51 +0000 (15:22 +0200)]
initialize some uninitialized values

10 years agocatch assert()
Robin Gareus [Wed, 31 Jul 2013 13:17:22 +0000 (15:17 +0200)]
catch assert()

10 years agoLV2 - use scratch buffers to scratch :)
Robin Gareus [Wed, 31 Jul 2013 12:45:02 +0000 (14:45 +0200)]
LV2 - use scratch buffers to scratch :)

10 years agoanother amend to 00f26394a9
Robin Gareus [Wed, 31 Jul 2013 12:21:40 +0000 (14:21 +0200)]
another amend to 00f26394a9

10 years agofix stupid copy/paste error in 00f26394a9
Robin Gareus [Wed, 31 Jul 2013 00:00:31 +0000 (02:00 +0200)]
fix stupid copy/paste error in 00f26394a9

10 years agominimize meter-peak re-draw area
Robin Gareus [Tue, 30 Jul 2013 23:59:50 +0000 (01:59 +0200)]
minimize meter-peak re-draw area

10 years agoRMS meter: remove unused peak-detection
Robin Gareus [Tue, 30 Jul 2013 18:22:31 +0000 (20:22 +0200)]
RMS meter: remove unused peak-detection

10 years agoadjust meterbridge label-heigh options
Robin Gareus [Tue, 30 Jul 2013 18:21:02 +0000 (20:21 +0200)]
adjust meterbridge label-heigh options

10 years agoadd name-tooltips to the meterbridge meters
Robin Gareus [Tue, 30 Jul 2013 16:28:06 +0000 (18:28 +0200)]
add name-tooltips to the meterbridge meters

10 years agoclean up 44fc92c3 (not a threading issue but sigc++ problem)
Robin Gareus [Tue, 30 Jul 2013 15:54:52 +0000 (17:54 +0200)]
clean up 44fc92c3 (not a threading issue but sigc++ problem)

RouteUI is not sigc::trackable itself (only derived classes are)
RouteUI::~RouteUI() does not disconnect from signals on destruction.

10 years agouse dedicated buffers for route (and track)
Robin Gareus [Tue, 30 Jul 2013 14:55:33 +0000 (16:55 +0200)]
use dedicated buffers for route (and track)

"scratch buffers are by definition scratch and their contents are undefined at all times"
"silent buffers are by definition all-zero and should not be used for real data"

But track & route were using those for actual data; plugins (which may run
in the same thread and may get the same buffers) use them for scratch thereby
overwriting real data.

In particular get_silent_buffers() (used by LadspaPlugin::connect_and_run)
clears the buffer which can holds real data:
e.g. via  Route::passthru_silence() -> plugin1 -> plugin2 (clears output of plugin1)

10 years agodisconnect AuxSend connection when deleting bus
Robin Gareus [Tue, 30 Jul 2013 13:12:32 +0000 (15:12 +0200)]
disconnect AuxSend connection when deleting bus

fixes crash:
 - add bus
 - aux-send a signal to that bus
 - delete bus
 - add another bus
 - aux-send a signal to "another bus"
 - click "Aux Send" button on "another bus"
 - crash

10 years agoRevert "fix issue with generator plugins and no-roll disk monitoring"
Robin Gareus [Tue, 30 Jul 2013 01:02:45 +0000 (03:02 +0200)]
Revert "fix issue with generator plugins and no-roll disk monitoring"

This reverts commit bd34ab04cd43ed2f5bf6eebb8b6ea0e0e5cbb727.

10 years agofix issue with generator plugins and no-roll disk monitoring
Robin Gareus [Tue, 30 Jul 2013 00:27:06 +0000 (02:27 +0200)]
fix issue with generator plugins and no-roll disk monitoring

10 years agoMerge branch 'clang-rebased' of https://github.com/axetota/ardour
Paul Davis [Mon, 29 Jul 2013 20:03:50 +0000 (16:03 -0400)]
Merge branch 'clang-rebased' of https://github.com/axetota/ardour

10 years agoReturn an empty string instead of a bool
Michael Fisher [Fri, 19 Jul 2013 22:40:16 +0000 (17:40 -0500)]
Return an empty string instead of a bool

10 years agoCast param for std::time to a pointer of time_t
Michael Fisher [Wed, 17 Jul 2013 21:05:09 +0000 (16:05 -0500)]
Cast param for std::time to a pointer of time_t
- bleeding clang (trunk 186535 v3.4) fails here

10 years agoProper OSX/CLANG/CXX11 support in stl_delete.h
Michael Fisher [Wed, 17 Jul 2013 01:46:46 +0000 (20:46 -0500)]
Proper OSX/CLANG/CXX11 support in stl_delete.h
- replaces fix in 066df0d218ee4391eb3e15259deca5ccc190ed84
- Check if _LIBCPP_VECTOR is defined for vector_delete.
  This is defined in libc++'s headers which Apple is using
  instead of libstdc++

10 years agoHousekeeping, code style
Michael Fisher [Mon, 29 Jul 2013 17:30:37 +0000 (12:30 -0500)]
Housekeeping, code style

10 years agoMoving Mclk locating code to ticker.cc. Housekeeping
Michael Fisher [Mon, 29 Jul 2013 17:19:55 +0000 (12:19 -0500)]
Moving Mclk locating code to ticker.cc. Housekeeping

10 years agoAdd method to send a song position pointer message
Michael Fisher [Sun, 28 Jul 2013 22:18:30 +0000 (17:18 -0500)]
Add method to send a song position pointer message

10 years agoSend a song position pointer with mmc and fullframe fake locating
Michael Fisher [Sun, 28 Jul 2013 22:17:40 +0000 (17:17 -0500)]
Send a song position pointer with mmc and fullframe fake locating

10 years agoAdd relavent OSX midi options in the startup dialog
Michael Fisher [Sun, 28 Jul 2013 19:05:24 +0000 (14:05 -0500)]
Add relavent OSX midi options in the startup dialog
- MIDI driver options are now "None" and "coremidi" on OSX
- If coremidi is selected, jack will start with midi activated
- Requires Jack OSX version 0.90 beta 15 (or another version that
  supports midi

10 years agotweak meterbridge-label height
Robin Gareus [Mon, 29 Jul 2013 18:02:57 +0000 (20:02 +0200)]
tweak meterbridge-label height

10 years agochange default BBC-meter color
Robin Gareus [Mon, 29 Jul 2013 17:43:34 +0000 (19:43 +0200)]
change default BBC-meter color

10 years agofix compiler warning
Robin Gareus [Mon, 29 Jul 2013 17:43:19 +0000 (19:43 +0200)]
fix compiler warning

10 years agouse K-20 meter as default master bus
Robin Gareus [Mon, 29 Jul 2013 17:43:05 +0000 (19:43 +0200)]
use K-20 meter as default master bus

10 years agoadd option to resize meterbridge track-labels
Robin Gareus [Mon, 29 Jul 2013 17:42:41 +0000 (19:42 +0200)]
add option to resize meterbridge track-labels

10 years agoexplicitly re-init meter when theme changes.
Robin Gareus [Mon, 29 Jul 2013 14:31:33 +0000 (16:31 +0200)]
explicitly re-init meter when theme changes.

fixes:
14:14 < oofus> rgareus: BBC meter colour changed, all meters
               except the one on the tool bar picked it up

10 years agochange metric-scale on the sides of meterbridge when scrolling
Robin Gareus [Mon, 29 Jul 2013 13:26:36 +0000 (15:26 +0200)]
change metric-scale on the sides of meterbridge when scrolling

10 years agoallow to configure color of BBC meter
Robin Gareus [Mon, 29 Jul 2013 01:54:43 +0000 (03:54 +0200)]
allow to configure color of BBC meter

10 years agoleft/right meter marks in mixer (narrow red-stripe)
Robin Gareus [Sun, 28 Jul 2013 20:34:28 +0000 (22:34 +0200)]
left/right meter marks in mixer (narrow red-stripe)

10 years agochange default meter-fall-off to 13.3 dB/sec
Robin Gareus [Sun, 28 Jul 2013 19:34:01 +0000 (21:34 +0200)]
change default meter-fall-off to 13.3 dB/sec

10 years agouse 3px for peak-hold in LED mode -> display 2 bright lines
Robin Gareus [Sun, 28 Jul 2013 19:24:27 +0000 (21:24 +0200)]
use 3px for peak-hold in LED mode -> display 2 bright lines

10 years agofix diamond inheritance - gtkmm main class is sigc::trackable
Robin Gareus [Sun, 28 Jul 2013 18:43:21 +0000 (20:43 +0200)]
fix diamond inheritance - gtkmm main class is sigc::trackable

10 years agofix compiler warnings.
Robin Gareus [Sun, 28 Jul 2013 18:32:52 +0000 (20:32 +0200)]
fix compiler warnings.

10 years agotweak meter-LED style
Robin Gareus [Sun, 28 Jul 2013 16:29:39 +0000 (18:29 +0200)]
tweak meter-LED style

10 years agoupdate german translation for libardour
Edgar Aichinger [Sun, 28 Jul 2013 14:50:26 +0000 (16:50 +0200)]
update german translation for libardour

fixes x42's screwup with prev commit.

10 years agoupdate german translation
Edgar Aichinger [Sun, 28 Jul 2013 14:45:42 +0000 (16:45 +0200)]
update german translation

10 years agok-meter +4 marks
Robin Gareus [Sun, 28 Jul 2013 13:55:36 +0000 (15:55 +0200)]
k-meter +4 marks

10 years agofix meterbridge window on OSX
Robin Gareus [Sun, 28 Jul 2013 13:54:13 +0000 (15:54 +0200)]
fix meterbridge window on OSX

10 years agoadd dedicated line-up level for IEC1/DIN meter (15dbFS)
Robin Gareus [Sun, 28 Jul 2013 01:29:16 +0000 (03:29 +0200)]
add dedicated line-up level for IEC1/DIN meter (15dbFS)

10 years agomake LED meter style optional
Robin Gareus [Sun, 28 Jul 2013 01:01:37 +0000 (03:01 +0200)]
make LED meter style optional

10 years agotweak meter-metric red-boxes/stripes
Robin Gareus [Sun, 28 Jul 2013 01:31:34 +0000 (03:31 +0200)]
tweak meter-metric red-boxes/stripes

10 years agoadd red-boxes to meter-marks and fix Nordic scale color
Robin Gareus [Sat, 27 Jul 2013 20:44:38 +0000 (22:44 +0200)]
add red-boxes to meter-marks and fix Nordic scale color

10 years agoupdate meter marks and colors..
Robin Gareus [Sat, 27 Jul 2013 19:26:22 +0000 (21:26 +0200)]
update meter marks and colors..

10 years agoAux-sends do not have a GUI - fixes #5621
Robin Gareus [Sat, 27 Jul 2013 13:02:19 +0000 (15:02 +0200)]
Aux-sends do not have a GUI - fixes #5621

10 years agosome more VU-meter tick marks..
Robin Gareus [Fri, 26 Jul 2013 20:57:39 +0000 (22:57 +0200)]
some more VU-meter tick marks..

10 years agocache shaded meter-background regardless of color
Robin Gareus [Fri, 26 Jul 2013 15:17:05 +0000 (17:17 +0200)]
cache shaded meter-background regardless of color

previously, shaded patterns were assumed to have different colors as well.

10 years agofix meter background redraw issue #5601
Robin Gareus [Fri, 26 Jul 2013 15:10:05 +0000 (17:10 +0200)]
fix meter background redraw issue #5601

10 years agofix typo for 0VU = 8dBu in config
Robin Gareus [Thu, 25 Jul 2013 21:33:11 +0000 (23:33 +0200)]
fix typo for 0VU = 8dBu in config

10 years agocache midi metrics depending on meter-type and data-type(s)
Robin Gareus [Thu, 25 Jul 2013 18:56:25 +0000 (20:56 +0200)]
cache midi metrics depending on meter-type and data-type(s)

10 years agoremember meter-background highlight when type or width changes..
Robin Gareus [Thu, 25 Jul 2013 17:55:26 +0000 (19:55 +0200)]
remember meter-background highlight when type or width changes..

10 years ago[re]implement horizontal meter
Robin Gareus [Thu, 25 Jul 2013 17:04:52 +0000 (19:04 +0200)]
[re]implement horizontal meter

10 years agovtl: replace Ardour with Program-Name in messages
Robin Gareus [Thu, 25 Jul 2013 12:19:28 +0000 (14:19 +0200)]
vtl: replace Ardour with Program-Name in messages

10 years agoprepare horizontal meters (level-meter H/V Box abstraction)
Robin Gareus [Thu, 25 Jul 2013 12:18:39 +0000 (14:18 +0200)]
prepare horizontal meters (level-meter H/V Box abstraction)

10 years agoset midi-metric ticks depending on meter-type
Robin Gareus [Thu, 25 Jul 2013 11:06:58 +0000 (13:06 +0200)]
set midi-metric ticks depending on meter-type

10 years agoVU meter label color&shadow tweak by the_CLA
Robin Gareus [Thu, 25 Jul 2013 09:06:58 +0000 (11:06 +0200)]
VU meter label color&shadow tweak by the_CLA

10 years agotweak label alignment
Robin Gareus [Thu, 25 Jul 2013 09:03:36 +0000 (11:03 +0200)]
tweak label alignment

10 years agoDon't allow to deactivate meter.
Robin Gareus [Thu, 25 Jul 2013 08:59:24 +0000 (10:59 +0200)]
Don't allow to deactivate meter.

before this change:

1) switch to 'custom' meter point,
2) deactivate meter processor.

-> meters does not run regardless of meter-point
-> meter can only be re-nabled in 'custom' mode

10 years agoreset meters only when *really* necessary
Robin Gareus [Thu, 25 Jul 2013 08:53:11 +0000 (10:53 +0200)]
reset meters only when *really* necessary

..and continue to calculate fall-off in
audio-cycle (rather than UI thread)

TODO: check if this works properly when switching
between audio/midi meter modes on a midi-track.

One of the motivations to always reset meters when the
meter-point changes was to resolve peak-hold & fall-off
issues when a midi-meter replaces an audio-meter and vice
versa.

10 years agoproper shadow for metric labels..
Robin Gareus [Thu, 25 Jul 2013 00:08:38 +0000 (02:08 +0200)]
proper shadow for metric labels..

10 years agofix compiler warning
Robin Gareus [Thu, 25 Jul 2013 00:05:10 +0000 (02:05 +0200)]
fix compiler warning

10 years ago'overlay shadow' on meter-metrics experiment
Robin Gareus [Wed, 24 Jul 2013 23:44:16 +0000 (01:44 +0200)]
'overlay shadow' on meter-metrics experiment

TODO: shadow should really be 'behind'. ie save color,
stroke_preserve() shadow, paint text-layout with saved color
and eventually cairo_new_path() reset the path...

10 years agofix crash with "send" meters.
Robin Gareus [Wed, 24 Jul 2013 22:06:12 +0000 (00:06 +0200)]
fix crash with "send" meters.

Meters in send-UI don't necessarily have a route,
but their type cannot be changed, anyway.
So just use "PeakMeter".

10 years agouse only two colors for VU meter indicator and bright-gray for BBC
Robin Gareus [Wed, 24 Jul 2013 21:24:11 +0000 (23:24 +0200)]
use only two colors for VU meter indicator and bright-gray for BBC

10 years agoalign gradient with meter-metrics
Robin Gareus [Wed, 24 Jul 2013 20:57:25 +0000 (22:57 +0200)]
align gradient with meter-metrics

10 years agoreduce brightness of VU meter backplate & increase contrast of peak-label
Robin Gareus [Wed, 24 Jul 2013 20:29:46 +0000 (22:29 +0200)]
reduce brightness of VU meter backplate & increase contrast of peak-label

10 years agoget meter color from gtkrc style file
Robin Gareus [Wed, 24 Jul 2013 20:05:24 +0000 (22:05 +0200)]
get meter color from gtkrc style file

10 years agoadd [master] meter to the toolbar
Robin Gareus [Wed, 24 Jul 2013 20:04:46 +0000 (22:04 +0200)]
add [master] meter to the toolbar

http://tracker.ardour.org/view.php?id=5601

10 years agorevert VU meter background to default gray-shade
Robin Gareus [Wed, 24 Jul 2013 14:14:27 +0000 (16:14 +0200)]
revert VU meter background to default gray-shade

10 years agoincrease saturation of meter-shader
Robin Gareus [Wed, 24 Jul 2013 13:47:01 +0000 (15:47 +0200)]
increase saturation of meter-shader

10 years agofix display-type of editor-mixer level-meter
Robin Gareus [Wed, 24 Jul 2013 14:15:06 +0000 (16:15 +0200)]
fix display-type of editor-mixer level-meter

10 years agoincrease meterbridge with if scrollbar is not visible..
Robin Gareus [Wed, 24 Jul 2013 13:26:40 +0000 (15:26 +0200)]
increase meterbridge with if scrollbar is not visible..

10 years agoadd separator line to meterbridge
Robin Gareus [Wed, 24 Jul 2013 13:47:53 +0000 (15:47 +0200)]
add separator line to meterbridge

10 years agocolor meterbridge strips
Robin Gareus [Wed, 24 Jul 2013 09:59:40 +0000 (11:59 +0200)]
color meterbridge strips

10 years agoamend to 8deccea6 (resize meterbridge window)
Robin Gareus [Wed, 24 Jul 2013 09:57:11 +0000 (11:57 +0200)]
amend to 8deccea6 (resize meterbridge window)

10 years agoallow to en/disable shade and LED meter style
Robin Gareus [Wed, 24 Jul 2013 00:47:37 +0000 (02:47 +0200)]
allow to en/disable shade and LED meter style

10 years agometer background color..
Robin Gareus [Wed, 24 Jul 2013 00:46:53 +0000 (02:46 +0200)]
meter background color..