Skip to content

Start-point to write your own plugins using the Vult language

Notifications You must be signed in to change notification settings

vult-dsp/RackPlayground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VultPlayground

Start-point to write your own plugins using the Vult language

How to use

Before starting, check the following resources.

Installing the Vult compiler

In order to modify the Vult code, you need to have the Vult compiler installed. You can download the binaries from the releases page and place them in the project folder or add it to your path.

Alternatively, you can install the Vult compiler using npm but this version of the compiler is slower.

$ npm install vult -g

Modifying the code

All the code is contained in the file processor.vult. This file contains the function process that receives four inputs and returns four outputs. Here are a few code examples:

Four Channels Mixer

fun process(in1:real, in2:real, in3:real, in4:real) {
   mem param1, param2, param3, param4;
   val out1, out2, out3, out4 = 0.0, 0.0, 0.0, 0.0;

   // all inputs mixed to out1
   out1 = in1 * param1 + param2 * in2 + param3 * in3 + param4 * in3;

   return out1, out2, out3, out4;
}

Simple VCA

fun process(in1:real, in2:real, in3:real, in4:real) {
   mem param1, param2, param3, param4;
   val out1, out2, out3, out4 = 0.0, 0.0, 0.0, 0.0;

   out1 = in1 * in2;

   return out1, out2, out3, out4;
}

About

Start-point to write your own plugins using the Vult language

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published