63 return Variant(g_random_double());
73 const Variant a = arg.eval(ctx);
125 std::vector<Notes>& seqs)
129 Command* cmd =
new Command(model,
name());
131 for (std::vector<Notes>::iterator s = seqs.begin(); s != seqs.end(); ++s) {
134 for (Notes::const_iterator i = (*s).begin(); i != (*s).end(); ++i) {
138 ctx.
stack = std::stack<Variant>();
140 for (std::list<Operation>::const_iterator o =
_prog.
ops.begin();
147 if (!ctx.
stack.empty() && !!ctx.
stack.top()) {
static Variant get_value(const NotePtr note, Property prop)
size_t n_notes
Total number of notes to process.
std::stack< Variant > stack
The stack of everything.
size_t index
Index of current note.
NotePtr prev_note
Previous note.
LIBARDOUR_API PBD::PropertyDescriptor< framepos_t > position
NotePtr this_note
Current note.