summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-11-11Refine instrument fan-out:Robin Gareus
* prefix (rather than suffix) portgroup-name * check if group already exists * disconnect targets (when autoconnect preference is enabled) * expose tracks/busses option
2016-11-11Add option to zoom using button press in the time rulers and dragging verticallyTim Mayberry
This is a common operation used for zooming in other DAWs like Ableton Live and Cubase. To support such a usage pattern without changing the existing behaviour of the ruler area I've made it an option that is false by default. The behaviour of RulerDragZoom is intentionally different than a CursorDrag that occurs in the rest of the ruler area in that it doesn't follow the snap to grid setting and no locate related stuff occurs until button release. There are some issues with responsiveness with more than a few hundred regions or a large amount of MIDI events/notes. Implements feature #6768
2016-11-11Use the frame corresponding to the current mouse position when zoom draggingTim Mayberry
Editor::mouse_frame only works within the track canvas. If a zoom drag is initiated and the mouse cursor goes outside of the track canvas the zoom position should still based on the current x position of the cursor.
2016-11-11Change Editor temporal zoom methods to be able to use different scale for ↵Tim Mayberry
the zoom
2016-11-11static MonitorSection Action -- fixes #7098Robin Gareus
ActionManager registered actions are static global and cannot reference an instance (this) directly.
2016-11-11keep meterbridge on topRobin Gareus
2016-11-10Remove a group when the last track in the group is removedRobin Gareus
2016-11-10prevent crash during track-deletion (un-selecting deleted tracks)Robin Gareus
2016-11-10Implement instrument fan-out options (group, track/bus)Robin Gareus
2016-11-10Correct the #includes for 'ardour/midi_cursor.h' (see commit #ec12fccf08)John Emmas
There are a couple of header files where we use a reference to class ARDOUR::MidiCursor (rather than a pointer). To keep MSVC happy we need to #include its header file, rather than simply using a forward reference.
2016-11-11update lua script to follow Region API change.nick_m
2016-11-11remove debugging outputnick_m
2016-11-11remove unused variable and debugging.nick_m
2016-11-11rename Region pos_beats -> quarter_notenick_m
2016-11-11more tempo documentation.nick_m
2016-11-11ensure non-zero midi region length when tempo map changes.nick_m
2016-11-11TempoSection note-types-per-minute node name goes back to beats-per-minute ↵nick_m
for now.
2016-11-11use note_type explicitly when constructing a Tempo in the hope that others ↵nick_m
follow. - should be a no-op
2016-11-11remove recently added xml nodes.nick_m
2016-11-11use frame interval api for empoMap::framepos_plus_qn()nick_m
2016-11-11clarify bbt_at_frame() warning.nick_m
2016-11-11rename note_divisions_per_minute -> ote_types_per_minute (double note_type)nick_m
2016-11-11add empoMap::quarter_notes_between_frames().nick_m
- in an ideal world, this wouldn't be here at all, but is required to support framewalk_to_qn(). if Beats are at tick resolution, the frame-induced temporal rounding is acceptable.
2016-11-11TempoSection::tempo_at methods return a Tempo, document the opposite direction.nick_m
2016-11-11audio units uses quarter_notes_per_minute().nick_m
2016-11-11rename Tempo _beats_per_minute to _note_types_per_minute, provide pulse helpers.nick_m
- adds quarter_notes_per_minute(), note_divisions_per_minute (double) pulses_per_minute() and frames_per_quarter_note() - this should be a no-op except for the use of tempo by the vst callback which definitely uses quarter notes per minute. - the XML node for TempoSection named 'beats-per-minute' has been renamed.
2016-11-11tempo doc explains that currently Tempo::beats_per_minute means something else.nick_m
- Tempo beats_per_minute() is currently implemented as note types per minute. a further patch will change Tempo to reflect this and provide some helpers.
2016-11-11remove commented code.nick_m
2016-11-11more tempo documentation.nick_m
2016-11-11fix lock error in empoMap::quarter_note_at_bbt_rt(), expand constant tempo test.nick_m
2016-11-11remove unused TempoMap::tempo_at_beat(). implement unused ↵nick_m
tempo_at_quarter_note().
2016-11-11tempo.h reorganization. should be a no-opnick_m
2016-11-11more documentation in tempo.cc, fix constant bug in pulse_at_tempo_locked()nick_m
2016-11-11remove remaining frame api from TempoSection.nick_m
2016-11-11remove public pulse methods from TempoMap.nick_m
- the only object whose musical position is not expressed in quarter notes is MetricSection. there is now no need to expose this.
2016-11-11add some documentation for TempoMap.nick_m
2016-11-11clamp setting tempo via vertical drag.nick_m
- a bit suboptimal. we really need the opposite of _trackview_only to prevent jumping to track canvas scrolled coordinates in the first place.
2016-11-11rename Region pulse to pos_beats. use new beat distance api where required.nick_m
- add more debugging output detecting regions whose beat and frame position do not align on a playlist. this is required as a check as we have never used frame rounding on constant tempi before 8884a5723dc
2016-11-11MidiRegion _start/_length beats are frame based only when lock style is ↵nick_m
Audiotime
2016-11-11Refactor tempo api, include quarter-note distance in frames method.nick_m
- moves frame rounding up to TempoMap, which is needed in order to calculate pulse distance without frame rounding. - the time unit for tempo is still minute, but this now also applies to meter sections. (new audio locked meter sections no longer require a frame position). - there is no longer a discontinuity in the pulse for audio-locked meter/tempi. - temporarily add debugging output in Region::set_position() to test for region beat not matching region frame.
2016-11-10Revert "update lua script to follow API change (bb459a2e7d)"Robin Gareus
This reverts commit f09e9347e140d8b0151dd1bf1b5f91e473674699. because the new-midi branch wasn't merged, yet
2016-11-10#include <ardour/midi_cursor.h> in a couple of placesJohn Emmas
I'm not entirely sure why it's needed in 'smf_source.cc' but MSVC fails to link the compiled module if I don't #include it ?!?
2016-11-10Use better debug output in PortaudioBackendTim Mayberry
When failing to open audio stream in callback mode
2016-11-10Fix for conflicting definition of _xgetbv with mingw-w64 >= 5Tim Mayberry
Simplify the #ifdef logic so it is easier to follow and add exceptions in the future if necessary.
2016-11-10Check and link to the pangoft2 module with a mingw build if it existsTim Mayberry
This is necessary when pango has been built without all modules included as bundle_env_mingw.cc uses a function from the pango module and results a linker error: bundle_env_mingw.cc:114: undefined reference to `pango_ft2_font_map_get_type' Minimum pango version is taken from the official build scripts.
2016-11-10Add AU support for output-channel/bus groupingRobin Gareus
2016-11-10don't ship fan-out instrument lua script (but keep it as example)Robin Gareus
2016-11-10C++ implementation of fan_out_instrument.luaRobin Gareus
2016-11-10NO-OP, explanatory commentsRobin Gareus
2016-11-10prototype script to fan out instrument outputs to bussesRobin Gareus