dSPACE XODULAR User manual

!
XODULAR!
!
!
!
!
pure data modular !
synthesizer system!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
user’s guide!
!
!
!
!
!
!
1

INTRODUCTION: ABOUT THE XODULAR PURE DATA MODULAR
SYNTHESIZER SYSTEM!4!
USER INTERFACE AND SIGNAL FLOW!5!
USER INTERFACE:!5!
SIGNAL FLOW:!6!
OSCILLATORS!7!
VOLTAGE CONTROLLED OSCILLATOR - VCO-SINE:!7!
VOLTAGE CONTROLLED OSCILLATOR - VCO-VOWEL:!8!
VOLTAGE CONTROLLED OSCILLATOR - COMPLEX-OSCILLATOR:!9!
VOLTAGE CONTROLLED OSCILLATOR - VCO-3WAVES:!10!
VOLTAGE CONTROLLED OSCILLATOR - VCO-DRUM:!12!
MODULATION!14!
LOW FREQUENCY OSCILLATOR - LFO:!14!
ENVELOPE GENERATOR - ENV-AD:!15!
DUAL RANDOM CV GENERATOR - 2XRANDOM:!16!
DUAL SAMPLE & HOLD - DUAL-S&H:!17!
CLOCKS, LOGIC & UTILITIES!18!
VOLTAGE CONTROLLED CLOCK - CLOCK:!18!
CLOCK DIVIDER - CLK-DIVIDER:!19!
DUAL PROBABILITY LOGIC - PROBABILITY:!20!
FOUR TO ONE SEQUENTIAL SWITCH - 4->1-SWITCH:!21!
ONE TO FOUR SEQUENTIAL SWITCH - 1->4-SWITCH:!22!
MODAL QUANTIZER - QUANTIZER:!23!
SEQUENCERS!24!
VOLTAGE CONTROLLED SEQUENCER WITH 5 STEPS - 5 STEPS:!24!
16 STEP TRIGGER SEQUENCER - 16-TRIGS:!26!
MIXERS & VCAs!27!
DUAL VCA/MIXER - VCA/MIXER:!27!
3 CHANNEL MIXER - MIXER/ATT:!28!
3 CHANNEL POLARIZER/MIXER/ATTENUVERTER - POLAR-3:!29!
4 CHANNEL OUTPUT MIXER - MIX-OUT:!30!
2

!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
EXAMPLE PATCHES!32!
PATCH 1: MAKING A SOUND!32!
PATCH 2: ADDING AN ENVELOPE!33!
PATCH 3: ADDING RHYTHMIC COMPLEXITY AND MODULATION!34
3

INTRODUCTION: ABOUT THE XODULAR PURE DATA
MODULAR SYNTHESIZER SYSTEM!
!
The XODULAR is a virtual modular synthesizer environment in Pure Data. (To run it you
need an installed copy of Pure Data-Extended). The XODULAR consists of twenty
modules that users can copy/paste in any combination to create their own modular
system. If familiar with Pure Data, one can expand on modules or build own additions.
However, there is no need to be familiar to use the XODULAR. Acquiring some basic
understanding of the user interface and signal flow should be enough to get patching. (See
page 5 in the XODULAR manual)!
This system came about over the course of a year. It is very much flavoured by my
creative decisions and patching-style. It has a lot of foundational modular building blocks
because I like patching complexity from simple tools. I really hope some other people can
get some enjoyment out of this system and I do feel it is open ended enough to light up
people's creativity.!
!
Yours Sincerely / Johan!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
4

USER INTERFACE AND SIGNAL FLOW!
!
USER INTERFACE:!
!
First of all: Download a copy of Pure Data Extended at www.puredata.info and install on
your hard drive!
!
Open the XODULAR.pd file in Pure Data-Extended!
!
Choose Audio Settings in pure data. Sound out from the XODULAR is hardwired from the
MIX-OUT module to channel 1 and 2 on the user’s sound card.!
!
Understand the difference between EDIT MODE and PERFORMANCE MODE in Pure
Data. To make patch connections, one has to be in EDIT mode and to use the control
interface one has to be in PERFORMANCE MODE (Cmd+E toggles between the two
modes)!
!
All INPUTS are at the top of the module and all the OUTPUTS are at the bottom. Infinite
amount of patch connections can be drawn from the same output so there is no need for
multiples in the system. !
!
In EDIT mode, highlight any module and copy (Cmd-C) it and paste (Cmd-V) to duplicate
it.!
!
Shift+click allows you to fine tune the settings of a knob/slider with higher resolution.!
!
For a deeper understanding of Pure Data please refer to the Floss Manuals ( http://
en.flossmanuals.net/pure-data/ ) or the helpful Pure Data Community on Facebook.!
!
!
!
!
!
!
!
!
!
!
!
5

SIGNAL FLOW:!
!
There are three types of signals in the XODULAR system: audio, cv and trigger/gate/pulse/
clock. General rule in the XODULAR is that all connections are possible. Or, at least, just
like in any hardware modular system - all connections might not work but there’s no harm
in trying. Most audio modules can go into sub-audio and the LFO goes into audio-rate so
there’s no fixed way to use any module. Triggers are normally used to trigger or sync
modules but can be used for modulation or audio too. !
!
Pure Data will stop producing sound if a DSP feedback loop is detected. So feedback
patches that works like a charm with hardware is trickier in this environment. !
!
SAVING PATCHES:!
!
The system automatically saves and recalls the position of the knobs, sliders and toggles
when you save the patch. This way, you can save a patch like any file on your computer.!
!
BE CAREFUL: There should be no unpleasant audio surprises or sudden raises in
volume, BUT modular is modular and dsp is dsp so be careful. If making an ‘esoteric’
connection, remove headphone or set master volume low just to be safe and not hurt your
ears. !
!
For an in-depth explanation of each module continue reading the manual or skip to the
page for a specific module. See the EXAMPLE PATCHES part of the manual for some
inspiration.!
!
!
!
!
!
!
!
!
!
!
!
!
6

OSCILLATORS!
!
VOLTAGE CONTROLLED OSCILLATOR - VCO-SINE:!
!
The VCO-SINE is a sine wave oscillator with an integrated cosine
wavefolder. The range is from 0.2Hz - 2093Hz and can be used for
audio, low frequency modulation and audio rate modulation. !
!
!
!
!
!
!
!
!
!
!
!
CONTROLS:!
PITCH - controls the pitch of the VCO-SINE. The PITCH knob becomes an offset control
when the parameter is being modulated.!
!
FOLD - controls the amount of wave folding !
!
FM - attenuator to control the amount of incoming signal from the FM input.!
!
INPUTS: !
PITCH - inlet for controlling the pitch of the VCO. The PITCH knob becomes an offset
control when the parameter is being modulated.!
!
FOLD - inlet for modulating the fold amount of the wavefolder. The FOLD knob becomes
an offset control when the parameter is being modulated.!
!
FM - Inlet for external Frequency Modulation. The amount of the incoming signal can be
attenuated with the FM knob.!
!
OUTPUTS:!
FOLD - Outlets the folded sinewave. The wave will be completely quiet if the FOLD knob is
set fully CCW.!
!
SINE - Outlets a pure sine wave not affected at all by the wavefolder circuit.!
!
7

VOLTAGE CONTROLLED OSCILLATOR - VCO-VOWEL:!
!
The VCO-VOWEL is a sawtooth oscillator that runs through a series
of bandpass filters that are set at values that resembles the vowels
of human speech. The range is from 0.2Hz - 2093Hz and can be
used for audio, low frequency modulation and audio rate modulation. !
!
!
!
!
!
!
!
!
!
!
CONTROLS:!
PITCH - controls the pitch of the VCO-VOWEL. The PITCH knob becomes an offset
control when the parameter is being modulated.!
!
FORMANTS - scans through the bandpass filters and morphs smoothly between different
vowel-sounds!
!
FM - attenuator to control the amount of incoming signal from the FM input.!
!
INPUTS: !
PITCH - inlet for controlling the pitch of the VCO. The PITCH knob becomes an offset
control when parameter is being modulated.!
!
FORMANTS - inlet for modulating and scanning through the bandpass filter formants. The
FORMANTS knob becomes an offset control when the parameter is being modulated.!
!
FM - Inlet for external Frequency Modulation. The amount of the incoming signal can be
attenuated with the FM knob.!
!
OUTPUTS:!
OUT - VCO-VOWEL output!
!
!
!
!
!
8

VOLTAGE CONTROLLED OSCILLATOR - COMPLEX-
OSCILLATOR:!
!
The Complex-Oscillator is a dual oscillator with
internal Frequency Modulation and Amplitude
Modulation routings. The range is from 0.2Hz -
2093Hz and can be used for audio, low frequency
modulation and audio rate modulation.!
OSC1 is a sinewave with an integrated cosine
wavefolder. It has dedicated knobs for pitch
(OSC1), wavefolding(FOLD) and Frequency
Modulation from OSC2(FMI). !
OSC2 is a sawtooth generator that can produce
three sawtooth waves slightly detuned from each
other. It has dedicated knobs for controlling
pitch(OSC2), the amount of detune between the
waveforms(WIDTH) and the Amplitude Modulation
!!!!! from OSC1(AMI). !
INPUTS: !
OSC1 - inlet for controlling the pitch of Oscillator 1. The OSC1 knob becomes an offset
control when the the parameter is being modulated.!
!
FOLD - inlet for modulating the fold amount of Oscillator 1's wavefolder. The FOLD knob
becomes an offset control when the parameter is being modulated.!
!
FMI - inlet for modulating the amount of Frequency Modulation being sent from OSC2.
The FMI knob becomes an offset control when the parameter is being modulated.!
!
OSC2 - inlet for controlling the pitch of Oscillator 2. The OSC2 knob becomes an offset
control when the the parameter is being modulated.!
!
WIDTH - inlet for modulating the amount of detuning on Oscillator 2. The WIDTH knob
becomes an offset control when the parameter is being modulated.!
!
AMI - inlet for modulating the amount of Amplitude Modulation being sent from OSC1. The
AMI knob becomes an offset control when the parameter is being modulated.!
!
OUTPUTS:!
OSC1-OUT - Oscillator 1 output!
!
OSC2-OUT - Oscillator 2 output!
!
SUM-OUT - Oscillator 1 and Oscillator 2 mixed together!
9

VOLTAGE CONTROLLED OSCILLATOR - VCO-3WAVES:!
!
The VCO-3WAVES is an oscillator that produces a
trianglewave, a pulsewave and a sawtooth wave. The
waves have separate outputs as well as a mixed output.
The range is from 0.2Hz - 2093Hz and can be used for
audio, low frequency modulation and audio rate
modulation. It has a dedicated knob for controlling the pitch
of all three waveforms (PITCH). Additionally, each wave
has a dedicated knob to affect its shape and timbre in some
way. !
!
!
!
!
!
CONTROLS:!
PITCH - controls the pitch of the VCO-3WAVES. The PITCH knob becomes an offset
control when the parameter is being modulated.!
!
WRAP - controls the amount of wavefolding/wrapping on the triangle wave. The WRAP
knob becomes an offset control when the parameter is being modulated.!
!
PWM - controls the pulse width of the pulse wave. The PWM knob becomes an offset
control when the parameter is being modulated.!
!
WIDTH - controls the amount of detuning of the sawtooth wave. The WIDTH knob
becomes an offset control when the parameter is being modulated.!
!
FM - attenuator to control the amount of incoming signal from the FM input.!
!
!
INPUTS: !
PITCH - inlet for controlling the pitch of the VCO. The PITCH knob becomes an offset
control when the parameter is being modulated.!
!
WRAP - inlet for modulating the fold amount on the triangle wave. The WRAP knob
becomes an offset control when the parameter is being modulated.!
!
PWM - inlet for modulating the pulse width of the pulse wave. The PWM knob becomes
an offset control when the parameter is being modulated. !
!
10

WIDTH - inlet for modulating the detune amount of the sawtooth wave. The WIDTH knob
becomes an offset control when the parameter is being modulated.!
!
FM - Inlet for external Frequency Modulation. The amount of the incoming signal can be
attenuated with the FM knob.!
!
OUTPUTS:!
TRI - Triangle wave outlet!
!
PULSE - Pulse wave outlet. (this output also functions as a trigger/clock output)!
!
SAW - Sawtooth wave outlet!
!
SUM - Triangle, Pulse and Saw mixed together!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
11

VOLTAGE CONTROLLED OSCILLATOR - VCO-DRUM:!
!
The VCO-DRUM is an oscillator module for producing
percussive sounds. (VCO-DRUM can also be used
successfully as a bass or melodic synthvoice or as a
modulation source) It outputs a square- and sinewave
simultaneously. The module has an integrated envelope
and vca. Thus, unlike the other oscillators of the system, it
doesn't produce sound constanly. It requires a trigger/gate
signal sent to the TRIG input to open the envelope and
produce sound. !
!
!
!
!
!
CONTROLS:!
!
PITCH - controls the pitch of the VCO-DRUM. The PITCH knob becomes an offset control
when the parameter is being modulated.!
!
P.CV - attenuator to control the amount of incoming PITCH modulation!
!
DECAY - controls the decay of the integrated AD-envelope. The DECAY knob becomes an
offset control when the parameter is being modulated.!
!
D.CV - attenuator to control the amount of incoming DECAY modulation.!
!
FM - attenuator to control the amount of incoming signal from the FM input.!
!
A-DECAY - controls the decay of the accent-envelope if being triggered by a gate signal at
the ACC input.!
!
ACCENT - attenuator to control the amount/loudness of the accent-envelope!
!
ENVMOD - controls the amount of modulation from the main envelope to the PITCH. !
!
NOISE-FM - Controls two functions simultaneously. Fully CCW there is no effect present.
Turn the knob CW and control the volume of a white noise. The knob is also controlling the
pitch of a sine wave oscillator that is modulating the frequency of the main oscillator
(PITCH)!
!
!
12

INPUTS:!
TRIG - input for trigger gate/signal to trigger the VCO-DRUM!
!
PITCH - input for modulating the pitch of the VCO-DRUM. The PITCH knob becomes an
offset control when the parameter is being modulated.!
!
DECAY - input for modulating the decay of the main envelope. The DECAY knob becomes
an offset control when the parameter is being modulated.!
!
ACC - input for trigger/gate signal to trigger the accent envelope!
!
FM - input for external FM !
!
OUTPUTS:!
OUT - VCO-DRUM output!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
13

MODULATION!
!
LOW FREQUENCY OSCILLATOR - LFO:!
!
The LFO is a low frequency oscillator triangle wave. The range is
from 0.031Hz - 48.99Hz and can be used for audio, low frequency
modulation and audio rate modulation. !
!
CONTROLS:!
FREQ - controls the frequency of the LFO. The FREQ knob
becomes an offset control when the parameter is being modulated.!
!
CV1 - attenuator for the amount of modulation being sent to the LFO
FREQ from the CV1 input!
!
CV2 - attenuator for the amount of modulation being sent to the LFO
FREQ from the CV2 input!
!
!
INPUTS:!
CV1- inlet for controlling the frequency of the LFO. The FREQ knob becomes an offset
control when the parameter is being modulated.!
!
CV2 - inlet for controlling the frequency of the LFO. The FREQ knob becomes an offset
control when the parameter is being modulated.!
!
SYNC- trigger/gate input for syncing the lo cycle to external clocks.!
!
OUTPUTS:!
OUT - LFO output!
!
CP.OUT - LFO comparator out. (trigger/gate signal at the start of each lo cycle)!
!
!
!
!
!
!
!
!
14

ENVELOPE GENERATOR - ENV-AD:!
!
The ENV-AD module is an envelope generator with two stages.
ATTACK and DECAY. Both parameters are under voltage control.
The envelope can cycle (re-trigger itself to perform LFO-type duties)
In CYCLE mode the ATTACK and DECAY settings set the rise and
fall times for the ramps. At very short settings the envelope will
produce oscillator-like sounds.!
!
!
!
!
!
!
!
!
CONTROLS:!
ATTACK - controls the time in ms for the attack stage. Range is from 1ms-2541ms. The
ATTACK knob becomes an offset control when the parameter is being modulated.!
!
DECAY - controls the time in ms for the decay stage. Range is from 1ms-10 000ms. The
DECAY knob becomes an offset control when the parameter is being modulated.!
!
CYCLE - toggle for switching between normal mode or cycling mode!
!
INPUTS:!
TRIG - trigger/gate input for triggering the envelope!
!
ATTACK - input for modulating the ATTACK time. The ATTACK knob becomes an offset
control when the parameter is being modulated.!
!
DECAY - input for modulating the DECAY time. The DECAY knob becomes an offset
control when the parameter is being modulated.!
!
OUTPUTS:!
OUT- ENV-AD output!
!
EOC - trigger/gate output at the end of each cycle (only works in CYCLE mode )!
!
!
!
!
15

DUAL RANDOM CV GENERATOR - 2XRANDOM:!
!
The 2XRANDOM module is a dual random cv generator. Filtered
white noise is hardwired to a sample & hold. The sample & hold
generates a random CV every time a trigger/gate is sent to the TRIG
input. Each channel has an attenuator to control the random values.
Channel 2 has an additional slew generator. Besides the two random
channels there is a CHAOS output which outputs a ringmodded
square wave derived from the two random channels.!
!
!
!
!
!
!
!
!
CONTROLS:!
RANDOM-1 - attenuator for controlling the amount of randomness of RANDOM-1. The
RANDOM-1 knob becomes an offset control when the parameter is being modulated.!
!
RANDOM-2 - attenuator for controlling the amount of randomness of RANDOM-2. The
RANDOM-2 knob becomes an offset control when the parameter is being modulated.!
!
SLEW - controls the amount of slew applied to RANDOM-2!
!
INPUTS: !
TRIG1 - trigger/gate input to clock/trigger RANDOM-1!
!
CV1 - input for modulating RANDOM-1 amount. The RANDOM-1 knob becomes an offset
control when the parameter is being modulated.!
!
TRIG2 - trigger/gate input to clock/trigger RANDOM-1!
!
CV2 - input for modulating RANDOM-2 amount. The RANDOM-2 knob becomes an offset
control when the parameter is being modulated.!
!
OUTPUTS:!
R1-OUT - RANDOM-1 output!
!
R2-OUT - RANDOM-2 output!
!
CHAOS - Two ringmodded square waves derived from RANDOM-1 and RANDOM-2!
16

DUAL SAMPLE & HOLD - DUAL-S&H:!
!
The DUAL-S&H module is two sample & hold circuits that can be
independently clocked/triggered. !
!
!
!
!
!
!
!
!
!
!
!
!
INPUTS:!
IN1 - input for signal to be sampled by channel 1!
!
TRIG1 - trigger/gate input to hold the value present at IN1!
!
IN2 - input for signal to be sampled by channel 2!
!
TRIG2 - trigger/gate input to hold the value present at IN2!
!
OUTPUTS:!
OUT1 - S&H1 output!
!
OUT- 2 S&H2 output!
!
!
!
!
!
!
!
!
!
!
17

CLOCKS, LOGIC & UTILITIES!
!
VOLTAGE CONTROLLED CLOCK - CLOCK:!
!
The CLOCK module is a simple clock generator. with a start/stop toggle
and dedicated knob for clock rate. Useful predominantly as a master
clock for patches.The clock rate goes into audio rate so the module can
be used for audio and modulation duties as well.!
!
!
!
!
!
!
!
!
!
!
CONTROLS:!
RATE - control for clock rate in ms. Range is from 1ms - 1000ms. The RATE knob
becomes an offset control when the parameter is being modulated.!
!
START - toggle to start or stop the clock!
!
INPUTS:!
RATE - input for modulating the clock rate. The RATE knob becomes an offset control
when the parameter is being modulated.!
!
OUTPUTS:!
CLOCK-OUT - CLOCK output!
!
!
!
!
!
!
!
!
18

CLOCK DIVIDER - CLK-DIVIDER:!
!
The CLK-DIVIDER module is a simple clock divider. It takes an
incoming clock/trigger/gate/pulse and divides by numbers from 1-8
with dedicated outputs for each division. If the module is being
clocked at audio rate, the subdivisions can perform frequency divider
like functions.!
!
!
!
!
!
!
!
!
INPUTS:!
CLK-IN - input for any trigger/gate/clock/pulse!
!
OUTPUTS:!
The module outputs the 8 subdivisions independently from left to right (1-8)!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
19

DUAL PROBABILITY LOGIC - PROBABILITY:!
!
The PROBABILITY module is a dual channel probability gate. It
takes a trigger/gate/clock/pulse signal and distributes it randomly to
two outlets. The probability for which output it will send to is set
manually with the PROB knob. Fully CCW will send all signals to the
left output. Settings at 12’ will produce a random but even
distribution between left or right. Fully CW only and always sends
the signal to the right output.!
!
!
!
!
!
!
!
CONTROLS:!
PROB1 - manual control of the probability for the signal to appear at either P1L output or
P1R output!
!
PROB2 - manual control of the probability for the signal to appear at either P2L output or
P2R output!
!
INPUTS:!
CH1-TRIG - input trigger/gate/clock/pulse for PROB1!
!
CH2-TRIG - input trigger/gate/clock/pulse for PROB2!
!
OUTPUTS:!
P1L - Left output for PROB1!
!
P1R - Right output for PROB1!
!
P2L - Left output for PROB2!
!
P2R - Right output for PROB2!
!
!
!
!
!
!
20
Table of contents