Sounds & Audio |
← Rendering & Textures · Contents · Animation & Video →
Surface Explorer 4D features a dedicated audio engine that supports both physical audio tracks and procedural synthesizers, allowing you to combine breathtaking visuals with dynamic soundscapes.
Supported Formats |
The library recognizes two types of audio elements within the Sounds tab:
.mp3, .wav, and .ogg files. These are automatically labeled with an [AUDIO] tag in the Library tree so you can easily distinguish them..json files containing mathematical formulas or script code designed to generate sound waves dynamically using the internal synthesizer.
How to Use Audio in Scripts |
Audio tracks and synths are directly integrated into your visual scripts. To apply a sound to your current visual creation:
Script Directives |
Behind the scenes, clicking an item injects one of these special directives into your code:
//MUSIC: path/to/file.mp3 - Tells the media player to stream the background music track.//SYNTH: formula - Feeds the mathematical formula to the internal synthesizer to generate procedural sounds.