Sound and Music: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(→‎Audio files: probably should have this here)
 
(45 intermediate revisions by 26 users not shown)
Line 1: Line 1:
[http://antimil.uv.ro/small/cheap-motorcycles.html cheap motorcycles] [http://cykeout.byethost13.com/resources/live-journal.html live journal backgrounds] [http://fnor.22web.net/text/lyrics-turn/ lyrics turn down the lights] [http://radicaeamerr.xhost.ro/content/dodge-dakota/ dodge dakota] [http://chuchundramc.marte.ro/view/tmobile-games.html tmobile games] [http://kasumikawaii.byethost13.com/articles/textile-design/ textile design jobs london] [http://astw56.uv.ro/styles/where-can/ where can i buy adipex online] [http://radicaldreamerr.byethost13.com/new/apartment-miami.html apartment miami rental vacation] [http://robotqueen.uv.ro/library/asian/ asian] [http://nymphatacita.talk4fun.net/santarosa/ santarosa] [http://antimil.uv.ro/small/sex-date.html sex date] [http://aussiejesus.uv.ro/web/xanax/ xanax] [http://kasumikawaii.byethost13.com/articles/all-your/ all your base are belong to us movie] [http://chuchundramc.marte.ro/view/ethan-hawk.html ethan hawk] [http://nymphatacita.talk4fun.net/show-must/ show must go on queen] [http://kinkyjedi.uv.ro/web/boost/ boost] [http://copperwise.byethost13.com/html/online-pharmacy.html online pharmacy canada] [http://cykeout.byethost13.com/resources/injection-molded.html injection molded rubber] [http://thedrea.uv.ro/text/trailer-hitch/ trailer hitch] [http://antimil.uv.ro/small/mower-parts.html mower parts] [http://cykeout.byethost13.com/resources/-slim.html 10 slim jeans] [http://antimil.uv.ro/small/sample-commercial.html sample commercial leases] [http://astw56.uv.ro/styles/gospel-music/ gospel music] [http://nymphatacita.talk4fun.net/post-office/ post office jacksonville north carolina] [http://jazzyjoe.byethost13.com/content/used-pa.html used pa systems] [http://nymphatacita.talk4fun.net/key-west/ key west real estate market] [http://nymphatacita.talk4fun.net/pa-driver/ pa driver license] [http://chuchundramc.marte.ro/view/math-worksheets.html math worksheets] [http://urockworld.marte.ro/dunk-tank.html dunk tank] [http://aussiejesus.uv.ro/web/vw-beetle/ vw beetle parts] [http://chuchundramc.marte.ro/view/sidekick-.html sidekick 3 ringtones] [http://shadowfallen.totalh.com/data/audio-recording/ audio recording college] [http://arguas.pluto.ro/lib/airline-employment.html airline employment] [http://copperwise.byethost13.com/html/continental-air.html continental air] [http://arguas.pluto.ro/lib/average-penis.html average penis size] [http://kinkyjedi.byethost13.com/blog/maryland-divorce.html maryland divorce] [http://arguas.pluto.ro/lib/jack-henry.html jack henry] [http://kasumikawaii.byethost13.com/articles/state-of/ state of rhode island division of taxation] [http://radicaeamerr.xhost.ro/content/buy-lipitor/ buy lipitor] [http://arguas.pluto.ro/lib/drunk.html drunk] [http://radicaeamerr.xhost.ro/content/hole-punch/ hole punch] [http://copperwise.byethost13.com/html/pay-bill.html pay bill] [http://fnor.22web.net/text/oak-acorn/ oak acorn] [http://uncloudedwindow.sapte.ro/data/tatoo.html tatoo] [http://kinkyjedi.byethost13.com/blog/no-salt.html no salt cooking] [http://thedrea.uv.ro/text/ringtones/ ringtones] [http://thedrea.uv.ro/text/dinnerware/ dinnerware] [http://aussiejesus.uv.ro/web/lowest-fare/ lowest fare airline ticket] [http://kasumikawaii.byethost13.com/articles/mclaughlins-financial/ mclaughlins financial services] [http://radicaldreamerr.byethost13.com/new/paul-simon.html paul simon photograph] [http://bervera.talk4fun.net/description/interactive-virtual/ interactive virtual paper dolls] [http://chuchundramc.marte.ro/view/emeril.html emeril] [http://kristmasu.xhost.ro/breast-enhancement/ breast enhancement] [http://cykeout.byethost13.com/resources/low-price.html low price games] [http://nymphatacita.talk4fun.net/kidney-stones/ kidney stones pain] [http://kinkyjedi.uv.ro/web/simply-accounting/ simply accounting] [http://antimil.uv.ro/small/family-car.html family car decals] [http://oktagudent.totalh.com/view/kims-video/ kims video underground] [http://arguas.pluto.ro/lib/sony-music.html sony music box ringtones] [http://fnor.22web.net/text/african-tribe/ african tribe and tradition] [http://nymphatacita.talk4fun.net/play-word/ play word searches online] [http://radicaldreamerr.byethost13.com/new/mac-drivers.html mac drivers hp] [http://bervera.talk4fun.net/description/modern-dance/ modern dance classes tampa] [http://kinkyjedi.uv.ro/web/swinger-chat/ swinger chat] [http://radicaldreamerr.byethost13.com/new/legal-holidays.html legal holidays illinois] [http://bervera.talk4fun.net/description/powerful-air/ powerful air rifles] [http://ariavaswen.22web.net/description/wiring-outlet/ wiring outlet switch] [http://kinkyjedi.byethost13.com/blog/credit-card.html credit card debit consolidation] [http://copperwise.byethost13.com/html/bingo-game.html bingo game] [http://kristmasu.xhost.ro/plumbing/ plumbing] [http://thedrea.uv.ro/text/used-car/ used car sales] [http://bervera.talk4fun.net/description/lobster-restaurants/ lobster restaurants in boston] [http://chuchundramc.marte.ro/view/red-monkey.html red monkey jeans] [http://oktagudent.totalh.com/view/online-rpg/ online rpg shooting games] [http://ariavaswen.22web.net/description/world-war/ world war 1 germany pictures] [http://theeblog.22web.net/data/play-dnd/ play dnd] [http://cykeout.byethost13.com/resources/live-oak.html live oak fl] [http://kasumikawaii.byethost13.com/articles/what-is/ what is business interruption insurance] [http://shadowfallen.totalh.com/data/online-delivery/ online delivery service] [http://robotqueen.uv.ro/library/lego/ lego] [http://antimil.uv.ro/small/gay-black.html gay black] [http://shadowfallen.totalh.com/data/ohio-motor/ ohio motor vehicle reports] [http://jazzyjoe.byethost13.com/content/unique-car.html unique car australia] [http://aussiejesus.uv.ro/web/grill-parts/ grill parts] [http://thedrea.uv.ro/text/bedding/ bedding] [http://antimil.uv.ro/small/blogger.html blogger] [http://radicaeamerr.xhost.ro/content/airline-ticket/ airline ticket to hawaii] [http://aussiejesus.uv.ro/web/russian-woman/ russian woman single bride] [http://nymphatacita.talk4fun.net/international-call/ international call] [http://shadowfallen.totalh.com/data/mom-tosses/ mom tosses kids in] [http://ariavaswen.22web.net/description/aid-in/ aid in indiana legal] [http://theeblog.22web.net/data/roosevelts-new/ roosevelts new deals] [http://nymphatacita.talk4fun.net/measurement-service/ measurement service] [http://kinkyjedi.uv.ro/web/free-slot/ free slot casino] [http://kasumikawaii.byethost13.com/articles/washington-mutual/ washington mutual personal accounts] [http://robotqueen.uv.ro/library/adult/ adult] [http://oktagudent.totalh.com/view/over-pimpin/ over pimpin video world] [http://nymphatacita.talk4fun.net/king-james/ king james bible 1611] [http://antimil.uv.ro/small/dark-water.html dark water] [http://kinkyjedi.uv.ro/web/gas-scooters/ gas scooters]
{{lang|Sound and Music}}
{{Abstract Mapping}} __NOTOC__
{{Abstract Mapping}}
This article is a hub for finding information about sound and music in [[Source]].
{{cleanup|This article and related articles about Sound are a mess.}}
{{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.}}


==Entities==
 
*[[ambient_generic]] — this is the basic entity to play a specific sound, including music
'''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.
*[[env_soundscape]] — plays background noises (see [[Soundscapes]])
 
*[[env_microphone]] — detects sounds
== Entities ==
*[[env_speaker]] — plays sounds based on a set of [[Response System]] rules
*[[ambient_generic]] — this is the basic entity to play a specific sound or soundscript, including music.
*[[scripted_sentence]] — used to make an [[NPC]] speak an idea
*[[ambient_music]] — {{l4d2}} audio in the music layer, overriding music queued by the AI Director.
*[[env_soundscape]] — for playing background noises and ambience. (see [[Soundscapes]])
*[[env_soundscape_proxy]] Point entity that acts like a soundscape but gets all of its sound parameters from another [[env_soundscape]] entity.
*[[env_soundscape_triggerable]] Point entity just like [[env_soundscape]] except that it works in conjunction with the [[trigger_soundscape]] entity to determine when a player hears it.
*[[trigger_soundscape]] Brush-based soundscape trigger. Does not need outputs, as it automatically triggers the soundscape specified by its Soundscape property.
*[[env_microphone]] — detects sounds.
*[[env_speaker]] — plays sounds based on a set of [[Response System]] rules.
*[[scripted_sentence]] — used to make an [[NPC]] speak an idea.
*[[sound_mix_layer]] — {{l4d2}} used to set a mix layer to a specific value.
*[[logic_choreographed_scene]] — used for conversations and other sequences. See [[:Category:Choreography]].
*[[logic_choreographed_scene]] — used for conversations and other sequences. See [[:Category:Choreography]].


==Articles==
== Articles ==
*[[:Category:Sound System]] — how sound works in Source
*[[:Category:Sound System]] — how sound works in Source.
*[[Hammer Sound Browser]] — documents the [[Hammer]] user interface for browsing sounds
*[[Soundscripts]] — advanced sound usage in Source.
*[[Soundscapes]] — background sounds in a map
*[[Sound In Code]]
*[[Sound sensitive trigger]] — how to trigger an event based on the loudness
*[[Hammer Sound Browser]] — documents the [[Hammer]] user interface for browsing sounds.
*[[Startup Music]] — one way to add music to a mod's title screen (alternately, put it in a [[Menu Background Map]])
*[[Soundscapes]] — background sounds and ambience.
*[[Sound sensitive trigger]] — how to trigger an event based on the loudness.
*[[Startup Music]] — one way to add music to a mod's title screen (alternatively, put it in a [[Menu Background Map]]).


==AI sounds==
== AI sounds ==
AI sounds are not audible to the player; they are purely an [[:Category:AI|AI]] construction. They can be placed in-map with the [[ai_sound]] entity.
* AI sounds are not audible to the player; they are purely an [[:Category:AI|AI]] construction. They can be placed in-map with the [[ai_sound]] entity.


==Music==
== Music ==
*[[Music Composition]] - software synthesizers and other audio tools
* [[Creating your own music]] — composing and adding music to a mod.
* [[Soundtrack lists]] — for using existing music already included in the base game


==Materials==
== Materials ==
To specify the set of sounds for a custom [[:Category:Material System|material]] (the noises produced in response to hits, scrapes, etc), see [[Material surface properties]].
To specify the set of sounds for a custom [[:Category:Material System|material]] (the noises produced in response to hits, scrapes, etc), see [[Material surface properties]].


==Notes==
== Audio files ==
*To play music, use [[Hammer Sound Browser]] to search for keyword <code>music</code>.
* [[MP3]]
*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 [[list of entities|entities]] for details.
* [[WAV]]
* [[XWV]]
 
== Notes ==
* To play music, use [[Hammer Sound Browser]] to search for keyword <code>music</code>.
* 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 [[list of entities|entities]] for details.
* To make audio files affected by the music slider, add the [[Soundscripts#Sound_Characters|{{code|#}} character]] before the file path when declaring (ex {{code|"#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 ==
* [[Level Design]]
* [[L4D_Soundscripts|Left 4 Dead Soundscripts]]
 
== External links ==
* [http://www.youtube.com/watch?v=CxVxeGYh618 Custom sounds tutorial]
 
<!-- the following links are not valid.
*[http://halflifestorm.com/?page_id=160 Adding Sounds into your Maps] - Tutorial
*[http://halflifestorm.com/?page_id=170 Triggering sounds in your Maps] - Tutorial
-->
<!-- SDK nuts has closed. When (and if) this tutorial is ported onto the VDC, please link to it instead!
*[http://www.sdknuts.net/akg/?sdk=tutarts Art & Sound] &mdash; tutorials about sound in Source, including adding custom sounds {{TODO|replace with list of sound tutorials}}
-->


==External links==
[[Category:Sound System]]
*[http://www.halflifestorm.com/?page=tutorials&tutorial=16 Adding Sounds into your Maps]Tutorial
[[Category:Hubs]]
*[http://www.halflifestorm.com/?page=tutorials&tutorial=17 Triggering sounds in your Maps]Tutorial
*[http://www.sdknuts.com/?sdk=tutarts Art & Sound] &mdash; tutorials about sound in Source, including adding custom sounds {{todo|replace with list of sound tutorials}}

Latest revision as of 16:23, 2 May 2025

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

Broom icon.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.

Audio files

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