Sound ruler for Naali viewer
One task for me was to enable allow the user to attach sounds to objects in simulations using the Naali viewer Object Edit module. For the user this simply means a way to copy the asset reference to a field, set volume and radius and accept this. After that the object will start emitting sound (or the entire simulation will have that sound if radius is set to 0.0).
As a little extra I decided to create a small widget that I call the sound ruler. This little widget will show you the radius and volume of the attached sound for an object in as simple way. The radius obviously as a circle, and the volume with a few vertical lines distributed evenly along the radius circle.
Watch the video to get an idea:
Hope you liked it.
ps. I played myself the short part of a piece from Bach (Bourree).