namespace ARDOUR {
-class Session;
-
class LIBARDOUR_API Quantize : public MidiOperator {
public:
- Quantize (ARDOUR::Session&, bool snap_start, bool snap_end,
+ Quantize (bool snap_start, bool snap_end,
double start_grid, double end_grid,
float strength, float swing, float threshold);
~Quantize ();
Command* operator() (boost::shared_ptr<ARDOUR::MidiModel>,
- double position,
- std::vector<Evoral::Sequence<Evoral::MusicalTime>::Notes>&);
+ Temporal::Beats position,
+ std::vector<Evoral::Sequence<Temporal::Beats>::Notes>&);
std::string name() const { return std::string ("quantize"); }
private:
- ARDOUR::Session& session;
bool _snap_start;
bool _snap_end;
double _start_grid;