Home

Awesome

Lua2SC

Lua client for supercollider scsynth and supernova. Pure lua implementation based on standard portable modules: lualanes, wxlua, luasocket, plus some custom modules: osclua, pmidi, random.

------Lua learning resources--------

------Lua2SC learning resources---------

------Ubuntu Studio building requirements --------- All of them can be installed with sudo apt install

and for wx module

------Building-----------

from build directory:

you will get Lua2SC installed directory where you pointed LUAJIT_BIN to.

this directory can be copied anywhere.

--------------To first try---------------------

run: Lua2SC.bat or Lua2SC.sh

  1. set Debug/settings
  2. Supercollider/BootSC (wait until booted)
  3. open simple_theme (or any other) in lua2SC\examples\
  4. Debug/run (F6)
  5. Debug/Cancel run (F5)

Alt text

------------Using lillypond--------------------

  1. Find location of lilypond executable in Debug->Settings
  2. Set as first line in script: LILY = require"sc.lilypond"
  3. Set as last line in script: LILY:Gen(initial beat,last beat)
  4. Run as plain lua script with F7

------------Using Non real time---------------

  1. Set as first line in script: NRT = require"sc.nrt":Gen(number of beats to render)
  2. Run script with Run Lua2SC (F6)