Skip to main content

Sound and vision

One of the most common requests to arrive in the 3D World inbox is for tutorials explaining how to create a procedural animation driven automatically by a soundtrack. This month, that request can finally be ticked off the list. In this tutorial we'll explore how use 3ds Max to model a basic loudspeaker using spline curves, shared lathing and a touch of polygon modelling, then get the speaker cone and the diaphragm flexing in time to an audio sample. As a final touch, we'll show you how to generate 'soundwaves' emitted by the speaker, driven by a Particle Flow system.

The basic animation set-up consists of an AudioFloat controller included within a Dummy object's Position controller, so that the audio track (also loaded into the scene's main Sound track for playback) repositions the Dummy object according to the amplitude of the WAV file at each frame. Objects will then be linked directly to this Dummy using Max's standard Link tool, or by using a Linked XForm modifier so that sub-object selections can be assigned to generate the flexing motion of the rubber cone and diaphragm.

By adding additional AudioFloat controllers, the WAV file can be used to drive not only positional controllers but a particle system, so that when the speaker flexes to emit a burst of sound, the system will also generate a higher number of particles, at a higher velocity. The particles themselves reference a Torus primitive which has an animated Radius 2 value. Animated particle scaling based on particle age then makes the resulting 'wave' appear to dissipate over time.

You aren't limited to one specific type of input in a project of this type: the animation could also be controlled by additional MIDI inputs or direct motion capture, or blended with keyframed animation or noise, using List controllers to mix between the inputs.

The settings used in the walkthrough are based on the audio track supplied in the support files. This is a basic vocal sample, so if you plan to use your own WAV file, you may need to tweak the Threshold and Oversampling values. Otherwise, you're quite likely to end up with deformations and particle emissions that would blow up your speaker!

Click here to download the support files (14.7MB)

Click here to download the tutorial for free

Thank you for reading 5 articles this month* Join now for unlimited access

Enjoy your first month for just £1 / $1 / €1

*Read 5 free articles per month without a subscription

Join now for unlimited access

Try first month for just £1 / $1 / €1

The Creative Bloq team is made up of a group of design fans, and has changed and evolved since Creative Bloq began back in 2012. The current website team consists of six full-time members of staff: Editor Kerrie Hughes, Deputy Editor Rosie Hilder, Deals Editor Beren Neale, Senior News Editor Daniel Piper, Digital Arts and Design Editor Ian Dean, and Staff Writer Amelia Bamsey, as well as a roster of freelancers from around the world. The 3D World and ImagineFX magazine teams also pitch in, ensuring that content from 3D World and ImagineFX is represented on Creative Bloq.