182e35235c
debug output formatting
2016-09-13 14:11:29 -05:00
e942c389a7
do not call MidiRingBuffer::skip_to() when getting a MidiDiskstream's playback buffer, and do not use port offset to shift data in time either (it should be correct)
2016-09-13 14:11:29 -05:00
4fa0e3ee90
make MidiBuffer::read_from() use "dst_offset" correctly to alter the time of events read from the MidiBuffer
2016-09-13 14:11:29 -05:00
e05cb11bb0
extend Evoral::Range<T> to offer ::length() and ::squish()
...
The latter maps a T into a range, using loop semantics
2016-09-13 14:11:29 -05:00
c578fc724b
add back event offsetting into MidiRingBuffer::read() (even if we never really use it)
2016-09-13 14:11:29 -05:00
1389fa9e22
NOOP: spacing and indentation
2016-09-13 14:11:29 -05:00
d5984c6c15
show "this" in MidiRingBuffer::dump()
2016-09-13 14:11:29 -05:00
6e59ff4229
slight DEBUG_TRACE enhancement for MidiPort::flush_buffers() output
2016-09-13 14:11:29 -05:00
e16d8637f8
NO-OP: indentation
2016-09-13 14:11:29 -05:00
fbc8504f9e
Delivery::run() now offsets data delivered to MIDI ports by the global port offset
...
if the output is then re-used, MIDI data is readjusted to not use the global port offset
2016-09-13 14:11:29 -05:00
ab160ca748
use class-static method rather than pretend there is a per-member value for Port::port_offset()
2016-09-13 14:11:29 -05:00
21b919c210
provide Session::declick_out_pending()
2016-09-13 14:11:29 -05:00
368a091acd
second part of: change offset arguments to various <T>Buffer::read/merge methods from framecnt_t to frameoffset_t
2016-09-13 14:11:29 -05:00
b32ca9e9d9
change offset arguments to various <T>Buffer::read/merge methods from framecnt_t to frameoffset_t
2016-09-13 14:11:29 -05:00
22a9031713
add a new DEBUG enum for MidiRingBuffer
2016-09-13 14:11:29 -05:00
f57e2f2fbe
add option to skip unzipping bundled demo sessions
2016-09-13 18:53:29 +02:00
53ee3e2e72
Add support for built-in file/url unzip/untar
...
This introduces new build-dependency: libarchive
(http://www.libarchive.org/ )
2016-09-13 16:14:40 +02:00
af15cf9ef7
Remove duplicate header include from libardour source file
2016-09-13 14:55:02 +10:00
d4a64299c5
Add missing header include guards in canvas library
2016-09-13 14:32:22 +10:00
937a175898
Put ARDOUR::SystemExec implementation inside ARDOUR namespace in source file
2016-09-13 14:32:22 +10:00
6c2aa7ffc5
Add missing include guards in libardour header files
2016-09-13 14:31:35 +10:00
Johannes Mueller
5eaec8c82d
Expose Location::name() to Lua
2016-09-12 12:03:16 +02:00
656b3b9c28
Add a Lua wrapper to Glib::build_filename()
2016-09-12 12:02:07 +02:00
Johannes Mueller
e54ae02170
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.
2016-09-12 11:10:40 +02:00
Thomas Brand
98d9887adb
add request_play_loop() & get_play_loop() to luabindings
2016-09-12 11:08:37 +02:00
f91e591f40
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.
2016-09-11 21:24:56 +10:00
dbf86a495b
for files imported without copy, _origin is a full path. We should use this when looking for the file at session load
2016-09-07 12:38:39 -04:00
9faf3e5556
correct comment for FileSource::find()
2016-09-07 12:22:15 -04:00
Johannes Mueller
8bef7623eb
Expose record enable/disable to Lua bindings
2016-09-06 22:27:31 +02:00
nick_m
ab21b241f7
Fix incorrect estimate of future revision.
2016-09-07 00:32:02 +10:00
nick_m
3f4d49fd2f
Load midi region length and start correctly in sessions modified by v5.0 -> 5.3-41
2016-09-07 00:18:35 +10:00
d6e0e75f3c
remove duplicate enum -- copy/paste typo
2016-09-06 01:31:55 +02:00
c432c81148
expose PeakMeter Lua bindings
2016-09-06 01:26:47 +02:00
nick_m
5186c69bac
Set start_pulse and length_pulse from state, neither need to be a PBD::Property.
2016-09-06 00:04:00 +10:00
nick_m
74a604d261
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 e82482e8e9
and a4d67279e0
and maintains the old definition of Tempo::pulses_per_minute()
2016-09-05 16:28:46 +10:00
nick_m
dd7c0cca6c
Sanity check for TempoMap::get_grid ()
2016-09-04 04:19:34 +10:00
nick_m
921024b79f
Revert part of d50df82799
.
2016-09-04 03:19:13 +10:00
nick_m
d50df82799
Fix various paste errors in tempo.cc. Should fix recent regressions.
2016-09-03 01:22:41 +10:00
nick_m
658699e318
Use the stored beat to recalculate pulse when setting position as sub_num is irrelevent.
2016-09-02 05:13:53 +10:00
nick_m
46858a2925
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.
2016-09-02 05:10:32 +10:00
22d1f1268b
OSC: don't restore User preset before writing new one
2016-08-31 19:56:48 -07:00
nick_m
4a953174c3
Attempt to clarify tempo map comments.
2016-09-01 04:01:29 +10:00
nick_m
d05bfa7206
Revert 894cdb6f5c
.
...
- once again we snap to BBT beats when snapping to 'beat'.
2016-09-01 02:43:29 +10:00
nick_m
894cdb6f5c
Snap to beat snaps to quarter note.
2016-09-01 01:35:53 +10:00
nick_m
b2190cc4ff
TempoMap::pulse_at_frame() handles separated musical sections as per beat_at_frame().
2016-08-31 23:12:11 +10:00
nick_m
e82482e8e9
Fix incorrect inclusion of note_type in Tempo::pulses_per_minute().
2016-08-31 23:12:11 +10:00
nick_m
5113a492e0
Keep region beat and pulse separated, ensure pulse is updated when setting position.
2016-08-31 23:12:11 +10:00
nick_m
16ae7d9a6d
Fix incorrect start_pulse in MidiRegion copy-with-offset ctor.
2016-08-31 23:12:11 +10:00
nick_m
11a68f7dd3
Amend f3c0c1a865 (Add quarter-note position methods).
2016-08-31 23:12:11 +10:00
nick_m
15045a2228
BeatsFramesConverter uses quarter-note 'beat' position.
2016-08-31 23:12:11 +10:00
nick_m
395183ee7b
Add quarter-note position methods to TempoMap.
2016-08-31 23:12:11 +10:00
nick_m
21054f6d8d
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
2016-08-31 23:12:11 +10:00
nick_m
2c7a5815ee
Add start_pulse and length_pulse to midi region for beat/note separation.
2016-08-31 23:12:11 +10:00
nick_m
c0344db37a
Add a pulse property to region.
...
- separates ardour beat (meter-based) and note (pulse-based)
musical position.
2016-08-31 23:12:11 +10:00
0ff233d234
Update our MSVC project files to generate the most recent Ardour session file format (ver 5) rather than the older v3 format
2016-08-30 07:15:00 +01:00
350282598c
Change (slightly) the previous modification to 'fluidsynth/config.h'
2016-08-28 13:54:16 +01:00
355fa64c79
fix Coreaudio Aggregate for separate devices with identical names
2016-08-28 13:44:30 +02:00
eeee70c32d
undo modifications to upstream fluidsynth code
2016-08-28 13:23:18 +02:00
ffb3e9bb21
fix lv2 ttl
2016-08-28 13:18:48 +02:00
b90cfa7e39
Configure the new 'fluidsynth' library to be buildable with MSVC
...
(haven't built any fluidsynth plugins yet)
2016-08-28 10:31:43 +01:00
4d7eb04cf6
Fix a crash when toggling back and forth between a generic plugin GUI window and a VST plugin's own GUI
2016-08-28 10:26:02 +01:00
a3d2521b25
Accommodate newly introduced source(s) in our MSVC project (ardour_osc)
2016-08-28 10:20:56 +01:00
c6ef3a75d3
backwards compatible a-comp stereo sidechain ports
2016-08-27 18:08:46 +02:00
81542d20aa
No discrimination against systems which don't have a PI define
2016-08-27 17:20:27 +02:00
f814e68e30
Prepare a-comp for click-free bypass/enable
2016-08-27 17:14:49 +02:00
d6952445ce
click-free a-delay bypass/enable
2016-08-27 16:59:15 +02:00
0fa1123f82
NO-OP clean up plugin ttl
2016-08-27 16:01:16 +02:00
c64b8662a6
fix copy/paste typo in 1d7c14496
2016-08-27 15:53:38 +02:00
62de4d0c31
add NaN/Inf protection now that bypass no longer de/activates
2016-08-27 14:10:51 +02:00
36776bafcd
click-free a-reverb bypass
2016-08-27 14:09:47 +02:00
935fd3b32f
Add automatable click-free bypass/enable feature to a-eq
2016-08-27 13:23:25 +02:00
0189edcfb9
Expose PluginInfo bindings (eg plugin-type, unique id, etc)
...
processor:to_insert():plugin(0):get_info().type
2016-08-26 19:04:07 +02:00
a4da0747e1
allow to access data-members in weak/shared ptr classes
2016-08-26 19:01:09 +02:00
1d7c144967
add "sameinstance()" lua binding for all shared/weak ptrs
2016-08-26 18:25:15 +02:00
d696363021
Add Lua bindings for ProcessorVector (really ProcSelection)
2016-08-26 03:21:05 +02:00
f582f8595f
increase pre-allocated Lua DSP memory pool size to 3MB
...
...now that bindings alone need approx 700K and some more complex DSP
scripts are showing up 2MB is not much :(
2016-08-26 01:47:05 +02:00
c9f0657c86
tweak lua GC (once again)
...
fixes OOM with extreme automation in HP/LP.
2016-08-26 01:18:48 +02:00
fa36ea6695
remove unneeded includes that may break with winegcc
2016-08-25 22:29:50 +02:00
48d085a569
wine-gcc hacks -- fixes #6984
2016-08-25 21:36:02 +02:00
aee5d24cfa
a reverb is a reverb is a reverb
2016-08-24 23:45:02 +02:00
bd77b605f6
add missing include
2016-08-24 23:06:52 +02:00
d6e27bd439
fix copy/paste mistake
2016-08-24 22:46:36 +02:00
af786cf444
NO-OP: whitespace
2016-08-24 22:39:44 +02:00
ef59ea849b
lessons learned from a-fluidsynth
2016-08-24 22:37:20 +02:00
7ccbc0ca73
OSC: Add preset loading to OSC GUI
2016-08-24 10:07:21 -07:00
427d9f888a
reduce initial fluidsynth load
2016-08-24 17:51:15 +02:00
7bdf4e12ba
Take process-lock before processor-lock
...
This [hopefully] fixes jack1 zombification on session-load with large
plugin-states. Previously it was possible to block
Route::process_output_buffers().
2016-08-24 17:21:43 +02:00
953b8ac99f
prevent a unlikely race: concurrent restore() + work_response ()
2016-08-24 15:38:36 +02:00
f5602adfe8
tweak a-fluidsynth reinit strategy.
...
reset synth in offline thread, queue panic on deactivate to be
called in run() after first re-activate.
Initial activation does not warrant a panic.
2016-08-24 13:05:47 +02:00
8a3b246bb3
strip down libfluidsynth a bit more
2016-08-24 13:05:47 +02:00
aa349d3f8c
add support for reverb & chorus in a-fluidsynth
2016-08-24 05:33:18 +02:00
8da58c3da0
ARDOUR::FluidSynth automatically assign first 16 channels
2016-08-24 05:31:30 +02:00
870cb19737
a-fluidsynth
2016-08-24 03:18:14 +02:00
30afda5536
properly fix copy/paste typos
2016-08-24 02:26:39 +02:00
07653e13d8
fluidsynth 1.1.6 actually
2016-08-24 02:21:30 +02:00
3ab4f7ef82
fix windows build/runtime
2016-08-23 22:58:03 +02:00
5d597cdfeb
add FluidSynth Lua Bindings
2016-08-23 22:21:03 +02:00
2d5166606b
add basic libardour wrapper for fluidsynth (for Lua bindings)
2016-08-23 22:21:03 +02:00
ac05f05023
Import libfluidsynth into the Ardour codebase
2016-08-23 22:21:03 +02:00
nick_m
88f723e8d8
Tempo marker movement snaps to the future grid, rather than the current one.
...
- fixes jittery tempo movement when snapping within large gradients.
2016-08-24 03:38:46 +10:00