Cloud - pad synth for the Organelle
==================================
by gur_shulman - v1.0.5

Let's make a pad. Cloud is a polyphonic pad synth that is easy to play
and deep when you want it: up to 32 voices for big two-handed chords, classic
waves and real sampled instruments (strings, brass, winds, pipe organ), a
sub oscillator, a resonant low pass with its own envelope plus a high
pass, vibrato, tremolo, unison, chord strum, ensemble chorus, drive and a big
reverb (room, hall, plate or cathedral) with shimmer. 13 ready sounds to
start from - pick one, turn SHIMMER, REVERB and TONE, and hold a chord.
Made for playing live.

CONTROLS
  ENCODER          turn = page, press = Organelle menu
  KEYS             play (24 voices, up to 32 - POLY on the SETUP page)
  AUX              HOLD: press to latch the chord, press again to let go
                   (LED on). A new chord replaces the old one. MIDI CC25
                   works as AUX too
  FOOTSWITCH       sustain (also a keyboard's sustain pedal, CC64, never
                   counted twice). Normal or reversed pedals (Yamaha FC5
                   ...): where the pedal is when the patch loads counts as
                   released, like on a keyboard
  SOSTENUTO        MIDI CC66 (the middle pedal of a piano-style keyboard):
                   holds only the keys that are down when you press it
  SOFT PEDAL       MIDI CC67 (left pedal): softer notes
  MOD WHEEL        cutoff (see CONTROL page). Aftertouch does the same
  PITCH BEND       +/- 2 semitones (BEND on the CONTROL page)
  EXP PEDAL        off by default. Choose what it controls in CONTROL >
                   EXP - then the jack is an expression pedal, not a
                   footswitch (a keyboard's sustain pedal still works)
  AUX + press      reset every setting to the default

PAGES (turn the encoder; the boxes at the top show where you are)
  SOUND        PRESET | TONE | REVERB | VOLUME
  OSC 1        WAVE 1 | LEVEL 1 | SUB | NOISE
  OSC 2        WAVE 2 | LEVEL 2 | PITCH | DETUNE
  FILTER       CUTOFF | RESO | ENV AMT | VEL
  FILTER ENV   ATTACK | DECAY | SUSTAIN | RELEASE
  AMP ENV      ATTACK | DECAY | SUSTAIN | RELEASE
  LFO          VIBRATO | TREMOLO | SPEED | FADE IN
  VOICE        UNISON | SPREAD | PAN | DRIFT
  EFFECTS      DRIVE | CHORUS | SHIMMER | WIDTH
  SPACE        TYPE | SIZE | PRE-DLY | COLOR
  KEYS         OCTAVE | TRANSP | TOUCH | AUX
  CONTROL      WHEEL | BEND | FOOTSW | EXP   (your keyboard's wheels and pedals)
  SETUP        KNOBS | POLY | TUNE | LOW CUT
  CUSTOM       any four settings you like
  ASSIGN       KNOB 1-4 = what each CUSTOM knob controls

  The pages follow the sound from left to right, like the panel of a
  stage keyboard: oscillators -> filter -> envelopes -> modulation ->
  voices -> effects -> keys and setup. The first page, SOUND, holds only
  the essentials for playing live: the preset, how much shimmer and
  reverb, and the TONE (darker or brighter). Every setting has exactly one place, and no
  setting changes another. Numbers show as a
  bar, choices as a row of segments (a marker on a line when there are
  many). Knobs CATCH by default: after a page change a small notch shows
  where the knob is; turn it to the value and it takes over. KNOBS = JUMP
  on the SETUP page. Every effect is off at 0.

PRESETS (PRESET on the SOUND page - it loads the whole sound)
  WARM SAWS    two detuned saws and a sub, soft filter bloom
  VELVET       a warm, simple pad: two soft saws, steady filter, chorus
  SOFT HALO    soft triangles inside a long, rising octave shimmer
  SOFT STRINGS a classic string pad: detuned saws, ensemble chorus, hall
  AIR CHOIR    breathy sines a fifth apart, slow filter movement
  DARK DRONE   low and wide, S+H LFO moving the filter
  80s POLY     square waves, deep chorus, punchy filter envelope
  WARM BRASS   sampled horns doubled by strings, warm and soft
  SLOW SWELL   fades in slowly, filter opens as it grows
  WOOD FLUTES  sampled clarinet and flute over a soft triangle
  CHURCH ORGAN sampled pipe organ with a sine an octave up
  BIG SKY      huge space, fifth-up shimmer
  INIT         one plain saw to start from scratch
  When you change the sound after loading a preset, a * appears after
  the word PRESET (PRESET*), so you always know you are not on the original.
  Your own keyboard, controller and setup settings (KEYS, CONTROL, SETUP,
  CUSTOM) are not changed by a preset.

WHAT IT ALL DOES
  WAVE 1 / 2  each oscillator has its own: SINE / TRIANGLE / SAW /
              SQUARE / PULSE (band-limited, so high notes stay clean), or
              a sampled instrument: STRINGS / BRASS / WINDS / ORGAN /
              REED (a chromatic harmonica, soft and reedy) (real
              recordings, a different recorded note every 3 semitones -
              like a sample library - looped). Layer them - strings on osc 1
              with a soft saw on osc 2, brass doubled by strings ...
  LEVEL 1 / 2 oscillator level (osc 2 is OFF at 0)
  SUB         a sine an octave below osc 1, OFF at 0
  NOISE       breath / air mixed in before the filter
  PITCH       pitch of oscillator 2: -12 / -7 / -5 / 0 / +5 / +7 / +12 /
              +19 / +24 semitones
  DETUNE      osc 2 drifts away from osc 1 for a wide, slow chorus
  CUTOFF      24 dB low pass filter, shown in Hz
  RESO        resonance
  ENV AMT     how far the filter envelope moves the cutoff (also negative)
  LOW CUT     12 dB high pass, OFF at 0. With CUTOFF it makes a band pass
              (thin out the low end so a pad sits above bass and piano)
  FILTER ENV  attack, decay, sustain, release of the filter
  AMP ENV     attack, decay, sustain, release of the volume
  REVERB      reverb amount. SIZE = decay time, PRE-DLY = a gap of
              11 - 250 ms before the reverb starts (keeps the attack
              clear), COLOR = darker or brighter reverb, TYPE = ROOM /
              HALL / PLATE (dense and bright) / CATHEDRAL (huge, dark)
  SHIMMER     the reverb tail is pitched an octave up and fed back in, so
              it keeps rising
  TONE        the whole sound darker (left: a low pass closes down) or
              brighter (right: the highs come up), 0 - 100%, flat at 50%
  CHORUS      stereo ensemble chorus
  DRIVE       gentle warm saturation, OFF at 0 (the level stays about the same)
  WIDTH       stereo width, 0 - 200%. At 0 it shows MONO: the same on
              both jacks. WIDTH is kept when you change presets
  UNISON      OFF, or 2 / 3 / 4 detuned voices on every note: thicker, but
              24 voices then play 12 / 8 / 6 notes at once. SPREAD = how
              far they are detuned
  TOUCH       how hard you need to play: HEAVY (play hard for loud notes) /
              NORMAL / LIGHT (soft playing already sounds full)
  PAN         how far the voices are spread left and right
  VIBRATO     the pitch wavers, OFF at 0. The wheel can add more
              (WHEEL = VIBRATO)
  TREMOLO     the volume pulses, OFF at 0
  SPEED       vibrato and tremolo speed, 2 - 9 Hz. FADE IN = they grow in
              after each new chord
  VEL         play harder = brighter (the filter opens a little more)
  WOBBLE      (WHEEL / EXP) a slow filter movement some presets use
  DRIFT       analog drift: each voice wanders a few cents on its own
  OCTAVE      -2 ... +2. TRANSP = -6 ... +6 semitones
  WHEEL       CUTOFF / VIBRATO / WOBBLE / SHIMMER / REVERB / VOLUME / OFF
  AUX         HOLD / SUSTAIN / FREEZE / OCT UP / OCT DOWN / OFF
  FOOTSW      the same choices (default SUSTAIN)
              FREEZE  the reverb holds what is ringing, forever, while
                      held - play on top of it
              OCT UP / OCT DOWN work while held
  EXP         VOLUME / CUTOFF / SHIMMER / REVERB / WOBBLE (the jack is an
              expression pedal) / OFF (default: the jack is a footswitch)
  KNOBS       CATCH, or JUMP = the value jumps to the knob
  VOLUME      the patch's output level (-24 ... +6 dB)
  POLY        polyphony: 16 / 24 / 32 voices (default 24). 32 uses more
              of the Organelle's processor - if you ever hear crackles with
              big chords and long releases, set POLY back to 24
  TUNE        A4 = 425 ... 455 Hz (default 440)
  The LED shows what is held: blue = HOLD, green = sustain, cyan =
  FREEZE, purple = octave.

SETTINGS
  Everything is saved by itself to cloud_settings.txt in this folder two
  seconds after the last change. Organelle "Save Patch" / "Duplicate
  Patch" also keeps it, so you can keep a few versions of the patch.
  Delete the file (or AUX + press) for the defaults.

MIDI
  Notes + velocity on the Organelle's MIDI channel, pitch bend, mod wheel
  CC1, aftertouch, sustain CC64, sostenuto CC66, soft pedal CC67,
  expression CC11, CC25 = AUX, all notes off (CC120 / CC123). CC21-24
  move knobs 1-4 as usual. The whole 88-key range plays; OCTAVE and
  TRANSP move it.

TECHNICAL
  Pure Data vanilla, no externals. Works on older Organelle OS too
  (Pd 0.47). Classic waves are band-limited wavetables (three key ranges)
  so high notes don't alias. Sampled waves are a seamless 1.5 second loop
  of the real instrument for each octave (2.6 MB in samples/), played by
  the same oscillators, so DETUNE, PITCH, UNISON and the filter
  all work on them. With all voices busy, the voice that has been free
  the longest is used first, so long release tails are cut as late as
  possible. The filter is two resonant two-pole stages with signal-rate
  cutoff, so it stays clean at any setting. Voices switch themselves off
  when silent, and a voice that is reused while still sounding slides to
  its new note instead of clicking. The reverb is an 8-line feedback
  network with gently moving delays, so the tail is smooth and never
  metallic.

SAMPLES
  STRINGS, BRASS, WINDS: Versilian Studios Chamber Orchestra 2 Community
  Edition (VSCO-2-CE). ORGAN and REED: Versilian Community Sample Library
  (VCSL) - the pipe organ sampled by Simon Dalzell of Ivy Audio, the
  harmonica a Hohner Super 64. Both CC0 (public
  domain). Thank you, Versilian Studios.

FILES
  main.pd            top level
  cl-voice.pd        one voice (x32): two oscillators, sub, filter, envelopes
  cl-keys.pd         notes to voices: HOLD, pedals, UNISON, TOUCH
  cl-waves.pd        oscillator tables + samples/
  cl-mod.pd          bend, vibrato, LFO, cutoff
  cl-ctl.pd          AUX, footswitch, mod wheel, expression pedal
  cl-fs.pd           the pedal jack: footswitch or expression pedal
  cl-fx.pd           high pass, chorus, reverb, shimmer, width, tone, tremolo, out
  cl-chorus.pd, cl-reverb.pd
  cl-params.pd       settings -> sound engine, cl-presets.pd = the sounds
  cl-ui.pd, cl-knob.pd, cl-row.pd, cl-label.pd   pages, knobs, screen
  cl-save.pd         settings file

VERSION HISTORY
  v1.0.6  Reverb: changing Size or Pre-Delay while playing glides smoothly
          (no more clicks or jumps in the tail).
  v1.0.5  SOUND page: knob 4 is VOLUME again.
  v1.0.4  SOUND page: knob 4 was WOBBLE.
  v1.0.3  README tidy-up.
  v1.0.2  VELVET is a normal warm pad now (its filter no longer closed
          as the note went on); SILK STRINGS is replaced by SOFT STRINGS,
          a classic string pad.
  v1.0.1  WARM SAWS is steadier (no slow filter wobble, less drift); VELVET
          is smoother and a little longer; SILK STRINGS is the string
          section as recorded (one clean layer, open filter, a hall).
  v1.0    First release.

LICENSE
  WTFPL - Do What The F*ck You Want To Public License.
  Samples: CC0.
