VST LUA beta -- midi scripting VST

VST, AU, AAX, CLAP, etc. Plugin Virtual Instruments Discussion
Post Reply New Topic
RELATED
PRODUCTS

Post

t-zec did not show up from long time, and is site is down
some developers tried to recompile vstlua using vs2005, that doesn't load some library of the original version (SDL lib for example).
Arakula, at last, recompiled vstlua http://www.kvraudio.com/forum/viewtopic ... 31#4206031

I try it and I see it's a bit more stable, fasters display and fix a bug of double calls/render of the custom GUI.
:( I test it with a lot of Host, but this version continues to crash in the major of cases.

However, I think that possible developments will come using VS.

I see a great power in vstlua and I'm sorry that it's still a beta, without maintenance.

I say sorry for my bad English

Post

CONSOLE: script to add in the custom GUI, a text box that has got console funtionalities.
download it at:
http://giaves.100webspace.net/files/vstlua,%20script/
consoleGUI_loadstring.lua :love:

it also a good template with some of my math function:
  • - round(num, idp)
    - linear01 (inputValue, inMin, inMax) -- transform input 0-127 to output from 0 to 1
    - steppy(inputValue, inMin, inMax, outMin, outMax) --from a Linear f(x) to a Step Output
vespadj

Post

HOST TEST: vstlua 0.6Arakula test.

please report yours.

vsthost 1.47 : fatal error on Reset / Reload - if there is panic() in the resetCB()
MU.LAB 3: no keyCb, *GUI problem, free doesn't support multiple midi dev
FL Studio 9: *GUI problem, not complete modular enviroment, (not full test)
Cantabile 2 Lite: no keyCb, *GUI problem, (not full test)

crashes at load:
minihost, synthedit, energyXT, liveprofessor, Usine, Juce Plug-In Host


where:
*GUI problem: uncorrect update of main gui when switching from custom GUI


Previous crashes are often caused by
panic() in the resetCB():
too many events send for resetting CC and/or stop noteDown
Last edited by vespadj on Thu Sep 23, 2010 6:29 am, edited 2 times in total.

Post

post joint to previous

Post

Hello to everyone!
I see in vstlua project awesome possibilities, and I'd like to keep it alive!

I'd like to ask to people that read this thread:
- How many people use vstlua, today ?
- Are there developers that may be keeping alive vstLua ?
- Are there other free programs that work like vstlua and this a minimal gui?

Don't let vstLua die!

vespadj

Post

Increase stability and bug fix (double gui elements)
Edit: \Vst\VSTLuaArakula\lua\callback_wrappers.lua AT:

Code: Select all

function _openCb()
 if not windowOpen then	--[=[ if window is already open, discard callback, windowOpen will become false after a closeCb ]=]

	... previous code
 end
end function
consoleGUI_loadstring.lua v.0.2 realised at
http://giaves.100webspace.net/files/vstlua,%20script/

(midilooper_multiChannel on stage)

Post

Using Lua Libs
you have to use: package.cpath and package.path
This an example how load some library:

Code: Select all

osEnvLUA_DEV = os.getenv("LUA_DEV")
if osEnvLUA_DEV then
	package.cpath = package.cpath..";"..osEnvLUA_DEV.."\\clibs\\?.dll"
	package.path = package.path..";"..osEnvLUA_DEV.."\\lua\\?.lua"
else
	print("Enviroment Variable \' LUA_DEV \' not found! \n")
	print("This script use libs from \'Lua for windows\', please install it!\n")
end
require "lfs"
require "LuaXml"
Detect folder of the script:

Code: Select all

-- ScriptName: Global variable: full path of loaded script
-- cwd: current working directory, extract from ScriptName the path until last "\" character

cwd = ScriptName:sub(1, (ScriptName:len()-string.reverse(ScriptName):find("\\")+1) )
vespadj

Post

I am using vstlua to take care of scsynth (Supercollider3) from a vst application sending OSC messages. I have implemented scrips emulating supercollider pattern sequencing (Pseq,Prand,Pfunc...) and a mixer with postsends etc.

The code of vstlua is at:
http://www.hermannseib.com/VstLua/index.html

I would like to improve it and be able to debug.

Any one has been able to compile it?

I tried to compile vst lua with vc2008.
I get an error from swig ( I dont know how to use this tool) it says:

..\..\VstLua\src\swig_gui.i(1) : Error: Illegal token '''.

..\..\VstLua\src\swig_gui.i(1) : Error: Syntax error in input(1).

it points to:

%module vstgui

in swig_gui.i

Any idea?

Post

Solved:

Convert the codepage from utf to ansi in swig_gui.i

Post

vstlua has a permanent home on sourceforge now http://vstlua.sourceforge.net/

This doesn't (sadly) mean there are any updates coming. I would like to get native MIDI working properly, but it's tricky and I don't have much development time these days.

I will try and merge in the various changes people have made, starting with the version on Hermann Seib's site; if there are other scripts or patches that should be added I can do so.

Enormous thanks to everyone who has kept vstlua available, especially Hermann Seib for hosting the mirror.

Post

Welcome back tzec! for share scripts and improvements what way do you prefer?

Post

You can email them to me, but even better if you can post a link+description in the discussion forum https://sourceforge.net/p/vstlua/discussion/scripts/

Post

I have been programing from the source at hermann site.

-Changed LuaLock
-Port vstgui 3.0 to 4.0 (but from vstsdk 2.4.2 to keep compatibility with
hosts)
-made the message windows multiline with scrooll
-add SelfDrawControl to be able to do grafical output from lua (function
graphics or wathever)
-add random:ValueN which generates random values in a gausian distribution
-fix luaeditor:close which did not closed properly
-fix somethigs with swig...


Now that there is a sourceforge site I think that it would be better to centralize all but I dont know how this could be done
Any ideas from tzec or arakula?

Post

first of all, the codes at sourceforge and at Hermann site are very different and it would be necessary to have only one code to work on it

Post

I think the best thing to do is to just merge your code in as the newest revision. If you create a sourceforge account and PM me with it I'll add you as a developer to the project so you can commit code directly.

Post Reply

Return to “Instruments”