mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-21 06:06:25 +01:00
Add Lua bindings for basic MIDI model editing
This commit is contained in:
parent
392972fb50
commit
0cf75054a6
4 changed files with 100 additions and 16 deletions
|
|
@ -646,3 +646,9 @@ LuaAPI::Vamp::process (const std::vector<float*>& d, ::Vamp::RealTime rt)
|
|||
const float* const* bufs = &d[0];
|
||||
return _plugin->process (bufs, rt);
|
||||
}
|
||||
|
||||
boost::shared_ptr<Evoral::Note<Evoral::Beats> >
|
||||
LuaAPI::new_noteptr (uint8_t chan, Evoral::Beats beat_time, Evoral::Beats length, uint8_t note, uint8_t velocity)
|
||||
{
|
||||
return boost::shared_ptr<Evoral::Note<Evoral::Beats> > (new Evoral::Note<Evoral::Beats>(chan, beat_time, length, note, velocity));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue