Johannes Mueller
8bef7623eb
Expose record enable/disable to Lua bindings
2016-09-06 22:27:31 +02:00
c9ece0d6c6
use moved version of reset_focus()
2016-09-06 16:17:39 -04:00
07bb5ff347
move kbd focus reset method into ARDOUR_UI where it (probably) belongs
2016-09-06 16:17:08 -04:00
cooltehno
755010f254
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.
2016-09-06 15:43:40 -04:00
bfd0f321f6
use existing Editor::reset_focus() method to reset focus after audio clock editing is done
2016-09-06 15:40:22 -04:00
ff4e9cc1df
do not set the focus widget to be a toplevel window in Editor::reset_focus.
...
See comments in code for the reason why
2016-09-06 15:39:50 -04:00
nick_m
ab21b241f7
Fix incorrect estimate of future revision.
2016-09-07 00:32:02 +10:00
nick_m
fb9f4636e7
Remove unused variable.
2016-09-07 00:27:01 +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
a4d67279e0
Fix graphical issues in tempo curve.
2016-09-04 03:18:12 +10:00
cbd310ef65
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.
2016-09-02 10:39:23 -05: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
d7879486a0
Ensure the correct position is passed to MidiRegionView::get_grid_beats().
2016-09-02 05:18:53 +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
e689182a6a
Editor::get_grid_type_as_beats() returns the quarter note equivalent of BBT beat and bar.
2016-09-02 05:11:54 +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
ab76a49b22
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.
2016-09-01 12:31:33 +01: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
34e234825e
No-op - rename var in MidiRegionView::note_dropped().
2016-08-31 23:12:11 +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
dbb9e8cc31
NoteCreateDrag uses quarter-notes.
2016-08-31 23:12:11 +10:00
nick_m
c0f89e99a2
MidiRegionView uses quarter note snapping.
...
- also ensures poiinter ghost note respects the snap modifier.
2016-08-31 23:12:11 +10:00
nick_m
086096b465
Use quarter-note based 'beat' when snapping.
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
9ada4fcc0f
and another SNAFU...
2016-08-30 23:54:25 +02:00
d4f4342bb2
fix jump out of local scope
2016-08-30 23:41:07 +02:00
43078f7e88
correct comments and avoid /={4+}/
2016-08-30 23:20:32 +02:00
Thomas Brand
f4751f1018
-put method print_help() inside factory() (!) -nop / add comments
...
Signed-off-by: Thomas Brand <tom@trellis.ch>
2016-08-30 23:16:16 +02:00
557bbcbfe7
tom's loop: fix arguments to add_region()
2016-08-30 20:42:27 +02:00
Thomas Brand
5ccfe6feae
-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>
2016-08-30 20:36:08 +02: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
b7e8d6f131
NOOP: whitespace
2016-08-29 06:38:48 -04:00
95e3f7663e
improved (more general) fix for preferences window visibility
2016-08-29 06:38:34 -04:00