Back to Index

Update: 2022-09-09

Table of Contents

EnvelopedSine

EnvelopedSine is an additive synthesizer that computes 64 sine waves for each note. Difference to IterativeSinCluster is that this synth has AD envelope and saturator for each oscillator. EnvelopedSine is better suited for percussive sounds.

EnvelopedSine requires CPU which supports AVX or later SIMD instructions.

The package includes following builds:

Important macOS build is not included in latest package. I’m planning to port the plugin to macOS in future, but lacking money to buy ARM mac for development.

Linux build is built on Ubuntu 20.04. If you are using distribution other than Ubuntu 20.04, plugin will not likely to run. In this case, please take a look at build instruction.

Contact

Feel free to contact me on GitHub repository or ryukau@gmail.com.

You can fund the development through paypal.me/ryukau. Current goal is to purchase M1 mac for better macOS support. 💸💻

Installation

Plugin

Place *.vst3 directory to:

DAW may provides additional VST3 directory. For more information, please refer to the manual of the DAW.

Presets

Extract preset zip, then place preset directory to the OS specific path:

Preset directory name must be the same as the plugin. Make Uhhyou directory if it does not exist.

Windows Specific

If DAW doesn’t recognize the plugin, try installing C++ redistributable (vc_redist.x64.exe). Installer can be found in the link below.

Linux Specific

On Ubuntu 18.0.4, those packages are required.

sudo apt install libxcb-cursor0  libxkbcommon-x11-0

If DAW doesn’t recognize the plugin, take a look at Package Requirements section of the link below and make sure all the VST3 related package is installed.

REAPER on Linux may not recognize the plugin. A workaround is to delete a file ~/.config/REAPER/reaper-vstplugins64.ini and restart REAPER.

macOS Specific

When trying to run plugin first time, following message may appear on macOS.

<PluginName>.vst3 is damaged and can't be opened. You should move it to
the Trash"

In this case, open terminal and try running following command to unzipped .vst3 directory.

xattr -rc /path/to/PluginName.vst3

Plugin may be considered as unsigned/un-notarized application. In this case, try following the steps below.

  1. Open terminal and run sudo spctl --master-disable.
  2. Go to System Preferences → Security and Privacy → General → Allow apps downloaded from, then select “Anywhere”.

Beware that steps above degrades security of your system. To revert the settings, follow the steps below.

  1. Go to System Preferences → Security and Privacy → General → Allow apps downloaded from, then select option to “App Store and identified developers”.
  2. Open terminal and run sudo spctl --master-enable.

Reference

GUI Style Configuration

At first time, create color config file to:

style.json will be loaded for each time a plugin window opens.

Several color themes are available on the link below.

Below is a example of style.json.

{
  "fontFamily": "Tinos",
  "fontBold": true,
  "fontItalic": true,
  "foreground": "#000000",
  "foregroundButtonOn": "#000000",
  "foregroundInactive": "#8a8a8a",
  "background": "#ffffff",
  "boxBackground": "#ffffff",
  "border": "#000000",
  "borderCheckbox": "#000000",
  "borderLabel": "#000000",
  "unfocused": "#dddddd",
  "highlightMain": "#0ba4f1",
  "highlightAccent": "#13c136",
  "highlightButton": "#fcc04f",
  "highlightWarning": "#fc8080",
  "overlay": "#00000088",
  "overlayHighlight": "#00ff0033"
}

Font Options

Following is a list of font options.

To use custom font, place *.ttf file into custom font path: *.vst3/Contents/Resources/Fonts.

Notice: If the combination of fontFamily, fontBold, fontItalic is not exists in custom font path, default font of VSTGUI is used.

If fontFamily is set to empty string "", then "Tinos" is used as fallback. If the length is greater than 1 and the font family name doesn’t exists, default font of VSTGUI is used.

Styles other than bold, italic or bold-italic are not supported by VSTGUI. For example, “Thin”, “Light”, “Medium”, and “Black” weights cannot be used.

Color Options

Hex color codes are used.

First letter # is conventional. Plugins ignore the first letter of color code, thus ?102938, \n11335577 are valid.

Do not use characters outside of 0-9a-f for color value.

Following is a list of color options. If an option is missing, default color will be used.

Controls

Right Click on the controls pops up a context menu provided by DAW.

Knob and slider can do:

Control with many blue vertical bars (BarBox) have some keyboard shortcuts. LFO Wave on Main tab and Gain, Width, Pitch, Phase on Wavetable tab are using BarBox. Shortcuts are enabled after left clicking BarBox and mouse cursor is on the inside of BarBox. Cheat sheet is available on Infomation tab.

Input Control
Left Drag Change Value
Shift + Left Drag Change Value (Snapped)
Ctrl + Left Drag Reset to Default
Ctrl + Shift + Left Drag Change Value (Skip Between Frames)
Right Drag Draw Line
Shift + Right Drag Edit One Bar
Ctrl + Right Drag Reset to Default
Ctrl + Shift + Right Drag Toggle Lock
a Alternate Sign
d Reset Everything to Default
D Toggle Min/Mid/Max
e Emphasize Low
E Emphasize High
f Low-pass Filter
F High-pass Filter
i Invert Value (Preserve minimum)
I Invert Value (Minimum to 0)
l Toggle Lock under Mouse Cursor
L Toggle Lock for All
n Normalize (Preserve minimum)
N Normalize (Minimum to 0)
p Permute
r Randomize
R Sparse Randomize
s Sort Descending Order
S Sort Ascending Order
t Subtle Randomize (Random walk)
T Subtle Randomize (Converge to 0)
z Undo
Z Redo
, (Comma) Rotate Back
. (Period) Rotate Forward
1 Decrease
2-9 Decrease 2n-9n

Snapping is not available for all BarBox. If you’d like to have snapping for certain BarBox, feel free to open issue to GitHub repository.

Edit One Bar with Shift + Right Drag holds a bar under the cursor when mouse right button is pressed. Then only changes that one bar while holding down mouse right button.

Toggle Lock with Ctrl + Shift + Right Drag behaves as line edit. When right mouse button (RMB) is pressed, it holds the opposite state of the bar below mouse cursor, then use the state for the rest of bars. For example, if RMB is pressed on a locked bar, dragging unlocks bars while holding down RMB.

Some BarBox has scroll bar to zoom in. Scroll bar has handles on left end and right end. To control zoom, use Left Drag on one of the handle. Scroll bar also has following controls:

Block Diagram

If the image is small, use Ctrl + Mouse Wheel or “View Image” on right click menu to scale.

Diagram only shows overview. It’s not exact implementation.

Parameters

Overtone

4 big controls on top right.

Attack, Decay

Gain envelope attack and decay for each oscillator.

Gain

Gain for each oscillator.

Saturation

Saturation gain for each oscillator.

Gain

Boost, Gain

Both controls output gain. Peak value of output will be Boost * Gain.

Pitch

Add Aliasing

When checked, the synth enables rendering of sine waves over nyquist frequency.

Roughly speaking, nyquist frequency is the highest frequency that can be reconstructed from recorded digital signal. When generating sound, it’s possible to set value that is higher than nyquist frequency. However, the result may contain unexpected frequency due to a phenomenon called aliasing. Add Aliasing is option to add those aliasing noise.

Octave

Note octave.

Multiply, Modulo

Change sine wave frequency.

Equation is noteFrequency * (1 + fmod(Multiply * pitch, Modulo)). pitch is calculated from note pitch and overtone index. fmod(a, b) is a function that returns reminder of a / b.

Expand

Scaling factor for overtone controls.

Shift

Amount of right shift to overtone controls.

Random

Randomize parameters. These are more effective when used with Unison.

Retrigger

When checked, reset random seed for each note-on.

Seed

Random seed. This value change random number sequence.

To Gain, To Attack, To Decay, To Sat.

Amount of randomization to overtone controls. Equation is value * random. Range of random is [0.0, 1.0).

To Pitch

Amount of randomization to pitch.

To Phase

Amount of randomization to phase.

Misc.

Smooth

Time length to change some parameter value to current one. Unit is in second.

List of parameters related to Smooth. * represents wild card.

Other parameter uses the value obtained from the timing of note-on for entire duration of a note.

nVoices

Maximum polyphony. Lowering the number of this option reduces CPU load.

Unison

When checked, unison is enabled.

When unison is enabled, 1 note uses 2 voices. 1 voice is placed on left and other is placed on right. Combining Unison with Random.To Phase, Random.To Pitch, etc. can be used to make sound with stereo spread.

Modifier

Attack*, Decay*

Multiplier for Attack/Decay in overtone control section.

Declick

When checked, it reduces click noise that occurs when the value of Attack and/or Decay is 0.

Gain^

Exponent to Gain in overtone control. Following is the equation of gain of an oscillator.

Gain.Boost * Gain.Gain * pow(Overtone.Gain, Modifier.Gain^)
Sat. Mix

Mixing ratio of dry/wet signal of saturation. Dry : Wet becomes 0 : 1 when turned the knob to rightmost.

Phaser

nStages

Number of all-pass filter.

Mix

Mixing ratio of dry/wet signal of phaser. Dry : Wet becomes 0 : 1 when turned the knob to rightmost.

Freq

LFO frequency.

Feedback

Amount of feedback. Feedback is disabled when the knob is pointing to 12 o’clock. It becomes negative feedback when turned to left and positive feedback when turned to right.

Range

Range of all-pass filter modulation by LFO.

Min

Minimum value of all-pass filter modulation by LFO.

Offset

LFO phase offset.

Phase

LFO phase. This can be used to make sound with automation. Turning Freq to leftmost sets LFO frequency to 0.

Change Log

Old Versions

License

EnvelopedSine is licensed under GPLv3. Complete licenses are linked below.

If the link above doesn’t work, please send email to ryukau@gmail.com.

About VST

VST is a trademark of Steinberg Media Technologies GmbH, registered in Europe and other countries.