Phya

Physical Audio for Virtual Worlds
Download

Phya Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Publisher Name:
  • ZenProbe
  • Operating Systems:
  • Windows All
  • File Size:
  • 250 KB

Phya Tags


Phya Description

Sample-based playback is the norm for virtual world audio. Physical modeling techniques promise more responsive and engaging sound, but have yet to be widely adopted. The reason is partly that integrating physical audio into a virtual world is a challenging task both in terms of technology creation and content creation. Phya was designed to be a C++ library, that was created as an expandable system for adding physical audio to a virtual world. It is based around creating collision sounds resulting from the interaction of surfaces and object resonance. When integrated with a dynamics engine of a virtual world, it can produce sounds that realistically reflect the state of objects colliding in the world. Once integration is complete, the developer just specifies the audio properties of the objects, and then all the audio updating and generation is taken care of by Phya. The properties describing the sound objects make can be extracted from real recordings using analysis tools, a process sometimes called physical sampling. The Phya distribution includes such a tool. You could for instance analyze a recording of an oil drum being hit, then use it in a game where an oil drum was being rolled and smashed about. Instead of playing back that same sample again and again, we hear all the variation and detail that occurs when a real drum collides with different objects. Another advantage, is that the memory footprint for the physical sample, which can generate so much varied audio, is a small fraction of even one short audio sample. Physical samples are also very flexible, and can be edited creatively for a variety of effects. The CPU resource used depends on many factors, however in general you will be surpirised how much high quality interactive sound you can have for minimal costs. Phya measures in the 10s of K in size, and its dynamic costs are typically similar, depending on complexity of useage. Phya currently compiles for Windows. However, it should be readily ported to other platforms, and support for mac and linux will appear soon. The Bullet dynamics engine, used in the examples, compiles cross platform.


Phya Related Software