13
0
livetrax/session_utils
Robin Gareus 74c4ca3e52
Reduce reliance on boost - the hard part
the rest from `tools/convert_boost.sh`.

* replace boost::function, boost::bind with std::function and std::bind.

This required some manual fixes, notably std::placeholders,
some static_casts<>, and boost::function::clear -> = {}.
2024-10-19 03:47:21 +02:00
..
ardour-util.sh.in
common.cc Reduce reliance on boost - the hard part 2024-10-19 03:47:21 +02:00
common.h
copy-mixer.cc Consolidate internal bus checks (1/2) 2024-01-06 20:21:51 +01:00
debug
example.cc
export.cc switch from boost::{shared,weak}_ptr to std::{shared,weak}_ptr 2023-03-24 14:19:15 -06:00
new_empty_session.cc Fix typos 2024-05-07 18:52:02 +02:00
new_session.cc Prepare for API removal 2024-07-10 15:39:01 +02:00
README Enforce session-util app name 2020-11-15 01:21:40 +01:00
run
wscript Remove unmaintained AAF CLI 2024-02-15 01:44:35 +01:00

Ardour Session Utilities
========================

This folder contains some tools which directly use libardour to access ardour
sessions.

The overall goal it to provide some non-interactive unix-style commandline
tools, which are installed along with DAW.

These tools depend on the "dummy" backend to be available, configure ardour with e.g.

  ./waf configure --with-backends=jack,alsa,dummy ...


Adding new tools
----------------

One C++ source per tool, see "example.cc" and "export.cc"

  cp session_utils/example.cc session_utils/your_new_tool_name.cc
  edit session_utils/new_tool_name.cc
  ./waf

The tool is automatically compiled and deployed when installing, using the
program-name as prefix.  e.g.  "export.cc" becomes "ardour4-export"
(or "mixbus3-export", depending on the project configuration).
Tool names must start with lower-case alphabetic letter [a-z].


Test run from the source
------------------------

  cd session_utils
  ./run ardour6-your_new_tool_name

or

  ./run ardour6-export --help

and to debug the tool under gdb/lldb:

  ./debug ardour6-export