ardour
Public Types | Public Member Functions | Private Attributes | List of all members
ARDOUR::Legatize Class Reference

#include <legatize.h>

Inheritance diagram for ARDOUR::Legatize:
ARDOUR::MidiOperator

Public Types

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

Public Member Functions

 Legatize (bool shrink_only)
 
 ~Legatize ()
 
Commandoperator() (boost::shared_ptr< ARDOUR::MidiModel > model, Evoral::Beats position, std::vector< Notes > &seqs)
 
std::string name () const
 
- Public Member Functions inherited from ARDOUR::MidiOperator
 MidiOperator ()
 
virtual ~MidiOperator ()
 
virtual Commandoperator() (boost::shared_ptr< ARDOUR::MidiModel >, Evoral::Beats, std::vector< Evoral::Sequence< Evoral::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 37 of file legatize.h.

Member Typedef Documentation

Definition at line 42 of file legatize.h.

Constructor & Destructor Documentation

ARDOUR::Legatize::Legatize ( bool  shrink_only)

Definition at line 25 of file legatize.cc.

ARDOUR::Legatize::~Legatize ( )

Definition at line 29 of file legatize.cc.

Member Function Documentation

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

Implements ARDOUR::MidiOperator.

Definition at line 48 of file legatize.h.

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

Definition at line 33 of file legatize.cc.

Member Data Documentation

bool ARDOUR::Legatize::_shrink_only
private

Definition at line 51 of file legatize.h.


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