Plug-ins, Hosts, Apps,
Hardware, Soundware
Developers
(Brands)
Videos Groups
Whats's in?
Banks & Patches
Download & Upload
Music Search
KVR
   
KVR Forum » Instruments
Thread Read
VST LUA beta -- midi scripting VST
Goto page Previous  1, 2, 3 ... 11, 12, 13, 14, 15  Next
~Pd~
KVRian
- profile
- pm
- e-mail
- www
PostPosted: Mon Jan 19, 2009 2:40 pm reply with quote
contrast wrote:
I emailed tzec some months ago and he mentioned that he was very busy and did not have much time for vstlua. The site has gone down a few times and he has gotten it back up eventually though.

I still have the source for at least the version I use (which is .06b1 with the console removal and host compatibility changes from .06b2). I can provide it or a compiled version for anyone who wants it. Or if it needs to go up on sourceforge; probably it would be best to at least email tzec to ask about that, if he does not show up in this thread.


tzec licensed it as BSD code, which is an even more liberal license than GPL. Redistribution is permitted as long as the license text remains intact. Here's the license section from Google's cache of his site:

* Copyright (c) 2007, John Williamson
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* * Neither the name of the nor the
* names of its contributors may be used to endorse or promote products
* derived from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY ''AS IS'' AND ANY
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.**

I'd say stick the source on megaupload or sharebee and post a link here.
^ Joined: 29 Jul 2006  Member: #114675  
kippertoffee
KVRist
- profile
- pm
PostPosted: Wed Jan 21, 2009 6:50 am reply with quote
This is bloody genius!

I have a cheap and nasty e-drum kit which outputs a combination of note on messages and program changes. I can now use the program change messages to remap the incoming notes. Fantastic. My next job is to get it to interpret the NRPN messages sent out on cymbal chokes.

This now means I can use the BFD2 demo as a practice kit instead of the e-drums built in, bloody awful, sounds. Top Banana.

Thanks a lot Tzec, this is an excellent tool and some excellent work on your part. Kudos to you.

Pete
^ Joined: 03 Mar 2004  Member: #15113  Location: rochdale uk
tzec
KVRist
- profile
- pm
PostPosted: Wed Jan 21, 2009 10:33 am reply with quote
damn, the web site is down again. Sorry, I'll try and get it fixed soon. Anyone who wants to has my blessing to redistribute it in any form -- that was the idea of the licensing it like that Smile
^ Joined: 30 Mar 2006  Member: #103252  Location: Glasgow, UK
Meffy
Skunk Mod
- profile
- pm
- e-mail
PostPosted: Wed Jan 21, 2009 10:36 am reply with quote
@tzec: Great work, thanks for checking in. Hope the Website's back up soon.

Why I shouldn't try to read while scrolling the screen: what I think I'm reading might not be quite right. Here's what my eyes told me I was reading:
~Pd~ wrote:
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARSING IN ANY WAY WITH THIS SOFTWARE [...]
^ Joined: 10 Jun 2004  Member: #29021  Location: Pony Pasture
tzec
KVRist
- profile
- pm
PostPosted: Wed Jan 21, 2009 3:12 pm reply with quote
It's back up.I haven't had time to do much development in the recent year. I have a few things nearly finished, but don't hold your breath. If someone wants to put it up on sourceforge, carry on.
^ Joined: 30 Mar 2006  Member: #103252  Location: Glasgow, UK
maki
KVRist
- profile
- pm
PostPosted: Sat Jan 24, 2009 4:19 am reply with quote
Tzec, how to change colours on GUI? If I want to change colour on an activated button or add red colour on a LED button.
^ Joined: 01 May 2004  Member: #23668  
tzec
KVRist
- profile
- pm
PostPosted: Mon Jan 26, 2009 3:05 am reply with quote
The only way to do that is to replace the GUI control buttons (by creating a directory called gui/ and putting a button.bmp in there). However, you can currently only have one type of button -- so you couldn't have multiple colors. I'd need to extend the GUI funcionality to allow that.
^ Joined: 30 Mar 2006  Member: #103252  Location: Glasgow, UK
maki
KVRist
- profile
- pm
PostPosted: Wed Feb 04, 2009 11:32 am reply with quote
Touchscreens are going to replace many midi controllers soon. It is very realistic that a button on a screen will have more different functions, depending of different alt, shift, and growing number of foot switches. My suggestion would be that size and properties of GUI Button could be edited. To make them look like self-labelling buttons, with possibilities to show different characters along edges and in corners. This would allow alltogether nine "labels" i one button-one in senter and eight along corners and edges. Otherwise would it be waste of screen space to have many "labels" around and outside of buttons touchzone. With this would Vstlua be ready to meet increasing number of touchscreen users.

This example would be "improved" Fairlight Xynergi button :

______
|2 56 t|
|f 26 j|
|b 16 u|
|______|

Imagine that this is a regular rectangle. Max nine places to show buttons possibilities. In addition, different background colour and edge colour can give even more information.
Tzec, what do you think?
^ Joined: 01 May 2004  Member: #23668  
seacraid
KVRer
- profile
- pm
PostPosted: Sun Aug 02, 2009 1:01 am reply with quote
Hi there,

Thanks for such a wonderful piece of software - this makes everything much easier!

I'd like to re-label VST parameters so that parameters are more easily identified on a hardware control surface with an LCD screen.

Is it possible to re-label VST parameters, or are they always set as "LUA 001","LUA 002", etc?

How do I rename them?
^ Joined: 02 Aug 2009  Member: #212557  
percussa
KVRist
- profile
- pm
- e-mail
- www
PostPosted: Wed Sep 09, 2009 7:49 am reply with quote
tzec wrote:
Being frustrated with the number of small utility VSTs that are often needed to do simple midi tasks, I decided to write a simple, clean VST which could easily script MIDI manipulation. And, thus, VSTLUA was born. The lovely language Lua is used for simple and efficient scripting.

This allows you to quickly develop scripts to mangle midi events and test them without the pain of VST development. It has a basic custom GUI system, so GUI controls can be scripted from Lua.

Here's an example script (in its entirety):

--simple keytracking for synths that respond to CC74
function midiEventCb(event)
    if event.type==midi.noteOn then
        mevent = setCC(74, event.byte2/2, event.channel)
        mevent.delta = event.delta
        sendMidi(mevent)
    end   
    --remember to send the original event!
    sendMidi(event)       
end


Download it here: http://t-zec.org/vstlua/

[img] http://t-zec.org/vstlua/screen1.gif [/img]

Remember, this is beta and chances are, it won't work for you. Let me know what happens and I'll try and fix it. And post your scripts so I can include in future releases!


this is super cool, I started working on a LUA environment with OpenGL based GUI toolkit a while ago but got stuck with some bindings with open source libraries and general timing issues. so I dropped the idea eventually.

does your VST instrument work in all the hosts? If i remember correctly not all of them can deal with instruments that send MIDI ?
^ Joined: 15 Apr 2007  Member: #147708  Location: Belgium
vespadj
KVRer
- profile
- pm
- e-mail
PostPosted: Tue Nov 03, 2009 12:31 am reply with quote
I suggest to share our scripts.

this is mine:
midilooper_multiChannel for live use.
go to: here

at the moment file/save loop doesn't work properly (needs coroutine func.)
^ Joined: 15 Jun 2007  Member: #153832  
beeswaks
KVRist
- profile
- pm
PostPosted: Fri Apr 16, 2010 7:50 pm reply with quote
Does anyone have this?
Tzec's Site is down...
^ Joined: 26 Sep 2003  Member: #9341  Location: Deep South, Finland
jobromedia
KVRAF
- profile
- pm
- e-mail
- www
PostPosted: Fri Apr 16, 2010 11:29 pm reply with quote
I so would use this right away, but:
tzec wrote:

The webpage "t-zec.org" cannot be found

DNS error occurred. Server cannot be found. The link may be broken.
^ Joined: 10 Feb 2006  Member: #97780  Location: Stockholm, Sweden
arakula
KVRAF
- profile
- pm
- e-mail
- www
PostPosted: Thu Aug 05, 2010 8:27 am reply with quote
Still so...
----
"Until you spread your wings, you'll have no idea how far you can walk."
^ Joined: 16 Aug 2004  Member: #37236  Location: Vienna, Austria
eidenk
KVRAF
- profile
- pm
PostPosted: Thu Aug 05, 2010 8:57 am reply with quote
Here: http://www.mediafire.com/?2wsudv9zuyz9474

Wink

And original web page on the wayback machine btw:

http://web.archive.org/web/20080228163012/http://t-zec.org/v stlua/
^ Joined: 29 Nov 2004  Member: #49775  
All times are GMT - 8 Hours

Printable version
Page 12 of 15
Goto page Previous  1, 2, 3 ... 11, 12, 13, 14, 15  Next
Display posts from previous:   
ReplyNew TopicPrevious TopicNext Topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Username: Password:  
KVR Developer Challenge 2012