Category Archives: Tutorials

Live coding

Live coding (wikipedia) can be an intense and rewarding experience. Here are some notes on how it works in LuaAV. script.live = true LuaAV is responsive to user editing by reloading the script whenever it is saved. However, reloading will … Continue reading

Posted in Tutorials | Leave a comment

Multi-channel audio

Multi-channel expressions LuaAV’s audio.Def expressions can handle multi-channel streams quite easily. To expand an expression into multiple channels is a matter of replacing a singular argument with a list. Taking this simple sine tone: local mono = Def{   SinOsc{ … Continue reading

Posted in Tutorials | 1 Comment

Audio tutorial 1: making sound

Audio synthesis in LuaAV is designed to be efficient yet flexible, and tightly linked into the timing system of LuaAV scripts. However, compared to events and function calls in Lua, or rendering a frame of graphics to a window, producing … Continue reading

Posted in Tutorials | 1 Comment

Timing & Scheduling

LuaAV has a powerful timing system, using on an internal scheduler that preserves deterministic ordering and logical timestamps to nanosecond accuracy. The deterministic ordering and accuracy is preserved in many messages to the audio system, such as adding/removing synths. The … Continue reading

Posted in Tutorials | 1 Comment

Lua Tutorial

An introduction to programming in Lua. Continue reading

Posted in Tutorials | 2 Comments

LuaAV Introductory Tutorial

This is a quick introduction to using the LuaAV application. Continue reading

Posted in Tutorials | Leave a comment