Ardour  9.0-pre0-582-g084a23a80d
ARDOUR::Legatize Class Reference

#include <legatize.h>

Inheritance diagram for ARDOUR::Legatize:
[legend]

Public Types

typedef Evoral::Sequence< Temporal::Beats >::Notes Notes
 

Public Member Functions

 Legatize (bool shrink_only)
 
 ~Legatize ()
 
PBD::Commandoperator() (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::Commandoperator() (std::shared_ptr< ARDOUR::MidiModel >, Temporal::Beats, std::vector< Evoral::Sequence< Temporal::Beats >::Notes > &)=0
 

Private Attributes

bool _shrink_only
 

Detailed Description

"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.

Member Typedef Documentation

◆ Notes

Constructor & Destructor Documentation

◆ Legatize()

ARDOUR::Legatize::Legatize ( bool  shrink_only)

◆ ~Legatize()

ARDOUR::Legatize::~Legatize ( )

Member Function Documentation

◆ name()

std::string ARDOUR::Legatize::name ( ) const
inlinevirtual

Implements ARDOUR::MidiOperator.

Definition at line 47 of file legatize.h.

◆ operator()()

PBD::Command* ARDOUR::Legatize::operator() ( std::shared_ptr< ARDOUR::MidiModel model,
Temporal::Beats  position,
std::vector< Notes > &  seqs 
)

Member Data Documentation

◆ _shrink_only

bool ARDOUR::Legatize::_shrink_only
private

Definition at line 50 of file legatize.h.


The documentation for this class was generated from the following file: