Data Lab node

Signal Window

Turns any value into a Signal: a uniformly sampled window of the last seconds, with channels, a sample rate and a unit. A float, a point, a colour, an array, a point cloud, an audio or EEG ring, a JSON of numbers — every one of them becomes the same thing, ready for Stats, Spectrum, Compare and Plot. Frame-rate sources are resampled to Sample Rate; audio and EEG keep their native rate.

Inputs

PortTypeDefault
SourceAnything: a float, a point, a colour, an array, a point cloud, an audio or EEG ring, a JSON of numbers, another Signal. Each becomes channels of one Signal — the same thing for every analysis and plot.any0
Time WindowHow many seconds the window keeps (0.05–600). Analyses see exactly this much history.float4
Sample RateFrame-rate sources are resampled to this rate (Hz) so spectra and correlations have a fixed dt; audio and EEG rings keep their native rate and ignore it.float100
Channel ModeFor a point cloud: Centroid (3 channels), Spread (standard deviation per axis), Each Point (x y z per point, up to 64), Distances (each point’s distance to the centroid).int0
UnitPins the unit: u (Grafit units), s, Hz, µV, °, dB, bpm, norm, or any text. Empty = guessed from the cable’s source; the Settings tab shows the guess.string
LabelA name for the channel(s), shown in plots and readouts.string
ResetRising edge empties the window and starts it again.boolfalse

Outputs

PortType
Signalstructure
Latestfloat
Countint
Actual Ratefloat
Readybool
Unit Labelstring

How It Works

Signal Window is the front door of the Data Lab. It turns anything in the graph into a Signal: a uniformly sampled, unit-carrying, multi-channel window of the last few seconds, kept in unified memory.

A float, a point, a colour, an array, a point cloud (Centroid, Spread, Each Point, Distances), an audio or EEG ring at its native rate, a JSON of numbers, or another Signal — every one of them becomes the same thing, ready for Stats, Spectrum, Compare and Plot. Channel Mode decides how a multi-part source is split into channels.

Frame-rate sources are resampled to Sample Rate so that spectra and correlations actually mean something; audio and EEG keep their native rate because they already have one. Actual Rate and Ready tell you what is really arriving, which is the first thing to check when an analysis looks wrong.

The unit is guessed from the cable's source — Grafit units for positions and points, 0…1 for a Timeline's progress, seconds, Hz, degrees, µV only for EEG — shown in the Settings tab and pinnable by typing into Unit. That unit then travels with the data through every analyser and onto Plot's tick labels.

Many Signal Windows run side by side, each on its own source and its own length.

Use Cases

  • Look at a plain float over time — The thing Grafit could not do before: a mouse position, an LFO, a MIDI CC, drawn as a chart.
  • Analyse audio — An audio ring at its native rate into Spectrum or Envelope.
  • Compare two things — Two windows on two sources, both into one Plot, both into Signal Compare.
  • Measure a point cloud — Channel Mode: Spread or Distances turns a cloud into a signal you can watch.
  • Feed the whole lab — Every Analyze node, Plot, Plot 3D, Sonify and Signal Export takes a Signal, and this is where Signals come from.

Tips

  • Check Actual Rate before trusting a spectrum. A frame-rate source cannot tell you about anything above half the frame rate.
  • Time Window is the analysis length: long windows give fine frequency resolution, short ones follow change quickly.
  • Pin the Unit by typing into it when the guess is wrong — every label downstream follows from here.
  • Label names the trace in Plot's legend; name your windows and a four-signal chart stays readable.
  • One window can feed many analysers. Do not duplicate the window just to run two analyses.

Open Signal Window in the interactive catalog →

Signal Window is one of 381 nodes in Grafit Pro.

Free download. Every feature for 7 days, no card. Then €99.99 once — or keep playing your projects as a Player.

More Data Lab nodes