Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sonoro1234/Lua2SC
Lua client for supercollider scsynth and supernova
https://github.com/sonoro1234/Lua2SC
lanes lua oscpack portmidi supercollider supercollider-scsynth supernova wxwidgets
Last synced: about 1 month ago
JSON representation
Lua client for supercollider scsynth and supernova
- Host: GitHub
- URL: https://github.com/sonoro1234/Lua2SC
- Owner: sonoro1234
- License: other
- Created: 2013-08-12T11:23:57.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2023-09-11T14:39:57.000Z (10 months ago)
- Last Synced: 2024-02-14T06:36:05.038Z (5 months ago)
- Topics: lanes, lua, oscpack, portmidi, supercollider, supercollider-scsynth, supernova, wxwidgets
- Language: Lua
- Size: 11.7 MB
- Stars: 57
- Watchers: 8
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Lists
- awesome-livecoding - Lua2SC - Lua client for superCollider scsynth and supernova. (Libraries and tools)
- awesome-supercollider - Lua2SC - Lua client (Clients / Language clients)
- awesome-livecoding - Lua2SC - Lua client for superCollider scsynth and supernova. (Libraries and tools)
README
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--------
* https://www.lua.org/manual/5.1/ (Lua specification)
* https://www.lua.org/pil/contents.html (Online book for Lua 5.0, but great Lua introduction)
* http://luajit.org/ (LuaJIT additions to Lua 5.1 as ffi.)* http://tylerneylon.com/a/learn-lua/ If you dont have more than 15 minutes
------Lua2SC learning resources---------
* The pieces and other examples I will be uploading.
* Ctrl+I will find the source of most keywords (those in pale blue color in the IDE)
* I am open to any questions posted as issues in Lua2SC repository.------Ubuntu Studio building requirements ---------
All of them can be installed with `sudo apt install`* cmake (should be >= 3.13)
* libasound2-devand for wx module
* libgtk2.0-dev
* libgl1-mesa-dev
* freeglut3-dev------Building-----------
from build directory:
* set LUAJIT_BIN to the desired installation absolute location in init_cmake.bat (.sh)
* add -DBUILD_WXLUA=ON in init_cmake.bat if you wish to also build wx module.
* run init_cmake.bat (or copy to init_cmake.sh)
* make
* make installyou 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](lua2sc_.jpg )
------------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)