summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-05-04fix note-tracking in Editor::write_one_track()Paul Davis
We need a MidiStateTracker to determine notes whose end is not reached during the call to ::write_one_track(), so that we can resolve them in the output (SMF) source. This required some changes to the ::export_stuff() API for tracks. In addition, we now take the source "lock" just once during ::write_one_track() rather than every time we write. This isn't an integral part of the note tracking, but fell out along the way. Finally, note that although we use a vector to handle MIDI "sources" here, it is expected that there is only 1 MIDI source at present. Leave vectors in place since it is possible that ::write_one_track() could be modified in the future to change that.
2020-05-04add some (commented/ifdef'ed) debugging for RTMidiBuffer::read()Paul Davis
2020-05-04no need for return valuePaul Davis
2020-05-04add explanatory commentPaul Davis
2020-05-04slight better warning/debug message for a stuck note to-be-deletedPaul Davis
2020-05-04fix thinko in MidiRegionView::add_to_selection()Paul Davis
The existing code isn't wrong, but inefficient. If the selection is empty, then this is necessarily the first note, and cannot be present in the selection. So, don't search the std::set<> and then insert, just insert.
2020-05-04use RTMidiBuffer API correctly when reading for MidiTrack::export_stuff()Paul Davis
2020-05-04Set de-click reason monitor vs. start/stop.Robin Gareus
Previously use-monitor-fades was unused in A6, and transition between monitoring states used the use-transport-fades preference.
2020-05-04Fix alignment and de-click when monitoring changes while playingRobin Gareus
Previously it was possible that * declick_out = true, * target_gain == 0, cur_gain != 0 (fade out active) * speed != 0, disk_samples_to_consume > 0. So the disk-reader advanced the playback_sample, but since declick_out is active, the read from the ringbuffer was not committed.
2020-05-04Tweak plugin-manager default window width #8079Robin Gareus
2020-05-03Scale plugin-manager default window size #8079Robin Gareus
2020-05-03Fix a compiler warning std::abs vs fabsfRobin Gareus
2020-05-03Fix MIDNAM model (MMA > Generic) fallbackRobin Gareus
2020-05-03Cont'd work on ALSA nperiods (amend 2326fb163)Robin Gareus
2020-05-01more improvements in visual representation of selected MIDI notes during ↵Paul Davis
(and not during) internal editing
2020-05-01change design of MidiRegionView::add_to_selection() so that the rubber-band ↵Paul Davis
select works again Adding the first note trigged Editor::set_selected_midi_region_view() which cleared the (newly added to) selection
2020-05-01attempt to properly manage MIDI note display of selected statusPaul Davis
Whether to display the selected outline depends on BOTH whether the note is selected, and whether we are in an internal editing mode.
2020-05-01move virtual method from region_view.h to region_view.ccPaul Davis
It cannot be inlined anyway, so nothing gained by the header file presence
2020-05-01when a MIDI region has a note selected with none previously, cancel existing ↵Paul Davis
MIDI region/note selection
2020-05-01ALSA: only read/clear user-requested nperiods before snd_pcm_startRobin Gareus
This should fix excessive latency with the RayDay that has a fixed buffersize of 16384 samples.
2020-05-01force provision of "menu-name" for all WindowProxy objects, and thus TabbablesPaul Davis
Actions for hide/show/attach/detach tabbables use hard-coded names which are not translated. Using Tabbable/WindowProxy::name() to lookup the action will fail, since the name can be translated. This changes just removes the option to not provide a menu-name when creating these objects, and uses the name menu-name when looking up an action by name
2020-05-01Fix contents-drag (ignore snap) #8073Robin Gareus
The "new" snap-to-visual-grid mechanism is not useful for Contents-trim. That would require a relative grid.
2020-05-01set LC_ALL from macOS locale so that setlocale(2) will workPaul Davis
2020-05-01fix apple use of - instead of _ in language identifiers; only set LANGUAGE ↵Paul Davis
if the language preferences are translatable
2020-05-01notice if macOS user has en_US as primary languagePaul Davis
2020-05-01remove hard to understand and incorrect comment sentencePaul Davis
2020-05-01tell stdout if setlocale(2) failsPaul Davis
2020-05-01remove unusued SAE build target from osx_buildPaul Davis
2020-05-01make with-NLS be the default for Mac buildsPaul Davis
It already was for mixbus, but not for ardour
2020-04-30Prototype an A/B x-fade pluginRobin Gareus
2020-04-30remove debug outputPaul Davis
2020-04-30update other .po filesPaul Davis
2020-04-30fix context-providing translation for de_DE where the context string had ↵Paul Davis
been left in the the translation
2020-04-30use PROGRAM_NAME to name GUI threadPaul Davis
2020-04-30fix 52b906651180 (incorrect logic). Restores audio playback from diskPaul Davis
2020-04-30Set Arodur's main thread name to include "Ardour"Robin Gareus
This is helpful when debugging by PID (adevices.sh most notably), just "gui" is not usually helpful.
2020-04-30ALSA: set start threshold to zeroRobin Gareus
2020-04-30Another step towards nperiod fixes for the RayDayRobin Gareus
2020-04-29only activate MIDI editing bindings if in actual internal edit mode.Paul Davis
Draw mode does not as internal editing for these purposes
2020-04-30Update script menu in the wake of 95932f92deRobin Gareus
2020-04-29Tweak ALSA nperiod setting, fallback to nearestRobin Gareus
This is mainly for RME RayDAT that has a fixed buffersize of 16k: dev_name : hw:HDSPMxc2f6c5,0 channels : 36 min_rate : 32000 max_rate : 192000 min_bufz : 16384 max_bufz : 16384 min_nper : 4 max_nper : 512 However nperiod configuration determines the effective latency regardless. This is similar to https://github.com/jackaudio/jack1/blob/master/drivers/alsa/alsa_driver.c#L476-L486
2020-04-29do not set declick_amp's gain for declick out during export of MIDI-only tracksPaul Davis
When export is done, nothing a MIDI-only track will reduce the gain ("goto midi" inside DiskReader::run() and the "declick-in-progress" state will be permanent
2020-04-29Clarify --help message, fix punctuation and indentRobin Gareus
2020-04-29Add "exit-when-halted" halted option for arluaRobin Gareus
This is useful when when the ardour-lua is started by a command based wrapper that cannot poll the engine state.
2020-04-29NO-OP: whitespaceRobin Gareus
2020-04-29Add/remove source(s) in our MSVC project (midi++2)John Emmas
2020-04-29Allow to refresh ALSA device list - #8051Robin Gareus
2020-04-29ALSA: set min/max sizes before the debug messageRobin Gareus
2020-04-28Update Japanese translation for 6.0Hiroki Inagaki
2020-04-28Clarify source-tree doc: libsmf is used inside libevoralRobin Gareus
This partially reverts 990afec2e