The SoundString - Audioshaped String in Geometry Nodes

codesignprojects in Simulations & Effects


Documentation

This Geometry Nodes setup, titled "The SoundString," uses a Simulation Zone to create a curve whose radius is scaled frame-by-frame based on audio input. It acts like an oscilloscope or seismograph recording the music: as time progresses, the current audio amplitude dictates the radius of the specific curve index corresponding to that frame, leaving behind a 3D audio-shaped trail.

Quick Setup

  1. Add the Geometry Nodes modifier to any curve object.

  2. Locate the AUDIO frame.

  3. Assign your desired audio file (.mp3 or .wav) to the Sample Sound Frequencies node.

  4. Play the timeline from Frame 0. The curve will begin scaling dynamically, index by index, in sync with the audio track.

How it Works (Technical Breakdown)

  • Curve Initialization: The Resample Curve node defines the "resolution" of the recording by setting how many control points exist on the curve. This determines how many frames of audio data can be visualized.

  • The Simulation Loop: Inside the Simulation Zone (frames SET CURRENT VALUE TO RADIUS), the tree compares the current Scene Time (Frame) against the Index of the curve points. When the frame number matches a point's index, it samples the real-time audio amplitude from the Sample Sound Frequencies node and applies it to that specific point's Radius via the Set Curve Radius node. Because it is in a simulation zone, previous frames retain their scaled radius permanently.

  • The Leading Spike: To give the visualization a smooth, dynamic tip rather than a blunt edge where the audio is currently being written, the Set leading "Spike" radius with taper frame uses boolean math to identify the points immediately ahead of the current frame and tapers their radius using a Map Range node.

  • UV Mapping & Meshing: After the simulation, the tree captures the Spline Parameter to generate clean UV maps, then uses Curve to Mesh (with a circular profile) to turn the scaled curve data into renderable 3D geometry.

    Customization

    • Audio Intensity: Adjust the Map Range node connected directly to the Sample Sound Frequencies node. Modifying the "To Max" value changes how thick/wide the curve gets at peak audio volumes.

    • Spike Length: In the Leading Spike length frame, change the Value node to determine how many points ahead of the current frame are tapered.

    • Curve Shape: You can manually edit the base curve in Blender's Edit Mode. The simulation will travel along whatever shape you draw, simply updating the radius as it goes.

$3.90$2.54

Have questions about this product?
Login to message

Details
Sales 10+
Rating
2 ratings
Published over 3 years ago
Blender Version 3.6 - 5.3
Render Engine Used Cycles, Eevee
License Editorial