Processing Blocks
Raw Data
Pass the signal to the learning block almost unchanged, so the neural network can find its own patterns.
Try it in StudioOn this page
What is this block?
Raw Data is the simplest processing block. It hardly changes the signal: it scales the values and lines them up into one long list of numbers. It is available in Motion and Audio projects.
Why do we use it?
Other blocks, such as Spectral Analysis or MFE, decide in advance which features matter. Raw Data does not. It gives the learning block the whole signal and lets the neural network learn the patterns itself. This works well with convolutional networks, which are good at finding shapes in a signal.
How does it work?
For every window, the block:
- Motion only: resamples the window to the impulse's Frequency (Hz), so every window has the same number of rows even if recordings were made at different rates.
- Multiplies every value by Scale axes.
- Rescales all values in the window into the range 0 to 1 (min-max scaling).
- Lines the values up into one flat list.
What input does it receive?
- Motion: one window of sensor data, with every axis you selected (for example accX, accY and accZ).
- Audio: one window of sound samples.
What output does it produce?
One number for every sample in the window:
| Project type | Example | Output size |
|---|---|---|
| Motion | 1000 ms window, 100 Hz, 3 axes | 100 × 3 = 300 numbers |
| Audio | 1000 ms window at 16 000 Hz | 16 000 numbers |
What do its settings mean?
| Setting | Default | What changing it does |
|---|---|---|
| Scale axes | 1 | Multiplies all values before they are scaled to 0–1. |
Raw Data has no other settings in Studio. Resampling (Motion), scaling to 0–1 and flattening always happen.
Simple example
Motion: you record a "circle" and a "zigzag" gesture at 100 Hz with a 1000 ms window. Raw Data gives 300 numbers per window. A 1D Convolutional learning block can learn the shape of each movement from those numbers.
Audio: a 1-second clip at 16 kHz becomes 16 000 numbers. The model must learn everything from scratch, which needs more data than with MFE or Spectrogram.
When should I use it?
- Motion: use it with the 1D Convolutional learning block when the shape of the movement matters, or as a quick first test.
- Motion: try Spectral Analysis instead for repeating movements and vibration, or Flatten for slow, steady movements.
- Audio: try MFE or Spectrogram first. They give a much smaller input that matches how sound works, so models usually learn faster and better. Use Raw Data for audio only to compare.