Concepts
This chapter aims to give you a brief overview of the internal principles. Even though lovm2
is designed to be as simple as possible, it is still quite important to grasp the implementation concepts behind it.
The general steps of producing a runnable program are roughly:
- Create a new
LV2ModuleBuilder
and populate it withLV2Function
- Call
module_builder.build()
constructing a runnableLV2Module
from the current state - Load the module into an instance of a virtual machine
LV2Vm
usingadd_main_module()
- Start the program by calling
run
on the virtual machine