For this update, we focused on audio by adding support for external audio sources (microphones, line-in devices), generating audio from signals and implementing better audio visualization features for connecting audio data to properties in your universe.
Sampling External Audio Sources
A big feature introduced in this update is the ability to sample external recording devices, such as a microphone or line-in input, and bring in that audio as either a Sound in the space or for visualization purposes only. To do this, there's a new audio input object called the InputAudioStream. Once created in your library, you can drag-and-drop it into the space to create a Speaker that plays the audio or you can set it as the Source of an AudioSignal (like an AudioPeakSignal). You can bind an InputAudioStream to a specific recording device via the Edit Menu/Preferences/Inputs panel.
Here's an article that shows you how to use the InputAudioStream:
Sampling External Audio Sources
Audio Signal Generators
Another new feature is the ability to generate audio via Signals. For example, you can generate tones via a WaveformSignal. To do this, a new audio input called SignalAudioStream has been added. Once you create a SignalAudioStream, you can set a Signal in its properties then drag and drop it into the space to create a Speaker that outputs the signal's generated audio. Try different signals and wavelengths along with Reverb on the Speaker for interesting results.
Here's an article that shows how to work with SignalAudioStreams:
Make Some Noise: Generating Audio From Signals
Audio Peak Visualization
A new signal and pulse have been introduced to better sample audio for modulating parameters in the space. The AudioPeakSignal will generate a signal from the audio's peak data with a smooth drop-off. By connecting this signal to various properties in the space, you can easily pulse values to peaks in the audio. The AudioPeakPulse is similar to the signal, but can be used wherever pulses are required.
Here's an article on working with AudioPeakSignals:
Pulsing to Audio Peaks
Simplifying Audio Imports
Another big change made is the elimination of AudioStreams when importing audio data from files. Before, if you wanted to import a long audio file (e.g. a song), Simmetri advised you to import it as an AudioStream to ensure the data would efficiently be streamed. However, by doing so, you were restricted to the AudioStream's timeline syncing behavior when playing the audio in the space through a Speaker which might not always have been desirable.
Now, all audio is imported as AudioClips and how and when those AudioClips are played is determined through their Sound nodes. A Sound node now has an "Auto Play" property that can be used to set when (or if) a Sound is automatically played. One of the auto play options is "On Timeline", which emulates the prior functionality of an AudioStream. Other auto play modes introduced include "On Copy" (for node emitters that emit sounds), "On Proximity" (to play when the camera gets close to a sound) and other modes as well.
Note that now (unlike prior versions) a Sound node (created by drag and dropping an AudioClip into the space) will not play by default. An auto-play mode must be chosen to do so or the Sound needs to be played via script.
Other Additions And Bug Fixes
- AudioSignals (like the AudioPeakSignal or AudioFreqencySignal) can now sample either the output mix or a particular AudioStream
- AudioWaveformSignal and AudioFrequencySignal can now be sampled through space coordinates to build oscilliscopes and spectrum analyzers out of objects/nodes
- Increased number of waveform samples for the AudioWaveformSignal
- Sound looping property moved into AudioClip
- Sound TransposePitch property now continuous
- Fixed Reverb Decay Time not working
- Added a new interactive tutorial for changing the GUI text size
- Particle effects now inherit velocities of parent RigidBodies
- A tooltip now appears when dragging a timeline event displaying its current time
- Fixed bug where Add To Library was not updating the browser correctly
- Performance and stability improvements
