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

#include <quantize.h>

Inheritance diagram for ARDOUR::Quantize:
[legend]

Public Member Functions

 Quantize (bool snap_start, bool snap_end, Temporal::Beats start_grid, Temporal::Beats end_grid, float strength, float swing, Temporal::Beats const &threshold)
 
 ~Quantize ()
 
PBD::Commandoperator() (std::shared_ptr< ARDOUR::MidiModel >, Temporal::Beats position, std::vector< Evoral::Sequence< Temporal::Beats >::Notes > &)
 
std::string name () const
 
bool empty () const
 
Temporal::Beats start_grid () const
 
Temporal::Beats end_grid () const
 
void set_start_grid (Temporal::Beats const &)
 
void set_end_grid (Temporal::Beats const &)
 
- Public Member Functions inherited from ARDOUR::MidiOperator
 MidiOperator ()
 
virtual ~MidiOperator ()
 

Private Attributes

bool _snap_start
 
bool _snap_end
 
Temporal::Beats _start_grid
 
Temporal::Beats _end_grid
 
float _strength
 
float _swing
 
Temporal::Beats _threshold
 

Detailed Description

Definition at line 28 of file quantize.h.

Constructor & Destructor Documentation

◆ Quantize()

ARDOUR::Quantize::Quantize ( bool  snap_start,
bool  snap_end,
Temporal::Beats  start_grid,
Temporal::Beats  end_grid,
float  strength,
float  swing,
Temporal::Beats const &  threshold 
)

◆ ~Quantize()

ARDOUR::Quantize::~Quantize ( )

Member Function Documentation

◆ empty()

bool ARDOUR::Quantize::empty ( ) const
inline

Definition at line 39 of file quantize.h.

◆ end_grid()

Temporal::Beats ARDOUR::Quantize::end_grid ( ) const
inline

Definition at line 42 of file quantize.h.

◆ name()

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

Implements ARDOUR::MidiOperator.

Definition at line 38 of file quantize.h.

◆ operator()()

PBD::Command* ARDOUR::Quantize::operator() ( std::shared_ptr< ARDOUR::MidiModel ,
Temporal::Beats  position,
std::vector< Evoral::Sequence< Temporal::Beats >::Notes > &   
)
virtual

Implements ARDOUR::MidiOperator.

◆ set_end_grid()

void ARDOUR::Quantize::set_end_grid ( Temporal::Beats const &  )

◆ set_start_grid()

void ARDOUR::Quantize::set_start_grid ( Temporal::Beats const &  )

◆ start_grid()

Temporal::Beats ARDOUR::Quantize::start_grid ( ) const
inline

Definition at line 41 of file quantize.h.

Member Data Documentation

◆ _end_grid

Temporal::Beats ARDOUR::Quantize::_end_grid
private

Definition at line 50 of file quantize.h.

◆ _snap_end

bool ARDOUR::Quantize::_snap_end
private

Definition at line 48 of file quantize.h.

◆ _snap_start

bool ARDOUR::Quantize::_snap_start
private

Definition at line 47 of file quantize.h.

◆ _start_grid

Temporal::Beats ARDOUR::Quantize::_start_grid
private

Definition at line 49 of file quantize.h.

◆ _strength

float ARDOUR::Quantize::_strength
private

Definition at line 51 of file quantize.h.

◆ _swing

float ARDOUR::Quantize::_swing
private

Definition at line 52 of file quantize.h.

◆ _threshold

Temporal::Beats ARDOUR::Quantize::_threshold
private

Definition at line 53 of file quantize.h.


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