![]() |
Ardour
8.12
|
#include <legatize.h>
Public Types | |
typedef Evoral::Sequence< Temporal::Beats >::Notes | Notes |
Public Member Functions | |
Legatize (bool shrink_only) | |
~Legatize () | |
PBD::Command * | operator() (std::shared_ptr< ARDOUR::MidiModel > model, Temporal::Beats position, std::vector< Notes > &seqs) |
std::string | name () const |
![]() | |
MidiOperator () | |
virtual | ~MidiOperator () |
virtual PBD::Command * | operator() (std::shared_ptr< ARDOUR::MidiModel >, Temporal::Beats, std::vector< Evoral::Sequence< Temporal::Beats >::Notes > &)=0 |
Private Attributes | |
bool | _shrink_only |
"Legatize" nodes (extend note ends to force legato).
This can also do "remove overlap" by setting shrink_only to true, in which case note lengths will only be changed if they are long enough to overlap the following note.
Definition at line 37 of file legatize.h.
Definition at line 42 of file legatize.h.
ARDOUR::Legatize::Legatize | ( | bool | shrink_only | ) |
ARDOUR::Legatize::~Legatize | ( | ) |
|
inlinevirtual |
Implements ARDOUR::MidiOperator.
Definition at line 48 of file legatize.h.
PBD::Command* ARDOUR::Legatize::operator() | ( | std::shared_ptr< ARDOUR::MidiModel > | model, |
Temporal::Beats | position, | ||
std::vector< Notes > & | seqs | ||
) |
|
private |
Definition at line 51 of file legatize.h.