Skip to main content

AudioLink ๐ŸŽป

June has various ways to read from AudioLink. If you are unfamiliar with AudioLink, I suggest reading the Github here. TL;DR: AudioLink allows for real-time and dynamic (aka not baked like animations) audio reactivity among materials. This section is for using AudioLink through a material with June.

Material vs Scriptโ€‹

Because June offers two ways to control the shader through AudioLink, each has its own pros and cons. The pros of this section, controlling by material, is that it is easy, fast, and just works. The cons are that you will simply control different parts of the entire shader and not target individual properties.

The pros of using a script-based approach is that you can control each property individually (for instance, make only the colour of a blur change to music) rather than just controlling the entire shader. This is useful for more complex scenarios, but is more work to set up.

The script will work on Worlds, while the material will work on Avatars AND Worlds.

Please refer to the Scripts -> AudioLink ๐ŸŽป for the scripting portion of AudioLink.

Shaderโ€‹

To use the shader version of AudioLink, you need to be using an AudioLink branch of June. To learn more about branches and what they are, please see the Branches section. TL;DR: Branches are variations of June that contain extra code, this is to keep the main branch lightweight and fast, so the AudioLink branch contains extra code for AudioLink.

AudioLink offers four general purpose bands to read from. These are Bass, Low Mid, High Mid, and Treble. Select which section of the music spectrum you want June to react to. If you choose Bass for example, June will have peak effects during high-bass portions of the music, and weaker effects during more treble-oriented parts of the music.

  • AudioLink Power: A universal control for all of the sliders below.
  • AudioLink Global: Controls the entire shader's visibility. If this is used, the shader will be most visible when the music is hitting your selected band.
  • AudioLink Effects: Controls the power of various effects directly. If this is used, the effects will have the most intensity when the music is hitting your selected band.
  • AudioLink Colour: Controls the colour blending between June and the screen. If this is used, the colour will be most visible when the music is hitting your selected band.
  • AudioLink UV: Controls the UV displacement caused by June. If this is used, the UV displacement will be most visible when the music is hitting your selected band.
  • AudioLink Min: The minimum value of June. This is the value that June will be when the music is not hitting your selected band.
  • AudioLink Max: The maximum value of June. This is the value that June will be when the music is hitting your selected band.