Skip to content
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
gui
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Csound 6 - Lua API Examples

Author: Francesco Armando Porta ilterzouomo@fastwebnet.it 2013.11.8

This folder contains examples for using the Csound API in Lua. They start with a minimal usage of Csound and each example afterwards builds upon the previous one. There are numerous comments in each file to explain what is new in the example as well as explain how the new things may be used.

Useful Notes

  • Preferably use LuaJIT instead of Lua for better performance.
  • To run an example, in a terminal, type "luajit" or "lua" followed by the example file. For example, to run example1.lua, use "luajit example1.lua" or "lua example1.lua".
  • You can query the Csound API from a lua prompt by doing "for k,v in pairs(luaCsnd6) do print(k,v) end", assuming you have imported csnd6 with "require 'luaCsnd6'".