Skip to content

Simon-L/lua-faust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Lua + Faust playground

faust-tpl

Faust wrapper similar to faust2xxx tool that pre-processes a .dsp containing {{ and }} tags, enabling compile-time templating. Based on etlua. Examples:

{{
	-- block of lua code, all blocks are evaluated in the same context, ie. define here and use later.
}}

Use {{= to use value of block, ie. variables, function return value: abc = {{= def }};

Usage

faust-tpl [options] <file.dsp> to process templated dsp file.dsp, all options except dsp files are passed to faust.
The lua script can be called directly: lua5.4 render_template.lua -o out_file in_file.dsp

About

Lua + Faust playground

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published