naprava

audio visual value engine by naprave

One realtime graph for media, values, motion and light.

inputs

OSCRESTMIDImediasensors

everything enters the same graph

core

filterpluginsLuakeyframesrouting

lean C++20 · 100 Hz tick · 60 fps video

outputs

screensaudio3DDMXArt-NetWAV/MP3MP4

everything leaves the same graph

the program

One graph for everything

Sources, effects, values, screens and lights are all components. Patch them in one live graph and the core streams audio, video, notes and values through it in realtime.

the patch is the show · live graph
drag to pan · wheel to zoom · lua tick · value ports

Connect media players, audio filters, MIDI voices, 3D models, value components, generators, triggers and presets. Drag from an out port to an in port, click a wire to remove it. Value ports carry numbers through Lua and out to OSC, DMX and the state tree. Every component runs its own Lua tick: read inputs with param(), write outputs with setparam(), reach the state tree with np.get / np.set. Audio-rate filter nodes sit between sources and outputs, note links carry pitch and velocity, and a kf node brings timeline keyframes into any input. Patch routing like Pure Data or Isadora.

−100%+1:1
patch: themes.json12 nodes · 10 links · lua tick 100 Hz

audio rate · video textures · value scalars · trigger pulses · note bus

one patch saves graph, media, timeline, tracker, mixer, output and DMX · value ports reach OSC, HTTP and the state tree

general core

A general core, built for realtime

Not a fixed player. A C++20 runtime where components, data streams, routing, filters, math, scripts and plugins share one tick and one state tree.

Every value is a path

Components, parameters, media players, mixer strips and output maps live in one state tree. Every value is addressable from the graph, HTTP, OSC or Lua without a translation layer.

Media stays live

Audio and video are decoded into memory and streamed through the graph. Loop, trim, pitch, gain, mix and route without an export step; changes land on the next tick.

One tick, many engines

A fixed control tick runs the graph while audio and video run on their own clocks. Video renders at up to 60 fps, DMX sends at 60 Hz, and the audio callback never waits for a browser frame.

Script the whole tree

Every component can run Lua: read pins with param(), write pins with setparam(), reach the state tree with np.get / np.set, react to triggers and ease any port.

Audio has its own graph

The filter node runs at audio rate: low, high, band, notch, peak, shelf and allpass responses; 12, 24 or 48 dB slopes; drive and dry/wet. Its envelope follower and LFO sweep cutoff, and the follower level and effective cutoff are value outputs.

Plugins are nodes

VST3, CLAP and LV2 instruments and effects host in the core. Parameters appear as labelled graph inputs with their real ranges, state travels inside the patch, and note-capable plugins receive the note bus.

Keyframes are values

Up to 16 timeline tracks follow transport time. A kf node exposes them as value outputs, so a curve can drive a 3D model, a filter, a mixer level or any parameter that has an input.

Bounce to a file

Render a patch or song order to PCM16 WAV, MP3 or H.264/AAC video. The graph, tracker, media and plugins run offline; audio renders skip the audio device, while video needs a display or Xvfb and captures the core output, not the browser UI.

100 Hz control tick · 60 fps video · 60 Hz Art-Net · 8–64 mixer channels · 16 keyframe tracks · audio callback independent of render

media

Media in, manipulated live

Decode audio and video into RAM, load images and GLB models into the same slot list, then loop, trim, pitch, gain and route each one into the graph. No export step: media plays and changes live.

float PCM in RAM · shared slots for audio, video, images and models · live loop, trim, pitch and gain

media slots · live preview

Load images, video, audio and GLB models into shared slots. The selected slot becomes the keyboard instrument: play it pitched from its root note, set gain, trim and loop, and audition before it hits the graph. Each slot keeps its own root note, gain, loop and trim.

01intro.mkvvideo
02drums.wavaudio
03loop_a.mkvvideo
04bass.wavaudio
05stage.glbmodel
06outro.mkvvideo
preview · C-5 · pitched
root C-5 gain 1.00 trim 0.00–12.4s loop on
Z S X D C V G B H N J M

arrangement · mix

F1 overview · song order and mixer

Set the order and mix channels with volume, pan, mute, solo, effects and output routing. Eight channels by default, up to sixty-four, with live meters from the core.

0100
0201
0302
0401
0500
0603
03:12 total
F2 tracker · patterns and arrangement

Sixteen channels of notes and events in the style of Impulse Tracker, with its keyboard conventions where they help.

F1 overview · F2 tracker · F3 graph · F4 media · F7 timeline · F9 configuration · space play/pause · F5/F6/F8 transport

motion

Models and moves in the same patch

A GLB node loads a glTF model, renders it offscreen and emits it as video like any other source. Timeline tracks drive its position, spin, camera or any other input while the transport runs.

model and timeline · F7
glb1 · offscreen texture · kf1:1 → glb1:11

Drop a .glb into a media slot, select it on a glb node and connect the video output to a screen. Transforms are ordinary value inputs, so HTTP, OSC, Lua or a kf node can move the model. Up to sixteen tracks evaluate at the transport time; points interpolate linearly and clamp outside the first and last point.

glb1 · stage.glb · 24.1k tris
pos 0.00 0.00 0.00 rot 0.00 24.0 0.00 spin y 12.0 loaded 1
timeline 0:04.280 3 of 16 tracks · follows /transport/time
0s4s8s12s
x
-4.00
spin y
32.4
camera yaw
18.0
kf1:0 → glb1:1 kf1:1 → glb1:11 kf1:2 → glb1:27
Fit or world space

fit 1 centres and frames the mesh for turnarounds. Set fit 0 to keep the file's own units and origin when the model has to cross the frame.

Look and light

Colour, opacity, metallic, roughness, emissive, wireframe, camera and up to eight light parameters are value inputs, so a fader or a keyframe can drive them.

One model, many screens

The rendered texture is video output. Route it to a screen node, a video wall or a projector output, and the model becomes part of the same show.

light

The same graph drives the room

Map graph values to LED strips, reflector washes, moving heads and fog machines, and map video onto any surface. One state tree, one patch, one output chain.

DMX and video output · F9 configuration

Map the output onto a single screen, a video wall, a dome or a mesh you drag by hand. Then map graph values to LED strips, reflector washes, moving heads and fog machines with the DMX buffer builder: width, repeat and stride fill whole fixture runs, with a live channel preview.

composite out · mesh mapped
single wall dome mesh
DMX mapper art-net · universe 0 · 60 Hz
width 3 repeat 10 stride 3 lua norm → byte
LED strip u0 · ch 1–30 · RGBW × 10
hsv1.out0..2
Reflector wash u0 · ch 31–34 · RGBW
preset1.out0..3
Moving heads u0 · ch 35–42 · pan / tilt
gen1.out0..1
Fog machine u0 · ch 43 · burst
trigger1
ch 143 channels

One mapping fills a whole fixture run: graph values become pixels, wash colours, mover positions and fog bursts.

Scriptable and addressable

A lighting desk, a sensor, a script, a MIDI controller or another machine can read and write any value in the core. One path namespace covers graph pins, transport, tracker, mixer, timeline and DMX.

websocket set + cmd · HTTP · OSC · Art-Net · USB DMX · serial DMX

http / osc / websocket

curl 'http://core.local:8080/values/preset1/0/1'
curl 'http://core.local:8080/values/generator1/gain/0.5'
oscsend core.local 7777 /values/preset1/0 i 2

{"t":"set","p":"/graph/glb1/pos_x","v":1.5}
{"t":"set","p":"/transport/bpm","v":132}
{"t":"cmd","c":"play"}

Presets, generators, filters, components, media sources, 3D models and plugin parameters expose the same value ports. Bind them in the graph, drive them from a controller, or load a whole patch over websocket.

a patch is the whole traveller: graph, media, timeline, tracker, mixer, output and DMX

offline

Bounce the whole patch

Turn a patch or a song order into WAV, MP3 or video. Audio renders run without an audio device; video renders need a display or Xvfb and capture the core output, not the browser UI. The graph, tracker, media and plugins run as fast as the machine allows, then the process exits.

--render-duration · --render-tail · --render-rate · --render-bitrate · --render-video-fps · --render-video-bitrate · plugins and media must be local

naprava-core / render

./build/naprava-core --patch data/patches/fatty.json \
  --render-wav fatty.wav

./build/naprava-core fatty.json --render-mp3 fatty.mp3

./build/naprava-core --patch fatty.json --render-video out.mp4 \
  --render-duration 30 --render-tail 2 --render-rate 48000 \
  --render-video-fps 30 --render-video-bitrate 8000

WAV is PCM16, MP3 defaults to 320 kbps, and video is H.264 plus AAC at 30 fps. The default length is the full song order plus a release tail. Audio-only renders also disable video; use one render format per run.

useful for sharing a take, mastering elsewhere, uploading a video or checking a patch without watching the transport

One seat, many machines

naprava-ui is a thin client. Each core owns its state, its media, its timeline and its outputs; the ui sends paths and renders snapshots. Add a computer, add a core, and scale screens, channels or fixtures without rewriting the show.

front: naprava-ui one seat, any browser, the whole show on one screen · back: naprava-core mini pcs behind large displays and projections, one to three screens each · on the wire: /transport/play /mixer/1/vol /values/preset1/0 /dmx/status ws json + osc + art-net · drag to orbit, scroll to zoom

We build the room with you

The cluster above is not a demo setup, it is how naprava shows run. Our team designs, builds and supports multimedia installations on naprava, from first sketch to opening night.

media work, licensing and support · we answer personally

installations by naprave.net

Want a wall, a facade, a room that reacts? Our team designs, builds and supports multimedia installations on naprava.

Tell us about your space.

info (at) naprave (dot) net

naprava is coming soon

Leave your email and we'll write when it's ready. No spam, one mail, that's it.

we store your email and ip until launch, only to send you that one mail. nothing shared, no newsletters. write info (at) naprave (dot) net and we remove you.

Linux oriented · C++20 core · websocket UI · OSC + HTTP · Art-Net · VST3 / CLAP / LV2 · offline WAV / MP3 / video