Skip to Content

Device

Device-specific inputs like camera capture, screen size, and sensor data. Connect your compositions to the real world.


Audio Analysis

Source

Analyzes audio stream and outputs frequency bands. Attack controls how fast values rise on beats (0 = instant, 0.15 = default). Decay controls how slowly values fall after a beat (0.92 = default, smooth falloff). Sensitivity multiplies all outputs.

Inputs:

NameTypeDefaultDescription
audioAudioStream-Audio stream to analyze
sensitivityNumber1.00Amplitude scaling factor
attackNumber0.15Rise speed (0 = instant, 1 = slow)
decayNumber0.92Fall speed (0 = instant, 1 = never falls)

Outputs:

NameTypeDescription
amplitudeNumberOverall volume level (0–1)
bassNumberLow frequency energy 20–200 Hz (0–1)
midNumberMid frequency energy 200–2k Hz (0–1)
highNumberHigh frequency energy 2k–20k Hz (0–1)

Related: Audio File, Audio Player, Frequency Band, MIDI Controller, Mic Input


Audio File

Source

Load an audio file for analysis and optional playback. Connect to Audio Analysis to visualize frequency bands. Connect through Audio Player to hear it. Analysis mode controls FFT size: Fast (~32ms latency), Balanced (~43ms, default), Detailed (~85ms). Supports MP3, WAV, AAC, M4A, AIFF, CAF.

Inputs:

NameTypeDefaultDescription
pathString-Path to audio file (MP3, WAV, AAC, M4A, AIFF, CAF)
timeNumberScene TimePlayback position in seconds
loopBooleantrueLoop playback when reaching end
latencyOptionBalanced (~43ms) (options: Fast (~32ms), Balanced (~43ms), Detailed (~85ms))Analysis quality — Fast: lowest latency (~32ms), Balanced: good tradeoff (~43ms), Detailed: best resolution (~85ms)

Outputs:

NameTypeDescription
audioAudioStreamAudio stream for analysis or playback
durationNumberTotal file duration in seconds
progressNumberPlayback progress as 0–1

Related: Audio Analysis, Audio Player, Frequency Band, MIDI Controller, Mic Input


Audio Player

Output

Controls audible playback of an audio stream. Adjust volume or mute output. Pass-through: downstream analysis nodes still receive the stream. Muting silences speakers but analysis continues.

Inputs:

NameTypeDefaultDescription
audioAudioStream-Audio stream to play
volumeNumber1.00Playback volume (0 = silent, 1 = full)
muteBooleanfalseMute output without disconnecting

Outputs:

NameTypeDescription
audioAudioStreamPass-through audio stream

Related: Audio Analysis, Audio File, Frequency Band, MIDI Controller, Mic Input


Frequency Band

Transform

Extracts energy from a custom frequency range. Use for targeting specific frequencies like sub-bass (20-60Hz), kick drums (60-150Hz), or vocals (300-3000Hz). Attack/decay control smoothing. Trigger fires on onset detection in this band — use for beat-reactive effects scoped to a frequency range.

Inputs:

NameTypeDefaultDescription
audioAudioStream-Audio stream to analyze
minFreqNumber20.00Band lower bound in Hz
maxFreqNumber200.00Band upper bound in Hz
sensitivityNumber1.00Energy scaling factor
attackNumber0.15Rise speed (0 = instant, 1 = slow)
decayNumber0.92Fall speed (0 = instant, 1 = never falls)

Outputs:

NameTypeDescription
energyNumberEnergy level in the frequency range (0–1)
triggerNumber1.0 on onset in this band, 0.0 otherwise

Related: Audio Analysis, Audio File, Audio Player, MIDI Controller, Mic Input


Mic Input

Source

Captures live audio from device microphone. Select input device from dropdown. Latency controls FFT size: Fast = lowest latency (~32ms, best for beat triggers), Balanced = good tradeoff (~43ms, default), Detailed = best frequency resolution (~85ms, best for spectrum visualizers).

Inputs:

NameTypeDefaultDescription
latencyOptionBalanced (~43ms) (options: Fast (~32ms), Balanced (~43ms), Detailed (~85ms))Analysis quality — Fast: lowest latency (~32ms), Balanced: good tradeoff (~43ms), Detailed: best resolution (~85ms)

Outputs:

NameTypeDescription
audioAudioStreamLive microphone audio stream

Related: Audio Analysis, Audio File, Audio Player, Frequency Band, MIDI Controller


MIDI Controller

Source

Learn MIDI controls from a device.

This node is polymorphic - it works with multiple input types automatically.

Inputs:

NameTypeDefaultDescription
deviceOption(No device) (options: (No device))MIDI input device to learn from

Outputs:

No outputs

Related: Audio Analysis, Audio File, Audio Player, Frequency Band, Mic Input


Video Capture

Source

Live camera feed as texture with optional depth (iOS).

This is a surface shader node - it can be connected to rendering nodes.

Inputs:

NameTypeDefaultDescription
cameraOptionFaceTime HD Camera (options: FaceTime HD Camera, iPhone 🙀 Camera)Camera device
mirrorBooleantrueHorizontally flip the output

Outputs:

NameType
colorVisual Output
depthVisual Output
colorDimensions2D Vector
depthDimensions2D Vector
intrinsicsFloat3x3

Related: Audio Analysis, Audio File, Audio Player, Frequency Band, MIDI Controller


Viewport Size

Source

Current viewport size in pixels. Use for responsive layouts.

Inputs:

No inputs

Outputs:

NameTypeDescription
result2D VectorCurrent viewport dimensions in pixels

Related: Audio Analysis, Audio File, Audio Player, Frequency Band, MIDI Controller


Last updated on

Apple and the Apple logo are trademarks of Apple Inc. sxp.studio and Subjective Designer are not affiliated with Apple.