Ardour
9.0-pre0-582-g084a23a80d
|
#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 |
Public Member Functions inherited from ARDOUR::MidiOperator | |
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 36 of file legatize.h.
Definition at line 41 of file legatize.h.
ARDOUR::Legatize::Legatize | ( | bool | shrink_only | ) |
ARDOUR::Legatize::~Legatize | ( | ) |
|
inlinevirtual |
Implements ARDOUR::MidiOperator.
Definition at line 47 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 50 of file legatize.h.