13
0
Commit Graph

22348 Commits

Author SHA1 Message Date
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
97246e501b Revert "apparent fix for preferences window visibility"
This reverts commit 9d6d9c6501.
2016-08-29 06:37:45 -04:00
9d6d9c6501 apparent fix for preferences window visibility 2016-08-29 06:35:45 -04:00
7336a05110 fix focus-on-clock action 2016-08-28 09:05:31 -04:00
350282598c Change (slightly) the previous modification to 'fluidsynth/config.h' 2016-08-28 13:54:16 +01:00
df4e6c4fcc update fluidsynth patch for MSVC 2016-08-28 13:47:12 +02: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
845fb839e8 Fix a crash when we display the 'Plugin Analysis' window (in a generic plugin GUI window) and then close the GUI 2016-08-28 10:23:57 +01:00
a3d2521b25 Accommodate newly introduced source(s) in our MSVC project (ardour_osc) 2016-08-28 10:20:56 +01:00