Blue Cat's Plug'n Script V3 Released - Now with VST Plug-in Export!

Official support for: bluecataudio.com
twoifbysea
KVRist
330 posts since 25 May, 2011 from Grass Valley, CA

Post Fri Oct 27, 2017 8:57 pm

First of all please forgive my ignorance. I have zero experience writing scripts but purchased V3 because it seems like a great place to start. Do you have any recommended reading to get me started with angel script and coding writing in general? I’ll keep rereading the manual but I’m having difficulty wrapping my head around it.

I’m completely willing to put in the time to learn I’m just not sure where else to look. Thank you much.

Dave

ghettosynth
KVRAF
11420 posts since 13 Oct, 2009

Re: Blue Cat's Plug'n Script V3 Released - Now with VST Plug-in Export!

Post Fri Oct 27, 2017 9:22 pm

twoifbysea wrote:First of all please forgive my ignorance. I have zero experience writing scripts but purchased V3 because it seems like a great place to start. Do you have any recommended reading to get me started with angel script and coding writing in general? I’ll keep rereading the manual but I’m having difficulty wrapping my head around it.

I’m completely willing to put in the time to learn I’m just not sure where else to look. Thank you much.

Dave
Angel script is very similar to C and/or Java. I was able to write some code using elements like conditionals and loops without even cracking the manual because I just assumed that they would be like C/Java and they were. The Angelscript online manual is pretty good, but, it's a language reference manual and generally assumes that you know why you'd need loops and conditionals, or whatever else it is that you're reading about.

Here's the thing though, you won't get very far with coding plugins with understanding the syntax of the language. What's challenging about writing plugins isn't so much the code as it is the math and theory behind the code.

So, the place to start is with an idea of what it is that you want to code, research the theory behind that thing and go from there.

twoifbysea
KVRist
330 posts since 25 May, 2011 from Grass Valley, CA

Re: Blue Cat's Plug'n Script V3 Released - Now with VST Plug-in Export!

Post Sat Oct 28, 2017 2:44 pm

ghettosynth wrote:
twoifbysea wrote:First of all please forgive my ignorance. I have zero experience writing scripts but purchased V3 because it seems like a great place to start. Do you have any recommended reading to get me started with angel script and coding writing in general? I’ll keep rereading the manual but I’m having difficulty wrapping my head around it.

I’m completely willing to put in the time to learn I’m just not sure where else to look. Thank you much.

Dave
So, the place to start is with an idea of what it is that you want to code, research the theory behind that thing and go from there.
Sound advice, I'll start there.

User avatar
Blue Cat Audio
KVRAF
3575 posts since 8 Sep, 2004 from Paris (France)

Re: Blue Cat's Plug'n Script V3 Released - Now with VST Plug-in Export!

Post Mon Oct 30, 2017 8:07 am

Angelscript is indeed very close to C++ and java, and there is not much to learn about it to wrote DSP code (apart from the handles, as described in the Plug'n Script manual). Also, since you can write native (compiled) scripts in pure C or C++ too(or any other language that can export a C interface by the way - so you can use Delphi or Fortran if you wish), this is what you will probably end up doing for optimal performance (but it is still recommended to use angelscript first to get started - converting to C++ later is a piece of cake).

It's hard to give advice and pointers about programming if we do not know what about what you are trying to achieve. You will typically not need the same knowledge to write MIDI plug-ins, audio effects or virtual instruments.

rrichard63
KVRist
208 posts since 14 Oct, 2013 from San Francisco Bay Aea

Re: Blue Cat's Plug'n Script V3 Released - Now with VST Plug-in Export!

Post Mon Oct 30, 2017 8:31 am

From personal experience, a very good way to get started with a new programming language and development tools is to find a reason to modify some existing code -- for example to add features. Plug'n Script comes with a lot of examples that should be ideal for this.

User avatar
VariKusBrainZ
KVRAF
8697 posts since 16 Dec, 2002

Re: Blue Cat's Plug'n Script V3 Released - Now with VST Plug-in Export!

Post Sat Nov 04, 2017 9:33 am

What are the chances of adding multi touch support and could you provide an example script for a plugin that has no audio functions and just has an interface element that outputs midi to the host?

User avatar
Blue Cat Audio
KVRAF
3575 posts since 8 Sep, 2004 from Paris (France)

Re: Blue Cat's Plug'n Script V3 Released - Now with VST Plug-in Export!

Post Mon Nov 06, 2017 12:20 am

Multi touch is not in the plans right now. What would you use it for?

You can already do MIDI-only plug-ins as shown in the examples: just ignore audio and do what you need to with the MIDI events on the processBlock function.

Tappistry
KVRian
956 posts since 3 Aug, 2017 from San Diego, CA

Re: Blue Cat's Plug'n Script V3 Released - Now with VST Plug-in Export!

Post Sat Dec 30, 2017 12:03 pm

Just getting started with Plug n Script. I noticed there is a factory preset for a Looper. This might be a place for me to start!

What I'd like to create is essentially a software version of the TC Electronic Ditto X4 Pedal:

http://www.tcelectronic.com/ditto-x4-looper/

Two independent loop controls with overdub, an adjustable decay-stop control, plus an effect insert with things like a tape stop, half speed, double speed, and fade.

Would this be possible with PnS? Any experienced users please feel free to chime in, I'd love to hear some good starting points.

User avatar
Blue Cat Audio
KVRAF
3575 posts since 8 Sep, 2004 from Paris (France)

Re: Blue Cat's Plug'n Script V3 Released - Now with VST Plug-in Export!

Post Mon Jan 08, 2018 12:39 am

It should indeed be possible to do this with Plug'n Script. Feel free to share your work and thoughts on this project!

Good luck! :-)

odix
KVRist
86 posts since 1 Nov, 2014

Re: Blue Cat's Plug'n Script V3 Released - Now with VST Plug-in Export!

Post Wed Feb 14, 2018 4:12 pm

Can I use python? Python has a angelscripr set of standard and functions. Anyone tr,?

User avatar
Blue Cat Audio
KVRAF
3575 posts since 8 Sep, 2004 from Paris (France)

Re: Blue Cat's Plug'n Script V3 Released - Now with VST Plug-in Export!

Post Fri Feb 16, 2018 6:33 am

Python is not supported but I guess you could write a wrapper/loader using the C interface.

User avatar
Captain
KVRist
413 posts since 29 Nov, 2002 from Finland

Re: Blue Cat's Plug'n Script V3 Released - Now with VST Plug-in Export!

Post Fri Feb 23, 2018 5:54 am

Can't believe I haven't stumbled upon this thing before! It seems to be pretty much my dreams come true (and I didn't even test the demo yet... but certainly will :) )

One question, forgive me if it has already been addressed somewhere: Being a Logic user, I'd love the ability to export Audio Unit plugins. As I understood, this is not currently possible? Any plans to implement it at some point?

User avatar
Blue Cat Audio
KVRAF
3575 posts since 8 Sep, 2004 from Paris (France)

Re: Blue Cat's Plug'n Script V3 Released - Now with VST Plug-in Export!

Post Mon Feb 26, 2018 1:05 am

AU export is indeed not supported today. We hope it will be at some point, but we cannot promise anything, so you should not bet on future plans.

User avatar
Lempface
KVRist
68 posts since 29 Nov, 2004 from Beyond the Realms of Death

Re: Blue Cat's Plug'n Script V3 Released - Now with VST Plug-in Export!

Post Thu Apr 12, 2018 5:58 am

Is it possible to do advance UI like a frequency graph? Any included examples? Now that this supports exporting to VST I am extremely interested.

User avatar
Blue Cat Audio
KVRAF
3575 posts since 8 Sep, 2004 from Paris (France)

Re: Blue Cat's Plug'n Script V3 Released - Now with VST Plug-in Export!

Post Thu Apr 12, 2018 10:25 am

Do you mean the frequency response of an EQ for example, as shown below?

Image

Return to “Blue Cat Audio”