Sound and Music

From Valve Developer Community
(Redirected from Audio)
Jump to: navigation, search
English (en)Русский (ru)中文 (zh)Translate (Translate)
Abstract Mapping series Discuss your thoughts - Help us develop the articles or ideas you want

Ammunition | List of HL2 Animals and Creatures | Mapping with Antlions | Beams and Lasers | Cables and Ropes | Moving Clouds | Color Theory in Level Design | Combat | Combine | Compression (Source 1) | Doors | Dust, Fog, & Smoke | Elevators | Level Transitions | Environmental Lighting, Sun, Weather, & Outdoors | Explosions | Fire | Half-Life 2 Foliage | Glass & Windows | Headcrab | Health | Ladders | Lighting | Optimization (level design) | Physics | Retinal scanners | Sound and Music | Special effects | Terrain | Trains | Turrets | Water | Weapons | Zombie

Icon-broom.png
This article or section needs to be cleaned up to conform to a higher standard of quality because:
This article and related articles about Sound are a mess.
For help, see the VDC Editing Help and Wikipedia cleanup process. Also, remember to check for any notes left by the tagger at this article's talk page.
Todo: There needs to be a brief description or link to a tutorial or guide on how to take an existing .wav file and make it accessible to the Hammer Sound Browser or Face Poser.


Sound in Source can be processed in many ways. It can emit from a location in the world, have its pitch or volume altered, trigger behaviours from NPCs, and be lip synced.

Entities

Articles

AI sounds

  • AI sounds are not audible to the player; they are purely an AI construction. They can be placed in-map with the ai_sound entity.

Music

Materials

To specify the set of sounds for a custom material (the noises produced in response to hits, scrapes, etc), see Material surface properties.

Notes

  • To play music, use Hammer Sound Browser to search for keyword music.
  • Many entities can have sounds assigned to them. For example, prop_door_rotating can be assigned sounds for opening, closing, swinging, being locked, and being unlocked. See the individual entities for details.
  • To make audio files affected by the music slider, add the # character before the file path when declaring (ex "#music/HL2_song20_submix0.mp3")
  • Although Source supports surround sound, it cannot read audio files containing more than two channels. Surround effects should be either downmixed to stereo, implemented using soundscape targets or ambient_generic entities, or worked around using carefully placed scene actors.

See also

External links