Skip to content

About

ECHOFIELD: a granular instrument built with the VIBE FM SDK. Your sample or your live input, turned into an endless field of grains.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

ECHOFIELD on its stage: the sample, the grains, the modes, the XY pad, the dials and the pads

A free, open-source granular instrument, built with the VIBE FM SDK
One sound (a sample, or whatever comes into the inputs right now) turned into an endless field of grains: slow clouds, sparkles, tape loops and swells, played from the keys, the pads and the knobs.

Play it in your browser · Download · The page · The FM-1 version · Discord

the PLAY page: the sample, the grains, the four dials LIVE: the input granulated as it comes in PULSE following the DAW's tempo, its steps out as MIDI


What it is

ECHOFIELD reads tiny pieces of a sound (grains), dozens at a time, each with its own pitch, place, length and fade, and overlaps them into a sound that never stops moving. It began as a granular sampler for the R36S handheld, became a firmware for the M-VAVE FM-1 (echofield-fm1), and is now a native Vibe: one .wasm that runs in the browser, in your DAW as a plugin, and on the VIBE.

Everything the FM-1 version does is here:

  • Six modes: CLOUD, DUST, TAPE, BLOOM, PULSE and DRIFT, each a different way of playing the same sound.
  • Playable: the keys play the cloud at any pitch, with velocity, chords and a LATCH. The ORACLE plays by itself, picking notes in a key you choose.
  • Performance effects, held: freeze, reverse, octave up and down, stutter, hush, bloom, shimmer, tape stop, sweep and a delay throw.
  • RANDOM with locks and UNDO; RESAMPLE what you hear into a new sound; LISTEN to any sample as it is.
  • The sound after the grains: a filter with drive, a tempo-synced ping-pong delay, a reverb with shimmer, and tape (wow, flutter, age, hiss).
  • 14 factory sounds (CC0), 15 factory presets and 16 of your own.

What only the VIBE can do

The FM-1 has one small screen, four knobs, no audio input and 4 MB of memory. A Vibe has a lot more, and ECHOFIELD uses all of it:

LIVE: the audio inputs, granulated IN 1, IN 2 or both go into a ring of up to 8 seconds, and the grains read from it while it fills. Play a guitar, a voice or another synth and ECHOFIELD clouds it in real time. FREEZE stops the ring and holds the moment, playable on the keys. KEEP puts the ring into a slot. DRY mixes the input in beside the cloud.
REC IN record the input straight into a slot (up to 16 seconds), named and saved, then granulate it.
16 pads, three ways SLICE: 16 places across the sample, played with velocity. FX: the performance effects, held, plus FREEZE, PLAY, RANDOM, UNDO and LISTEN. SLOTS: the 16 sample slots, heard while held. The pads light up to show where you are.
The 480 × 320 screen the whole sample with every grain on it: where it reads, how high (its pitch), how loud, left or right (its colour). Four dials, the page, the mode, the preset, a level meter, PULSE's steps, the ORACLE's note, the bank as a grid, a file browser.
A stage (960 × 540) in the Playground and the plugin, ECHOFIELD opens on a big face of its own: drag the sample's position and its START / END, an XY pad for TEXTURE / SCATTER, the mode tabs, the page's four dials, the 16 pads and the main buttons, all clickable. Everything on it is also on the device.
Four knobs, plus A, B and DATA encoders 1 to 4 are the four values on each of 16 pages; A is the mode, B the presets, DATA the playhead (with SHIFT: fine).
The DAW's song position PULSE steps and the delay lock to the host's tempo and beat. SYNC PLAY starts and stops the endless sound with the DAW's transport.
MIDI out PULSE's steps go out as MIDI notes, on the beat, to drive another synth.
Memory full-length factory sounds (8 s each instead of the FM-1's 2 s), 16 slots of up to 16 seconds, an 8-second live ring, 48 grains at once.
Samples and storage LOAD any WAV (8, 16, 24 or 32-bit, float, mono or stereo, any rate) from the card, a USB stick or a folder, or drop one onto the plugin. EXPORT a slot as a WAV. Slots, presets and the session are saved by themselves.
The plugin's Editor every parameter is automatable, in named groups, with help texts, an XY pad and a mode menu.
A second core the grains are shared between the audio flow and a worker job, as the FM-1's two cores did.

LIVE frozen: the moment held BANK: the 16 slots HOME: what every control does

Get started

  1. In your browser: open the VIBE FM Playground, download echofield.wasm from the latest release and drop it onto the device (or choose Load your own .wasm). Press PLAY, or click PLAY on the stage.
  2. In your DAW: install VIBE FM VST (VST3, AU, CLAP and a standalone app; free) and drop echofield.zip onto its window.
  3. On the VIBE hardware, when it comes: the same echofield.zip, nothing to change.

Chrome or Edge in the Playground can use your MIDI keyboard and your audio input (for LIVE and REC IN).

Playing it

The house layout of every Vibe: K1 to K6 choose a group, pressed again they step through its pages. Encoders 1 to 4 are the four values shown above F1 to F6, whose captions are on the screen. HOME shows what every control does on the page you are on.

Control
Keys play the cloud at any pitch (C4 is the sample's own); velocity, chords, LATCH
PLAY / STOP the endless sound on and off / everything quiet
REC RESAMPLE what you hear into a slot · SHIFT + REC: REC IN
Encoder A the mode: CLOUD, DUST, TAPE, BLOOM, PULSE, DRIFT
Encoder B / MENU the presets: the one you stop on plays
DATA the playhead (POSITION); push: LISTEN
SHIFT + an encoder lock that value from RANDOM
F1 to F6 FREEZE · RANDOM (SHIFT: everything) · UNDO · LISTEN · PADS (SLICE, FX, SLOTS) · SAVE
ENTER held FOCUS: every control on the screen with DATA and ENTER
Group (key) Pages: the four values
SOUND (K1) PLAY: texture, scatter, drift, evolve · COLOUR: pitch, harmony, space, tape
GRAIN (K2) GRAIN: size, density, envelope, tone · MOTION: scan, reverse, pitch random, size random
KEYS (K3) KEYS: attack, release, key mode, velocity · MIDI: MIDI out, sync play, oracle hold, level
ORACLE (K4) ORACLE: on, root, scale, activity · ORACLE 2: ambiguity, range, glide, drone
FX (K5) FILTER · DELAY · REVERB · TAPE · MIX: width, level, input gain, dry
SAMPLE (K6) SAMPLE: slot, start, end, position · LIVE: source, input, buffer, dry · BANK: the 16 slots

On the SAMPLE pages the F keys are LOAD · REC IN · RESAMPLE · LISTEN · EXPORT · CLEAR (SHIFT + F6); on LIVE they are LIVE · REC IN · KEEP · FREEZE · PADS · SAVE.

How it works

Grains are integers, as on the FM-1: positions in 20.12 fixed point, Q15 windows, Q14 pan, read straight from 16-bit PCM in memory, at the host's own sample rate (any rate from 22 to 96 kHz, any block from 1 to 256 frames). The effects run at half rate where the ear does not notice. The audio flow never waits: a new sample is written into a spare region and swapped in between blocks; the LIVE ring is written by the audio flow and read with its moving head in mind, so a grain never crosses it. Odd grains are rendered by a worker job, bit-identical in any order.

DESIGN.md in the FM-1 repository explains the engine.

Building from source

You need Zig 0.13.0 (its clang compiles C to WebAssembly) and Python 3 (standard library only).

git clone --recursive https://github.com/Philip-Bos/echofield-vibe.git
cd echofield-vibe && sh tools/build.sh

That makes build/echofield.wasm and build/echofield.zip. Check it with the SDK's checker:

node vibe-sdk/tools/vibe-check.mjs build/echofield.wasm
echofield/ the firmware: main.c (events, audio, drawing), engine.c (the granular engine), params.h, presets.h, bank.h (slots, WAV in and out, the browser), ui.h (the screen, the pads), stage.h (the stage), firmware.json, icon.png
sounds/ the 14 factory sounds as WAV (CC0); tools/gen_factory.py packs them into the firmware as IMA ADPCM
tools/ build.sh, gen_factory.py, prepare_sounds.py (how the factory WAVs were made from the originals)
vibe-sdk/ the VIBE FM SDK, a pinned git submodule (Apache-2.0)
docs/ the page and its screenshots

Credits

  • ECHOFIELD (the engine, the instrument, the factory sounds) is by Philip Bos (PhilipsKnobs), ported here from ECHOFIELD for the FM-1 and the R36S original.
  • Built with the VIBE FM SDK by Sven Trogus (zvenson), Apache-2.0. The display fonts in the SDK are Roboto Condensed (Google) and Archivo (The Archivo Project Authors), SIL OFL 1.1.
  • The FM-1 version was built on fm1-base by Charles Vestal and felucca-bsp by Leo Kuroshita (Hügelton Instruments). None of their code is in this Vibe, but ECHOFIELD would not exist without them.

Questions and ideas

Come and say hi on the Discord, or open an issue.

Support

ECHOFIELD is free and stays free. If you enjoy it, you can buy me a coffee on Ko-fi ☕

Licence

ECHOFIELD is MIT (LICENSE). The factory sounds are CC0. The VIBE FM SDK is Apache-2.0 and its fonts SIL OFL 1.1; LICENSING.md says which licence covers which file.

Built with the VIBE FM SDK. "VIBE FM" is a trademark of Sven Trogus; M-VAVE and FM-1 are trademarks of their owners. ECHOFIELD is an independent project.

About

ECHOFIELD: a granular instrument built with the VIBE FM SDK. Your sample or your live input, turned into an endless field of grains.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages