museumsvictoria / spatial_audio_server

An audio backend for the multi-layered soundscape of Beyond Perception: Seeing the Unseen, a permanent exhibition at Scienceworks in Melbourne, Australia.
81 stars 14 forks source link

Add "Autonomous Agent" random-walker movement. Fix orientation bugs. #85

Closed mitchmindtree closed 6 years ago

mitchmindtree commented 6 years ago

This implements the first generative movement algorithm to the audio server. The "Autonomous Agent" movement variant utilises physics-based steering forces to guide the virtual sound location throughout the exhibition space in a seemingly organic, self-driven manner.

Behaviour

The autonomous agent has a simple set of goals.

  1. Pick a random target location within one of the assigned installations.
  2. Travel towards that location.
  3. Once arriving at that location, pick a new random location.
  4. Goto 2.

The autonomous agent has several configurable parameters which affect the way in which the agent travels between locations:

These parameters can be configured to give agent's different characteristics, e.g.

TODO

Apart from the agent, some other small bug fixes are included. In particular, vector orientation is now calculated using a shared function and in turn is consistent across all uses for channel layout.