Commit Graph

128 Commits

Author SHA1 Message Date
Robin Gareus 62672fa259 add another useful PluginInsert binding 2016-12-06 00:22:24 +01:00
Robin Gareus ed5a46d214 Fixup 08fffef (consistent class name) 2016-12-05 23:49:19 +01:00
Robin Gareus 7f9befae2d Add Lua bindings to manage Groups 2016-12-05 23:49:19 +01:00
David Robillard 08fffeffec Remove Evoral::MIDIEvent
It is slightly questionable whether type specific methods like
velocity() belong on Event at all, these may be better off as free
functions.  However the code currently uses them as methods in many
places, and it seems like a step in the right direction, since, for
example, we might some day have events that have a velocity but aren't
stored as MIDI messages (e.g. if Ardour uses an internal musical model
that is more expressive).

In any case, the former inheritance and plethora of sloppy casts is
definitely not the right thing.
2016-12-03 15:18:21 -05:00
Robin Gareus 33a67c26be Allow to call ARDOUR.DSP Lua functions from UI scripts 2016-11-19 21:56:52 +01:00
nick_m d9dea0a3aa rename Region pos_beats -> quarter_note 2016-11-11 03:37:08 +11:00
nick_m b025f8e42a rename note_divisions_per_minute -> ote_types_per_minute (double note_type) 2016-11-11 03:37:08 +11:00
nick_m 33e95a1577 rename Tempo _beats_per_minute to _note_types_per_minute, provide pulse helpers.
- adds quarter_notes_per_minute(), note_divisions_per_minute (double)
	  pulses_per_minute() and frames_per_quarter_note()

	- this should be a no-op except for the use of tempo by
	  the vst callback which definitely uses quarter notes per minute.

	- the XML node for TempoSection named 'beats-per-minute'
	  has been renamed.
2016-11-11 03:37:08 +11:00
nick_m dca96d8b5d rename Region pulse to pos_beats. use new beat distance api where required.
- add more debugging output detecting regions whose
	  beat and frame position do not align on a playlist.
	  this is required as a check as we have never used
	  frame rounding on constant tempi before 8884a5723dc
2016-11-11 03:37:08 +11:00
Robin Gareus da937cf1a4 Grow luabindings
* expose Route IOs, Panner and Instrument
* add plugin + processor ChanCount
* bind IOPortDescription
* remove Port::**(Port*) API because there's no Port* but only
boost::shared_ptr<Port>
2016-11-10 01:32:02 +01:00
Robin Gareus 07ee9b6164 Source and AudioSource Lua bindings 2016-10-15 21:27:29 +02:00
Robin Gareus c60b4ff4cb add missing symbol for windows compile 2016-10-11 19:55:35 +02:00
Robin Gareus 0517e186c7 Add Lua-bindings for inter-processor communication 2016-10-10 17:34:18 +02:00
Robin Gareus f58cf226e0 Add some more midi-region BBT lua-bindings 2016-10-09 16:33:46 +02:00
Robin Gareus b497bb9db4 fix namespace inconsistency 2016-10-07 20:01:04 +02:00
Robin Gareus 5c06e3199c fix typo in 0cf75054 2016-10-07 13:54:20 +02:00
Robin Gareus bf6b8d76f4 Add tempo-map Lua bindings 2016-10-07 02:38:56 +02:00
Robin Gareus 0cf75054a6 Add Lua bindings for basic MIDI model editing 2016-10-07 00:23:33 +02:00
Robin Gareus 5915f8dac0 cont'd work on Vamp/Lua bindings 2016-10-06 17:49:16 +02:00
Robin Gareus 22f342c8d8 add API to list Vamp Plugins 2016-10-05 13:23:39 +02:00
Robin Gareus 974ecc0292 NO-OP sort class-keys (for windows builds, luabridge) 2016-10-04 21:50:37 +02:00
Robin Gareus a51daedbe6 Vamp::Plugins::process Lua bindings 2016-10-04 21:31:29 +02:00
Robin Gareus 408e4abf79 use typedef'ed types (avoid comma in CPP macro) 2016-10-04 00:24:22 +02:00
Robin Gareus c0e669f19c add static ClassKey for windows linking 2016-10-03 23:47:50 +02:00
Robin Gareus f6b59676b5 cont'd work on Lua Vamp-plugin API 2016-10-03 18:26:16 +02:00
Robin Gareus 330e69b565 Add Vamp-plugin Lua bindings (work in progress) 2016-10-03 03:52:51 +02:00
Robin Gareus 140c4bb115 re-do previous commit
* do not include _by_name() API. Port names are locale dependent
* proper whitespace (after comma, before bracket) and styleguide
2016-09-16 22:35:27 +02:00
Robin Gareus 2b8979647b Revert "Add convenience Lua bindings to access plugin controls"
This reverts commit faf4438646.
2016-09-16 22:31:43 +02:00
Thomas Brand faf4438646 Add convenience Lua bindings to access plugin controls 2016-09-16 22:09:05 +02:00
Johannes Mueller 5eaec8c82d Expose Location::name() to Lua 2016-09-12 12:03:16 +02:00
Robin Gareus 656b3b9c28 Add a Lua wrapper to Glib::build_filename() 2016-09-12 12:02:07 +02:00
Johannes Mueller e54ae02170 Expose `Locations::remove()` to Lua
Clearing location markers is a frequent task and should be automizable. For
example it is handy to clear all the markers when restarting the recording
from scratch after a failed recording.
2016-09-12 11:10:40 +02:00
Thomas Brand 98d9887adb add request_play_loop() & get_play_loop() to luabindings 2016-09-12 11:08:37 +02:00
Johannes Mueller 8bef7623eb Expose record enable/disable to Lua bindings 2016-09-06 22:27:31 +02:00
Robin Gareus d6e0e75f3c remove duplicate enum -- copy/paste typo 2016-09-06 01:31:55 +02:00
Robin Gareus c432c81148 expose PeakMeter Lua bindings 2016-09-06 01:26:47 +02:00
Robin Gareus 0189edcfb9 Expose PluginInfo bindings (eg plugin-type, unique id, etc)
processor:to_insert():plugin(0):get_info().type
2016-08-26 19:04:07 +02:00
Robin Gareus d696363021 Add Lua bindings for ProcessorVector (really ProcSelection) 2016-08-26 03:21:05 +02:00
Robin Gareus 3ab4f7ef82 fix windows build/runtime 2016-08-23 22:58:03 +02:00
Robin Gareus 5d597cdfeb add FluidSynth Lua Bindings 2016-08-23 22:21:03 +02:00
Paul Davis 636522bd79 new libardour API for Session::new_route_from_template to allow specifying insertion point 2016-08-22 09:41:59 -04:00
Robin Gareus 7aa5ada0e0 Lua bind MonitorProcessor 2016-08-21 00:24:23 +02:00
Paul Davis 972dc6aaca ad rest of Stripable API to lua 2016-08-19 09:40:20 -04:00
Robin Gareus 29feb8dec7 add some missing enum bindings (for config variables) 2016-08-16 00:20:36 +02:00
Robin Gareus 11da4a83e4 expose SessionConfiguration as lua bindings 2016-08-15 22:25:56 +02:00
Robin Gareus 46cbb9084e Expose Stripable Color & Ordering API to Lua
We can't easily use C++ references with Lua closures, so
new API (pointer to PresentationInfo) was added.
2016-08-15 16:37:44 +02:00
Robin Gareus d04ca6d414 a few more Location related lua bindings 2016-08-06 22:12:39 +02:00
Robin Gareus bcee4e1518 add a lua timer callback signal 2016-07-24 13:00:15 +02:00
Robin Gareus 7d7755ffb6 expose PBD::open_uri bindings to lua 2016-07-17 17:04:02 +02:00
Robin Gareus 6b5be3d892 Add a new API to format midi-note-names with translation: Do Re Mi...
This deprecates Evoral::midi_note_name(). we don't maintain i18n
for libevoral.
2016-07-12 23:02:46 +02:00