Login / Register 0 items | $0.00 New @ KVR
twoifbysea
KVRist
 
322 posts since 25 May, 2011, from Grass Valley

Postby twoifbysea; Fri Oct 27, 2017 8:57 pm Re: Blue Cat's Plug'n Script V3 Released - Now with VST Plug-in Export!

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
 
10799 posts since 13 Oct, 2009

Postby ghettosynth; Fri Oct 27, 2017 9:22 pm Re: Blue Cat's Plug'n Script V3 Released - Now with VST Plug-in Export!

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
 
322 posts since 25 May, 2011, from Grass Valley

Postby twoifbysea; Sat Oct 28, 2017 2:44 pm Re: Blue Cat's Plug'n Script V3 Released - Now with VST Plug-in Export!

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
 
3355 posts since 7 Sep, 2004, from Paris (France)

Postby Blue Cat Audio; Mon Oct 30, 2017 8:07 am Re: Blue Cat's Plug'n Script V3 Released - Now with VST Plug-in Export!

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
 
205 posts since 14 Oct, 2013, from San Francisco Bay Aea

Postby rrichard63; Mon Oct 30, 2017 8:31 am Re: Blue Cat's Plug'n Script V3 Released - Now with VST Plug-in Export!

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
 
7746 posts since 16 Dec, 2002

Postby VariKusBrainZ; Sat Nov 04, 2017 9:33 am Re: Blue Cat's Plug'n Script V3 Released - Now with VST Plug-in Export!

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
 
3355 posts since 7 Sep, 2004, from Paris (France)

Postby Blue Cat Audio; Mon Nov 06, 2017 12:20 am Re: Blue Cat's Plug'n Script V3 Released - Now with VST Plug-in Export!

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
 
642 posts since 2 Aug, 2017, from San Diego, CA

Postby Tappistry; Sat Dec 30, 2017 12:03 pm Re: Blue Cat's Plug'n Script V3 Released - Now with VST Plug-in Export!

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
 
3355 posts since 7 Sep, 2004, from Paris (France)

Postby Blue Cat Audio; Mon Jan 08, 2018 12:39 am Re: Blue Cat's Plug'n Script V3 Released - Now with VST Plug-in Export!

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

Postby odix; Wed Feb 14, 2018 4:12 pm Re: Blue Cat's Plug'n Script V3 Released - Now with VST Plug-in Export!

Can I use python? Python has a angelscripr set of standard and functions. Anyone tr,?
User avatar
Blue Cat Audio
KVRAF
 
3355 posts since 7 Sep, 2004, from Paris (France)

Postby Blue Cat Audio; Fri Feb 16, 2018 6:33 am Re: Blue Cat's Plug'n Script V3 Released - Now with VST Plug-in Export!

Python is not supported but I guess you could write a wrapper/loader using the C interface.
User avatar
Captain
KVRist
 
373 posts since 29 Nov, 2002, from Finland

Postby Captain; Fri Feb 23, 2018 5:54 am Re: Blue Cat's Plug'n Script V3 Released - Now with VST Plug-in Export!

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
 
3355 posts since 7 Sep, 2004, from Paris (France)

Postby Blue Cat Audio; Mon Feb 26, 2018 1:05 am Re: Blue Cat's Plug'n Script V3 Released - Now with VST Plug-in Export!

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
 
64 posts since 29 Nov, 2004, from Beyond the Realms of Death

Postby Lempface; Thu Apr 12, 2018 5:58 am Re: Blue Cat's Plug'n Script V3 Released - Now with VST Plug-in Export!

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
 
3355 posts since 7 Sep, 2004, from Paris (France)

Postby Blue Cat Audio; Thu Apr 12, 2018 10:25 am Re: Blue Cat's Plug'n Script V3 Released - Now with VST Plug-in Export!

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

Image
PreviousNext

Moderator: Blue Cat Audio

Return to Blue Cat Audio