theHarmonicAlgorithm-3.2.0: Real-time harmonic progression generation for TidalCycles live performance
Safe HaskellNone
LanguageGHC2021

Harmonic.Interface.Tidal.Devices.S1

Description

Every parameter the S-1 exposes over MIDI, as a control function taking a 0-1 value. CC numbers are quoted from the official Roland chart.

The synth answers on MIDI channel 13, baked into each function -- set the S-1 to channel 13 on the device. It is performed through the s101 block. Patterns compose as usual:

, s1cutoff (lfo saw 0.2 0.9)
Synopsis

Controls

s1prog :: Pattern Double -> ControlPattern Source #

Select a pattern by raw program number.

s1ptn :: Pattern Double -> Pattern Double -> ControlPattern Source #

A pattern within a bank of eight, both 1-indexed.

s1modwheel :: Pattern Double -> ControlPattern Source #

Modulation, portamento time and expression, all 0 to 1. s1expression is what s1pump drives, so it stays a plain gain fraction.

s1portatime :: Pattern Double -> ControlPattern Source #

Modulation, portamento time and expression, all 0 to 1. s1expression is what s1pump drives, so it stays a plain gain fraction.

s1pan :: Pattern Double -> ControlPattern Source #

Pan position: -64 hard left, 0 centre, +63 hard right.

s1expression :: Pattern Double -> ControlPattern Source #

Modulation, portamento time and expression, all 0 to 1. s1expression is what s1pump drives, so it stays a plain gain fraction.

s1portamode :: Pattern Double -> ControlPattern Source #

Portamento mode, 1-indexed: 1 OFF, 2 On, 3 Auto.

s1damper :: Pattern Double -> ControlPattern Source #

Damper and portamento switches, 1-indexed: 1 Off, 2 On.

s1portasw :: Pattern Double -> ControlPattern Source #

Damper and portamento switches, 1-indexed: 1 Off, 2 On.

s1finetune :: Pattern Double -> ControlPattern Source #

Oscillator fine tune, 0 to 1.

TODO confirm the span on the device. The manual describes the fine-tune control as covering u00b11 octave but publishes no value range for the CC.

s1transpose :: Pattern Double -> ControlPattern Source #

Keyboard transpose in semitones, -60 to +60 (u00b15 octaves).

s1osclfo :: Pattern Double -> ControlPattern Source #

LFO-to-pitch depth, pulse width, and the four oscillator levels (square, saw, sub, noise), all 0 to 1.

s1oscrange :: Pattern Double -> ControlPattern Source #

Oscillator range, 1-indexed: 1 64', 2 32', 3 16', 4 8', 5 4', 6 2'. At 8' the lowest pad sounds middle C.

s1oscpwm :: Pattern Double -> ControlPattern Source #

LFO-to-pitch depth, pulse width, and the four oscillator levels (square, saw, sub, noise), all 0 to 1.

s1oscpwmsrc :: Pattern Double -> ControlPattern Source #

Pulse-width source, 1-indexed: 1 Env, 2 Manual, 3 LFO.

s1oscbend :: Pattern Double -> ControlPattern Source #

Pitch-bend sensitivity, 0 to 1.

TODO confirm the span on the device; Roland publishes no range for it.

s1square :: Pattern Double -> ControlPattern Source #

LFO-to-pitch depth, pulse width, and the four oscillator levels (square, saw, sub, noise), all 0 to 1.

s1saw :: Pattern Double -> ControlPattern Source #

LFO-to-pitch depth, pulse width, and the four oscillator levels (square, saw, sub, noise), all 0 to 1.

s1sub :: Pattern Double -> ControlPattern Source #

LFO-to-pitch depth, pulse width, and the four oscillator levels (square, saw, sub, noise), all 0 to 1.

s1suboct :: Pattern Double -> ControlPattern Source #

Sub-oscillator waveform, 1-indexed: 1 -2 oct asymmetric, 2 -2 oct, 3 -1 oct.

s1noise :: Pattern Double -> ControlPattern Source #

LFO-to-pitch depth, pulse width, and the four oscillator levels (square, saw, sub, noise), all 0 to 1.

s1noisemode :: Pattern Double -> ControlPattern Source #

Noise waveform, 1-indexed: 1 Pink, 2 White.

s1cutoff :: Pattern Double -> ControlPattern Source #

Cutoff, resonance, envelope and LFO depth and key tracking, all 0 to 1.

s1res :: Pattern Double -> ControlPattern Source #

Cutoff, resonance, envelope and LFO depth and key tracking, all 0 to 1.

s1filterenv :: Pattern Double -> ControlPattern Source #

Cutoff, resonance, envelope and LFO depth and key tracking, all 0 to 1.

s1filterlfo :: Pattern Double -> ControlPattern Source #

Cutoff, resonance, envelope and LFO depth and key tracking, all 0 to 1.

s1keytrack :: Pattern Double -> ControlPattern Source #

Cutoff, resonance, envelope and LFO depth and key tracking, all 0 to 1.

s1filterbend :: Pattern Double -> ControlPattern Source #

Filter bend sensitivity, 0 to 1.

TODO confirm the span on the device; Roland publishes no range for it.

s1ampmode :: Pattern Double -> ControlPattern Source #

Amp control source, 1-indexed: 1 Gate, 2 Env.

s1lforate :: Pattern Double -> ControlPattern Source #

LFO rate and depth, and the four envelope stages, all 0 to 1.

s1lfowave :: Pattern Double -> ControlPattern Source #

LFO waveform, 1-indexed: 1 saw, 2 inverted saw, 3 triangle, 4 square, 5 random, 6 noise.

s1lfomod :: Pattern Double -> ControlPattern Source #

LFO rate and depth, and the four envelope stages, all 0 to 1.

s1lfomode :: Pattern Double -> ControlPattern Source #

LFO mode, 1-indexed: 1 Normal, 2 Fast.

s1lfokeytrg :: Pattern Double -> ControlPattern Source #

LFO key-trigger and tempo-sync switches, 1-indexed: 1 Off, 2 On.

s1lfosync :: Pattern Double -> ControlPattern Source #

LFO key-trigger and tempo-sync switches, 1-indexed: 1 Off, 2 On.

s1attack :: Pattern Double -> ControlPattern Source #

LFO rate and depth, and the four envelope stages, all 0 to 1.

s1decay :: Pattern Double -> ControlPattern Source #

LFO rate and depth, and the four envelope stages, all 0 to 1.

s1sustain :: Pattern Double -> ControlPattern Source #

LFO rate and depth, and the four envelope stages, all 0 to 1.

s1release :: Pattern Double -> ControlPattern Source #

LFO rate and depth, and the four envelope stages, all 0 to 1.

s1envtrig :: Pattern Double -> ControlPattern Source #

Envelope trigger mode, 1-indexed: 1 LFO, 2 Gate, 3 Gate+Trig.

s1polymode :: Pattern Double -> ControlPattern Source #

Sound-triggering mode, 1-indexed: 1 Mono, 2 Unison, 3 Poly, 4 Chord.

s1voice2sw :: Pattern Double -> ControlPattern Source #

Chord voices 2-4 on/off, 1-indexed: 1 Off, 2 On.

s1voice3sw :: Pattern Double -> ControlPattern Source #

Chord voices 2-4 on/off, 1-indexed: 1 Off, 2 On.

s1voice4sw :: Pattern Double -> ControlPattern Source #

Chord voices 2-4 on/off, 1-indexed: 1 Off, 2 On.

s1voice2shift :: Pattern Double -> ControlPattern Source #

Chord voice key shifts, in semitones, -12 to +12.

s1voice3shift :: Pattern Double -> ControlPattern Source #

Chord voice key shifts, in semitones, -12 to +12.

s1voice4shift :: Pattern Double -> ControlPattern Source #

Chord voice key shifts, in semitones, -12 to +12.

s1revlvl :: Pattern Double -> ControlPattern Source #

The onboard reverb and delay, 0 to 1.

s1revtime :: Pattern Double -> ControlPattern Source #

The onboard reverb and delay, 0 to 1.

s1dellvl :: Pattern Double -> ControlPattern Source #

The onboard reverb and delay, 0 to 1.

s1deltime :: Pattern Double -> ControlPattern Source #

The onboard reverb and delay, 0 to 1.

s1chorus :: Pattern Double -> ControlPattern Source #

Chorus TYPE, 1-indexed: 1 OFF, 2-5 chorus types 1-4. Not a level.

s1drawstep :: Pattern Double -> ControlPattern Source #

The advanced oscillator page: draw, multiply, overtone and chop/comb.

s1drawmul :: Pattern Double -> ControlPattern Source #

The advanced oscillator page: draw, multiply, overtone and chop/comb.

s1overtone :: Pattern Double -> ControlPattern Source #

The advanced oscillator page: draw, multiply, overtone and chop/comb.

s1chopcomb :: Pattern Double -> ControlPattern Source #

The advanced oscillator page: draw, multiply, overtone and chop/comb.

Composite controls

s1chord :: Pattern Double -> Pattern Double -> Pattern Double -> ControlPattern Source #

Chord mode in one call: switch voices 2-4 on and set their three key shifts, so one held note sounds a voicing. The S-1's signature feature.

Shifts are in semitones, -12 to +12:

, s1chord 4 7 11 # o -- a major seventh above each played note

s1env :: Pattern Double -> Pattern Double -> Pattern Double -> Pattern Double -> ControlPattern Source #

All four envelope stages in one call.

s1mix :: Pattern Double -> Pattern Double -> Pattern Double -> Pattern Double -> ControlPattern Source #

The oscillator mixer in one call: square, saw, sub and noise levels.

Sidechain

s1pump :: Pattern Bool -> Pattern Double -> Double -> ControlPattern Source #

Duck the S-1 against a ghost sidechain: pump driving expression (CC 11), which is the S-1's only continuous gain stage — it has no CC 7.

Sits in the stack as its own element, never applied to the notes:

, s1pump "1 0 0 0" 0.55 0.75 # o

Device-native variants

Primed variants taking the exact number the S-1 itself displays, for setting a patch to a value read off the unit. The unprimed forms stay 0-1 and are what modulation wants.

Controls already in device units -- s1transpose and the voice key shifts in semitones, s1pan, and every selector -- have no prime, because they are already the number on the display.

Roland publishes 0-255 for s1oscpwm', s1keytrack', s1portatime', s1lforate', s1lfomod', s1filterbend', s1revtime', s1revlvl' and s1dellvl'; s1oscbend' is 0-240 (120 = u00b11 octave) and s1deltime' is 1-740 ms. The remaining primes below carry 0-255 by inference from those documented siblings -- the S-1's front-panel knobs have no published numeric range of their own.

s1cutoff' :: Pattern Double -> ControlPattern Source #

Filter and envelope controls on the S-1's 0-255 scale. s1keytrack' and s1filterbend' are published at 0-255; the rest are inferred from them.

s1res' :: Pattern Double -> ControlPattern Source #

Filter and envelope controls on the S-1's 0-255 scale. s1keytrack' and s1filterbend' are published at 0-255; the rest are inferred from them.

s1filterenv' :: Pattern Double -> ControlPattern Source #

Filter and envelope controls on the S-1's 0-255 scale. s1keytrack' and s1filterbend' are published at 0-255; the rest are inferred from them.

s1filterlfo' :: Pattern Double -> ControlPattern Source #

Filter and envelope controls on the S-1's 0-255 scale. s1keytrack' and s1filterbend' are published at 0-255; the rest are inferred from them.

s1keytrack' :: Pattern Double -> ControlPattern Source #

Filter and envelope controls on the S-1's 0-255 scale. s1keytrack' and s1filterbend' are published at 0-255; the rest are inferred from them.

s1filterbend' :: Pattern Double -> ControlPattern Source #

Filter and envelope controls on the S-1's 0-255 scale. s1keytrack' and s1filterbend' are published at 0-255; the rest are inferred from them.

s1attack' :: Pattern Double -> ControlPattern Source #

Filter and envelope controls on the S-1's 0-255 scale. s1keytrack' and s1filterbend' are published at 0-255; the rest are inferred from them.

s1decay' :: Pattern Double -> ControlPattern Source #

Filter and envelope controls on the S-1's 0-255 scale. s1keytrack' and s1filterbend' are published at 0-255; the rest are inferred from them.

s1sustain' :: Pattern Double -> ControlPattern Source #

Filter and envelope controls on the S-1's 0-255 scale. s1keytrack' and s1filterbend' are published at 0-255; the rest are inferred from them.

s1release' :: Pattern Double -> ControlPattern Source #

Filter and envelope controls on the S-1's 0-255 scale. s1keytrack' and s1filterbend' are published at 0-255; the rest are inferred from them.

s1square' :: Pattern Double -> ControlPattern Source #

Oscillator controls, 0-255 — except s1oscbend', which Roland gives as 0-240, where 120 is a bend range of u00b11 octave and 240 is u00b12.

s1saw' :: Pattern Double -> ControlPattern Source #

Oscillator controls, 0-255 — except s1oscbend', which Roland gives as 0-240, where 120 is a bend range of u00b11 octave and 240 is u00b12.

s1sub' :: Pattern Double -> ControlPattern Source #

Oscillator controls, 0-255 — except s1oscbend', which Roland gives as 0-240, where 120 is a bend range of u00b11 octave and 240 is u00b12.

s1noise' :: Pattern Double -> ControlPattern Source #

Oscillator controls, 0-255 — except s1oscbend', which Roland gives as 0-240, where 120 is a bend range of u00b11 octave and 240 is u00b12.

s1osclfo' :: Pattern Double -> ControlPattern Source #

Oscillator controls, 0-255 — except s1oscbend', which Roland gives as 0-240, where 120 is a bend range of u00b11 octave and 240 is u00b12.

s1oscpwm' :: Pattern Double -> ControlPattern Source #

Oscillator controls, 0-255 — except s1oscbend', which Roland gives as 0-240, where 120 is a bend range of u00b11 octave and 240 is u00b12.

s1oscbend' :: Pattern Double -> ControlPattern Source #

Oscillator controls, 0-255 — except s1oscbend', which Roland gives as 0-240, where 120 is a bend range of u00b11 octave and 240 is u00b12.

s1lforate' :: Pattern Double -> ControlPattern Source #

LFO, performance and portamento controls, 0-255.

s1lfomod' :: Pattern Double -> ControlPattern Source #

LFO, performance and portamento controls, 0-255.

s1modwheel' :: Pattern Double -> ControlPattern Source #

LFO, performance and portamento controls, 0-255.

s1expression' :: Pattern Double -> ControlPattern Source #

LFO, performance and portamento controls, 0-255.

s1portatime' :: Pattern Double -> ControlPattern Source #

LFO, performance and portamento controls, 0-255.

s1finetune' :: Pattern Double -> ControlPattern Source #

Oscillator controls, 0-255 — except s1oscbend', which Roland gives as 0-240, where 120 is a bend range of u00b11 octave and 240 is u00b12.

s1revtime' :: Pattern Double -> ControlPattern Source #

Reverb and delay: levels and reverb time are 0-255, delay time 1-740 ms.

s1revlvl' :: Pattern Double -> ControlPattern Source #

Reverb and delay: levels and reverb time are 0-255, delay time 1-740 ms.

s1deltime' :: Pattern Double -> ControlPattern Source #

Reverb and delay: levels and reverb time are 0-255, delay time 1-740 ms.

s1dellvl' :: Pattern Double -> ControlPattern Source #

Reverb and delay: levels and reverb time are 0-255, delay time 1-740 ms.

s1drawstep' :: Pattern Double -> ControlPattern Source #

The DRAW and CHOP oscillator page, 0-255.

s1drawmul' :: Pattern Double -> ControlPattern Source #

The DRAW and CHOP oscillator page, 0-255.

s1overtone' :: Pattern Double -> ControlPattern Source #

The DRAW and CHOP oscillator page, 0-255.

s1chopcomb' :: Pattern Double -> ControlPattern Source #

The DRAW and CHOP oscillator page, 0-255.

Raw access

s1raw :: Pattern Double -> Pattern Double -> ControlPattern Source #

Any control change by number, taking a raw 0-1 value — the escape hatch for when a calibration above turns out wrong on the device.

, s1raw 74 0.5 # o