Back to Index

Update: 2023-01-27

Table of Contents

IterativeSinCluster

IterativeSinCluster is an additive synthesizer. This synth computes 512 sine waves for each note to make tone cluster. I somehow thought “iterative sin” is a valid term. Correct term is “recursive sine”.

IterativeSinCluster requires AVX or later SIMD instructions on x86_64 environment.

full package contains following builds.

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.

macOS package is recommended for macOS user. I can’t purchase Apple Developer Program, therefore installation requires a workaround to bypass Gatekeeper. Details of workaround are written in Installation -> macOS Specific section.

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

Important: full package is not confirmed working. When using full, try removing following files.

macOS package doesn’t contain above files. Also, all packages are in “ad-hoc signing” state set by codesign command.

Remove Quarantine

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 one or both of following command to unzipped .vst3 directory. Replace /path/to/PluginName.vst3 according to your install location.

xattr -rd com.apple.quarantine /path/to/PluginName.vst3
xattr -rc /path/to/PluginName.vst3

Bypass Gatekeeper

Plugin may be considered as unsigned/un-notarized application. In this case, open System Preferences, go to Security & Privacy → General, then click the Open Anyway button. The offcial Apple help page linked below has screenshots for the procedure. See “If you want to open an app that hasn’t been notarized or is from an unidentified developer” section.

If the plugin is still not working, try changing install location to /Library/Audio/Plug-ins/VST3/ or /Users/$USERNAME/Library/Audio/Plug-ins/VST3/ whichever still haven’t tried.

If all the above methods do not work, 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 provides following controls:

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)
Middle Drag Draw Line
Shift + Middle Drag Edit One Bar
Ctrl + Middle Drag Reset to Default
Ctrl + Shift + Middle 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-4 Decrease 2n-4n
5-9 Decimate by holding 2n-5n

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

Gain

Boost, Gain

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

It’s possible that output gain becomes too small while changing gain of Note, Chord, Overtone. Boost can be useful in this situation.

ADSR

Parameters for gain envelope.

Curve

Change attack curve of gain envelope.

Shelving

Cutoff freqeuncy can be changed by Semi, which is relative to a note frequency. For example, if the note is C4 and Semi is 12.000, cutoff frequency is set to C4 + 12 semitone = C5.

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.

Reverse Semi

When checked, negate sign of Semi. For example, 7.000 becomes -7.000.

Octave

Note octave.

ET

ET stands for equal temperament. This parameter can be used to change tuning of Semi and Milli.

Note that this parameter is not to change tuning of notes sent from plugin host. Only affect to internal parameters.

Multiply, Modulo

Change sine wave frequency.

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

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.

nVoice

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

Random

Retrigger

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

Seed

Random seed. This value change random number sequence.

To Gain

Amount of randomization to sine wave gain. Randomization is done for each note-on.

To Pitch

Amount of randomization to sine wave pitch. Randomization is done for each note-on.

Note, Chord, Overtone

Change sine wave gain and pitch.

1 Note have 16 Overtone. 1 Chord consists of 8 Note. 4 Chord are available to use.

Common parameters for Note and Chord.

Leftmost of Overtone is gain of fundamental frequency (1st overtone) of a note. For each bar from left represents 1st, 2nd, 3rd, … , 16th overtone gain.

Below is the summary of calculation of sine wave frequency.

function toneToPitch(semi, milli):
  return 2 ^ (1000 * semi + milli) / (ET * 1000)

for each Chord:
  chordPitch = toneToPitch(Chord.semi, Chord.milli)
  for each Note:
    notePitch = toneToPitch(Note.semi, Note.milli)
    for each Overtone:
      frequency = midiNoteFrequency
        * (1 + mod(Multiply * Overtone * notePitch * chordPitch, Modulo))

Chorus

Mix

Change Dry/Wet mix ratio.

Freq

Chorus LFO frequency.

Depth

Change stereo spread.

Range

Amount of modulation from LFO to delay time. There are three delays in this chorus.

Time

Delay time.

Phase

LFO phase.

Offset

Phase difference between delays.

Feedback

Feedback of delay.

Key Follow

When checked, change delay time relative to note frequency.

Change Log

Old Versions

License

IterativeSinCluster 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.