Command Reference
Reference for nbcli commands. For more
detailed info, checkout the nbcli commands database. If you are just getting started, please go the nbcli Github repo for
installation instructions and demo code examples.
o-sigv is a segment of the nbcli
research made to allow the modules to be live coded with Orca and other live coding languages that can customize outgoing OSC (Open
Sound Control) messages. Follow instructions on the o-sigv repo for using Orca (desktop or Electron versions) with the modules.
Videos of experiments in live coding with nbcli and modular synthesizers, visual experiments with
and without sound, and performances with the Endemics Collective can be seen here.
Core
sigv [options]
Initialize and start the meta-instrument session
--config
Open configuration file
--b
Change terminal directory to nbcli.
--m string
Load command man page
Examples
sigv --config
new [module] 0 0 [module]
Loading new commands (modules)
module string
Name of module (command)
Examples
new geo 0 0 geo
s [options]
sigv OSC operator
[module] [param] string
Bash operation to call sigv.
function s() { $HOME/sigv/nbcli/max/s "$*" }
Examples
s focus geo
o [options]
Orca osc send utility
[Orca operation] string
Bash operation to call sigv.
Code:
echo "$1" | nc -vuw 0 192.168.x.xx 49160 &
Examples
o "write:H;10;22"
Sonic
aio [options]
sigv audio interface
options string
activate | sigx | sigy | sig | phase | pwr
nbcli.DB.aio
Examples
aio pwr 1
lttp [options]
Listen to the Pictures (LTTP://) standalone element
options string
sub | ch | metro | activate | slider | close | port | pos
| drunk
nbcli.DB.lttp
Examples
lttp activate 1
lttp pos 352
nature [options]
Audio/biquad sensor
options string
bi | mult | peak | mode | sense
nbcli.DB.nature
options:mode morph turn
group tex bloom line
Examples
nature mode bloom 1
nature sense hi 1
midi [options] or note [options]
MIDI interface element.
options string
vol | vst1 | vst2 | vst3 | vst4 | inport | outport | note
nbcli.DB.midi
Note param mostly used for sending a single note
message.
Examples
midi vst1 plug london.vst
wave [options]
Multichannel voice-allocated wavetable synth.
options string
activate | metro | buffer | freq | start | end | env |
vol
nbcli.DB.wave
Examples
wave buffer test.wav
wave activate 1
grain [options]
Gen-based granular synthesizer.
options string
activate | metro | buffer | freq | start | end | env |
vol
nbcli.DB.grain
Examples
grain sample sine.wav
grain density 100
spk [value] and/or [options]
16 channel audio buffer/player element.
Examples
spk 2 read $snd-clips/drumstep.wav
spk 2 open
synth [options]
Internal unit generator synth (beta).
Examples
synth read $snd-clips/drumstep.wav
spk 2 open
Spatial
fpic [options]
main texture buffer name (loaded as tex0)
options string
read | 1 | 2 | 3
Examples
fpic read $arboreal/flocons-bleus.jpg
fpic 2 read $hdri/smog6.exr
morph "[operation]" [repeat value] [repeat duration]
Morphing command for grain, geo and proc (norm)
operation string
statement of the operation to execute
repeat value number
amount of iterations of specified operation
repeat duration string
duration of each repeated value
Examples
morph "geo ^" 250 1
morph "grain position" 2500 1
morph0 "[operation]" [repeat value] [repeat duration]
Morphing command for grain, geo and proc (snorm)
operation string
statement of the operation to execute
repeat value number
amount of iterations of specified operation
repeat duration string
duration of each repeated value
Examples
morph0 "geo ^" 250 1
morph0 "grain pitch" 2500 1
morpha "[operation]" [repeat value] [repeat duration]
[interpolation cycles]
Morphing command for grain, geo and proc (snorm)
operation string
statement of the operation to execute
repeat value number
amount of iterations of specified operation
repeat duration string
duration of each repeated value
interpolation range string
Number of interpolation cycles to tranistion between.
shady [options]
Loads an OpenGL shader in Max Jitter format (.jxs)
options string
vert | x | y | z | frag | rgb | mesh | run | shader
Examples
shady file myshader.jxs
frag [options]
[interpolation cycles]
Create fragment shader.
Shady shortcut to
frag parameter.
options string
GLSL code to execute
lz [options]
Lorenz strange attractor element.
options string
sample | activate | mesh | anim | material | ^ | a | b |
c | dt | val | data | aio | gs | reset | iso | handle | particles | specs | .
nbcli.DB.lz
Examples
lz activate 1
lz sample 1
b1...b7 [options]
3D biome element.
options string
anim | triple | reset | iso | tex | handle | .
nbcli.DB.b1
Examples
b1 read $models/landscape.dae
fx [options]
Post-processing effects in wrld (4 layers)
options (atmospheric) string
color | altitude | density | quality | file | drawto | .
| .. | ...
nbcli.DB.fx
Examples
fx density 10.
rossler [options]
Alpha tester for Rossler strange attractor.
options string
sample | activate | mesh | anim | material | ^ | a | b |
c | d
nbcli.DB.rossler
Examples
rossler activate 1
rossler sample 1
sketch [options]
OpenGL drawing module.
typo [options]
A typography module
options string
text | mode | scale | fontsize | triple | anim | reset |
iso | material | mesh
Examples
typo text hello
typo mode 2d; typo fontsize 72
typo mode 3d
typo scale 2 2 2
bfg [options]
Procedural noise generator module
options string
scale | weight | basis | origin | offset
nbcli.DB.bfg
Examples
geo material diffuse_texture bfg
geo material heightmap_texture bfg
bfg weight 0.36
sky [options]
3D skybox module.
vert [options]
[interpolation cycles]
Create frvertexagment shader.
Shady
shortcut to vert parameter.
options string
GLSL code to execute
biomes [options]
wrld layer for loading biome models
Examples
b1 drawto biomes
biomes anim turn 0 1 0
geo [options]
Parametric geometry module
options string
reset | anim | triple | iso | material | gs1 | gs2 | ^ |
handle | op | export | mesh | aio | vo | slide
nbcli.DB.geo
Examples
geo mesh draw_mode line_loop
geo aio 1; geo aio ^ .1
geo anim scaleto 4 4 4 20
plato [options]
Platonic solid geometry module
options string
reset | anim | triple | iso | material | gs1 | gs2 | ^ |
handle | op | export | mesh | aio | slide
nbcli.DB.plato
Examples
plato mesh draw_mode triangles
proc [options]
Procedural geometry module
options string
gs | clocker | scale | period | time | bfg | slide |
material | mesh | anim | aio | mult
nbcli.DB.proc
Examples
new proc 0 0 proc; sleep 0.5; proc period 0.4; sleep 4; proc period 0.
model [options]
3D model module
options string
handle | iso |
material | mesh | anim | . | tex
nbcli.DB.model
nurbs [options]
NURBS surface module
options string
anim | triple | reset | iso | handle | surf
nbcli.DB.nurbs
som [options]
Module for self-organizing machine learning
options string
activate | q | gen | texture
nbcli.DB.som
options string
size (int) | neighbourhood (int) | learning (float) | plasticity (float)
Examples
som 32 14 0.05 0.
camera [options]
Camera control command in
wrld
Examples
camera position 0 0 4
Examples
monde anim turn 0 0.5 0
specs [options]
Specifications text module.
wrld [options]
3D world context module
options string
visible | enable | size | dim | windowposition
nbcli.DB.wrld
Examples
new wrld 0 0 wrld; wrld size 400 400; wrld dim 400 400
graph [options]
Graph plot module
particles [options]
Basic particle system module
eca [options]
1D elementary cellular automaton
options string
activate | clear | metro | rule | dim | texture
nbcli.DB.eca
terra [options]
Video-based procedural terrain module
options string
reset | coord | op | material | mesh | activate | qt |
anim | aio | gs
nbcli.DB.terra
Kinetic
cv [options]
I/O control voltages via
aio module
options string
tap | bpm | rate | pitch | osci | zero | pwr
nbcli.DB.cv
lfo [options]
Low frequency oscillator (LFO) module
Examples
lfo cycle 0.1 0.03
Pattern
rand [value]
Generate random number (integer)
value number
Maximum number range.
Examples
rand 200
randx [value a] [value b]
Generate random number generator (integer range a b)
value a number
Minimum number range.
value b number
Maximum number range.
Examples
randx 10 25
automata "[operation]" [duration]
Infinite pattern repeater
operation string
Operation to be repeated
duration number
Time of each repetition.
nbcli.DB.automata
Examples
automata "rand 50" 2
tilde [options]
Tilde receiver connector module (accessed via tilde or ~)
options string
set | src | link | tail
nbcli.DB.tilde
options:set string [nbcli
operation]
Examples
tilde set geo ^
tilde src lfoc
markov [options]
Markov machine learning module
operation string
activate | build | dump | reset | order | target
nbcli.DB.markov
gen [start value] [iteration value] [end value]
[duration] [operation]
Main number generator based on Bash
seq command
start value number (int or
float)
Starting sequence number.
iteration value number (int or
float)
Iteration amount.
end value number (int or
float)
Ending sequence number.
duration number (int or
float)
Length of every iteration of sequence.
operation string
Operation to sequence.
nbcli.DB.gen
Examples
gen 0. 0.1 1 0.5 "hello"
rnr [value]
Random float number list generator (0 to 1)
value number (float)
Number of random float results to be printed
nbcli.DB.rnr
Examples
rnr 1
rsr [value]
Random float number list generator (-1 to 1)
value number (float)
Number of random float results to be printed
nbcli.DB.rsr
Examples
rsr 1
count [value]
Audible counter
sfor [limit value] "[operation]" [duration]
C-style loop
limit value number (int)
Loop maximum
operation number (int)
Loop maximum
nbcli.DB.sfor
Examples
sfor 5 "rsr 1" 1
Time
timer [value]
Creates a timer that starts at zero (integer)
value number
Timer in seconds
Examples
timer 7