Skip to content
Alejo-endPublic

About

A live stereo sampler and mangler for norns.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

326 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

four

four is a live sampler for norns. Record a synth, a drum machine or any line-level sound onto four stereo tracks. Then loop, stretch, grain and filter the takes while you play.

The website shows every page on four's real screen: alejo-end.github.io/four-site.

four on a norns shield XL in its black case, the VOICE page in GRAIN on the screen

A render of four on a norns shield XL (a shieldXL on a Raspberry Pi 4) in the shieldXL snug case, printed in black PETG. The screen is four's own: the VOICE page in GRAIN.

What it does

Each track records its own take of up to 60 seconds and loops it. The take then runs through the track's own chain:

  • A voice. PLAY is the take as tape, with varispeed. GRAIN sprays it into a cloud of stereo grains. WARP and PV change the speed and keep the pitch. CLOUD is Mutable Instruments Clouds. GRAIN can also read the line input as it comes in (its source LIVE), with no take, and lock what it heard into a take.
  • A diode ladder filter (low-pass, high-pass or band-pass), then drive and crush.
  • Two effect slots in series, each one of nine types: chorus, flanger, wobble, resonator, ring modulator, echo, pitch shifter, frequency shifter or vowel filter.
  • Sends to the other tracks, to a shared bucket brigade delay and to a shared room reverb.

Under the tracks runs a tape loop that records what four plays, or the input alone. PADS cuts the loop into eight slices, and a step sequencer can play them. SCENE keeps whole sounds in eight slots and crossfades between two of them. MOTION loops your knob moves, and eight modulators move the sound around where you left the knobs.

Everything sits on the three keys and three encoders of the norns. A grid is optional, and every parameter maps to MIDI.

Requirements

  • A norns with current software. four is tested on a norns shield with a Raspberry Pi 4.
  • A line-level sound on the norns input.
  • Optional: a monome grid or a Launchpad Mini MK3. Other Launchpad and APC models work through midigrid.
  • Optional: a MIDI controller, a USB typing keyboard or a crow.

Install

In maiden, type this line:

;install https://github.com/Alejo-end/four

Then do SYSTEM > RESTART and pick four from SELECT. That is all: the restart also installs four's plugin, and there is nothing to build.

The plugin

Part of four's sound comes from its own plugin, FourStretch. It is C++ code for SuperCollider, written for four. It gives WARP and PV their clean time-stretch, CLOUD its Clouds, and the delay and the reverb their bucket brigade and room.

The plugin installs itself during the restart after the install. When four loads, maiden's SuperCollider tab says four: FourStretch on. If four's screen ever says PLUGIN INSTALLED / SYSTEM > RESTART, for example after an update, do one more restart.

On a norns where the plugin does not fit, four plays simpler stock versions of the same voices and effects. Everything else works the same. To build the plugin yourself, see ugen/README.md.

First minutes

  1. On TAKE, press K2, play something, then press K2 again. The take loops.
  2. E2 and E3 move the start and the end of the loop.
  3. Turn E1 to VOICE and press K3 to step through the voices.
  4. Go on to FILTER and EFFECT and turn things up.
  5. On DELAY or REVERB, turn E2 (WET) up: the track in focus starts sending at half (T1 SENDS 50%). To set a send there, hold K3 and turn E2 (E3 picks the track). The sends are also on TRACKS: hold K1, turn E2 to D or R and turn E3.
  6. Hold K1 and turn E1 two clicks to pick track 2 (the first click shows the mix). Record a second take there.
  7. On SCENE, press K3 to capture the sound. Change things, then hold K1 and turn E3 to fade back to it.

Three moves work on every page. K1 + K2 stops and starts everything. A tap of K1 + K3 turns every effect off. K1 + E1 shows the mix of the four tracks: there E1 picks a track, E3 sets its level and E2 its pan (on DELAY and REVERB, its send). On TRACKS, K1 + E1 only picks the track.

The tempo is on SCENE (K1+E2), and PARAMS > CLOCK > source follows MIDI clock. Hold K1 on MASTER to see where the input goes: the norns MONITOR and four's DRY/WET both pass it through, with no effect on it. The guide explains both (the clock, the input).

The pages

The twelve pages of four

TAKE, VOICE, TRACKS, TAPE, FILTER, EFFECT, DELAY, REVERB, MASTER, PADS, MOTION and SCENE. E1 moves between them. The bottom line of the screen names what K2, K3, E2 and E3 do on each page. MASTER was called MIX: its params keep the names mix and so on.

The screen in motion

TAKE records a take and lands it VOICE in GRAIN
TAKE records 6 s and lands the take VOICE in GRAIN, grains spraying from the read head
EFFECT steps its ten machines SCENE fades from A to B
EFFECT steps its ten machines SCENE fades from A to B and back

Every page and voice has its own GIF in doc/gifs. They are four's real frames at 15 frames a second, rendered without hardware by python3 test/uisim/gifs.py.

Documentation

Status and known limits

four is in public beta. It is built, measured and played on one norns: a shield with a Raspberry Pi 4 and the 32-bit norns system.

  • The plugin in this repo is built for that system. It is made to load on other norns too (the original norns, a shield on a Raspberry Pi 3, or a norns with a 64-bit kernel), but nobody tried it there yet. Where it does not fit, four plays its stock voices.
  • SuperCollider gets one processor core on a norns, and the sound drops out above about 60% load. Four CLOUD tracks take about 30%, or 40% in SPECTRAL mode. A track set to OFF costs nothing, but a CLOUD track keeps working in silence, so set the tracks you do not use to OFF (hold K3 on TRACKS and turn E3 to OFF).
  • The supported set: four PV tracks at pitch 2, each with drive, both effect slots and both sends, with the delay and the reverb on. Measured on a Pi 4, it takes about 57% with no dropout. PLAY, GRAIN at its default density and CLOUD outside SPECTRAL cost less. PV above pitch 2, or GRAIN at density 200, on several tracks with every effect on goes past the limit (about 65%). The header shows CPU when the load comes near the limit.

Known issues in this beta:

  • CHORUS and FLANGE cut a steady tone in short dips where their copy is in opposite phase. That is how a chorus and a flanger sound.

If something does not work, please open an issue on GitHub.

Credits and license

four is free software under the GNU General Public License v3. You can use it, change it and share it.

CLOUD is Mutable Instruments Clouds by Emilie Gillet (MIT license), as Volker Böhm ported it to SuperCollider in mi-UGens (GPL v3). The copied code and its notices are in ugen/vendor.

About

A live stereo sampler and mangler for norns.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages